Skip to main content
PATCH
Edit an Event's location

Headers

Authorization
string
required

value must be Bearer <token> where <token> is api key prefixed with cal_, managed user access token, or OAuth access token

Path Parameters

uuid
string<uuid>
required

Event UUID. Accepts the canonical UUID (e.g. 018ff5cd-6dc4-7d57-bcbc-374702ca8b38) or its short-uuid (Flickr Base58) form (e.g. 1cbZYoAFoJdwqN4tixezd5).

locationId
string
required

The location's id, from GET /v2/events/{uuid}/locations.

Body

application/json
type
enum<string>
required

The location's type. It can't change.

Available options:
address
Example:

"address"

label
string | null

Name shown for this location. Pass null to remove it.

Maximum string length: 100
price
number | null

Price for this location, in the currency's smallest unit. Pass null to make it free.

Required range: x >= 1
Example:

1500

currency
enum<string>

Cal Pay currency code. Required with price when the location has no currency yet.

Available options:
usd,
eur,
gbp,
cad,
aud,
chf,
nzd,
jpy,
brl,
mxn,
inr,
sgd,
hkd,
dkk,
nok,
sek,
pln,
czk,
huf,
ron,
bgn,
krw,
thb,
php,
myr,
idr,
try,
zar,
aed,
cop
Example:

"usd"

capacity
number | null

Seats at this location. Pass null for unlimited. All locations together can have at most 100000 seats.

Required range: 1 <= x <= 100000
address
string
Minimum string length: 1
Example:

"1 Example Street, Berlin"

Response

status
enum<string>
required
Available options:
success,
error
Example:

"success"

data
Address · object
required