Skip to main content
PUT
Upsert Location

Authorizations

X-Authorization
string
header
required

API Scope: "Locations (write)"

Body

application/json
external_id
string
required

The identifier used by an external source to identify the location.

Required string length: 1 - 64
Example:

"62291d16-9b61-4fbb-b868-21c2d32dc155"

sales_channel
string
required

If a channel with this name is not already associated with the shop, it will be used to create a new channel.

Maximum string length: 255
Example:

"shopify"

name
string
required

The name of the location.

Maximum string length: 100
Example:

"Main Warehouse"

status
enum<string>
required

The status of the location.

Available options:
active,
inactive
Maximum string length: 100
address
object

The address of the location.

Response

Success

location
object
required