Skip to main content
POST
Create a location

Authorizations

x-api-key
string
header
required

Your Store API key (pk_live_...). Create it in Developers › API keys.

x-store-hash
string
header
required

The ID of the store the request is for. Shown in Developers › API keys.

Headers

Idempotency-Key
string

Unique key (for example a UUID) that makes retries safe. The first response is stored for 24 hours and replayed for retries with the same key and body.

Maximum string length: 255

Body

application/json
name
string
address
object
contact_name
string
phone
string
is_default_origin
boolean
is_return
boolean

Response

Created

success
boolean
required
Example:

true

location
object