Skip to main content
POST
Create a location in an organization

Authorizations

x-api-key
string
header
required

Location/organization API key.

Headers

Idempotency-Key
string
required

Unique key that makes this create safe to retry; replays return the original response.

Path Parameters

organization_id
string
required

Body

application/json
name
string
required
currency
string
required
Example:

"EUR"

country
string
required
Example:

"FR"

timezone
string
required
Example:

"Europe/Paris"

address
object
required
default_language
string
contact_information
string

Response

The created location.

id
string
Example:

"loc_r8v4n2c6tz"

object
enum<string>
Available options:
location
organization_id
string | null
name
string
Example:

"Pokawa Châtelet"

currency
string
Example:

"EUR"

country
string
Example:

"FR"

timezone
string
Example:

"Europe/Paris"

default_language
string
Example:

"fr"

address
object | null
created_at
string<date-time>
updated_at
string<date-time>