Update a location

Updates a location's name, review URL, status, shared menu, or branch picker details (default touchpoint, address, coordinates). The slug is immutable.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Location slug

Body Params

Location fields to update

string

Address is shown in the branch picker, at most 255 characters.

string

DefaultTouchpointCode is the touchpoint the branch picker opens. An empty string clears it, and the first touchpoint is then used.

number

Latitude and longitude must be sent together. Send null for both to remove them.

number
string

MenuSlug attaches a shared menu to the location. An empty string detaches the current menu.

string
string
enum

Changing the mode affects only orders created afterwards; the number already stamped on an existing order never changes.

Allowed:
boolean

PassOnFees charges the payer the processing fees on every checkout session of this location.

boolean

PurchaseValidationEnabled lets staff look up and claim paid orders from this location.

string
string
warehouse_ids
array of strings

WarehouseIDs replaces the whole list of inventories-api warehouses the location sells from. An empty list stops stock tracking.

warehouse_ids
Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json