Locations require the read_locations scope for reads and write_locations for writes. Locations contain a name, slug, online-fulfillment setting, address, and phone number. On creation, slug is optional and is generated from name when omitted. fulfills_online_orders defaults to true. On update, a provided slug must be non-empty and valid. A merchant token creates a merchant-managed location. An app token creates an app-managed location owned by that app in this store. Apps can read merchant-managed locations and their own app-managed locations, but cannot discover another app's locations. With write_locations, an app can update or delete merchant-managed locations and its own app-managed locations. Uninstalling the app makes its locations merchant-owned without deleting inventory history; each is deactivated unless orders still hold reserved stock there. While an app's installation is still setting up or its setup failed, stock at its locations is not sold online. Reinstalling does not silently reactivate them. Permanently deleting the app removes its managed location rows. Primary locations, the final active online-fulfilling location, locations with non-zero inventory or reservations, locations involved in active transfers, and locations with protected inventory history cannot be deleted. Empty zero-level rows are cleaned during confirmed deletion and do not block it. App tokens cannot reorder locations; reordering is merchant-only and requires the complete location ID list.
Endpoints#
Location limits
Fetch location limits and per-field constraints.
Returns the per-field maximum lengths, list limits, sort columns, and request caps that apply to location endpoints.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
List locations
List store locations.
Returns paginated locations. The primary location is pinned first, so limit=1 returns it when the token can see it; the chosen sort orders the remaining rows. Merchant tokens can read all locations. App tokens can read merchant-managed locations and locations owned by that app. For app-managed rows, app_id identifies the owner, app_name and app_slug describe it when available, and app_installation_active reports whether that owning app is currently installed and active. Merchant-managed rows have a null app_id, omit the optional app name and slug, and report app_installation_active: false. active_merchant_total is the number of active merchant-managed locations before list filters and pagination. Archived locations are hidden unless status=archived is requested; is_archived is always false on the other views. A merchant-managed row whose app was uninstalled reports that app in previous_app_id and previous_app_name.
Query parameters
| Name | Type | Description |
|---|---|---|
page
|
integer |
Page number. |
limit
|
integer |
Page size. |
search
|
string |
Search locations by name, slug, city, state/province, or address line. |
status
|
string |
Filter by active, inactive or archived. Archived locations appear only with |
fulfills_online_orders
|
boolean |
When true, return only locations that fulfill online orders. Combines with status. |
sort_by
|
string |
Sort field from the Location list contract.
Allowed values
namefulfillment_prioritycreated_atupdated_at |
sort_direction
|
string |
Sort direction from the Location list contract.
Allowed values
ascdesc |
writable_only
|
boolean |
When true, return only locations the authenticated caller may write. Merchant tokens exclude app-managed locations; app tokens retain merchant-managed locations and locations owned by that app. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Get a location
Fetch one location by id.
Returns the location when it is visible to the authenticated token. address_lines is its address laid out the way its country writes it, ending with the country name, ready to display. Merchant tokens can read any location in their store. App tokens can read merchant-managed locations and locations owned by that app; another app's managed location is reported as LOCATION_NOT_FOUND.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
string |
Location id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
404LOCATION_NOT_FOUNDLocation does not exist in this store.
Create a location
Create a merchant-managed or app-managed location.
Creates a location. name is required; slug is generated when omitted. Ownership follows the authenticated token: app tokens create app-managed locations owned by their active installation, while merchant tokens create merchant-managed locations. App-managed rows use the installation's separate bounded allowance and do not consume the merchant location allowance.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
name
required
|
string |
Location name. |
slug
|
string |
Optional slug. Omit to generate from name. |
fulfills_online_orders
|
boolean |
Whether this location fulfills online orders. Defaults to true when omitted on create. |
address_line1
|
string |
Street address line 1. |
address_line2
|
string |
Street address line 2. |
city
|
string |
City. |
state_province
|
string |
State, province, or region. |
postal_code
|
string |
Postal, ZIP, or PIN code. Validated against the selected country's format. India PINs are checked against the India Post directory; unknown PINs and PIN/state mismatches are rejected. |
country_code
|
string |
Uppercase ISO 3166-1 alpha-2 country code. |
phone
|
string |
Phone number. Validated and normalized using the country code when provided. |
Errors
-
400LOCATION_NAME_REQUIREDName is empty after normalization.
-
400LOCATION_NAME_TOO_LONGName exceeds the Location contract max length.
-
400LOCATION_SLUG_INVALID_FORMATSlug is not valid for location URLs.
-
400LOCATION_SLUG_TOO_LONGSlug exceeds the Location contract max length.
-
400LOCATION_SLUG_GENERATION_FAILEDA slug cannot be generated from the supplied name; provide one explicitly.
-
400LOCATION_COUNTRY_CODE_INVALIDCountry code is invalid.
-
400LOCATION_STATE_PROVINCE_TOO_LONGState or province exceeds the Location contract max length.
-
400LOCATION_PHONE_TOO_LONGPhone exceeds the Location contract max length.
-
400LOCATION_PHONE_INVALIDPhone number is invalid for the selected country.
-
400AUTH_NAME_TOO_LONGAn address line or city exceeds its documented maximum length.
-
400AUTH_NAME_INVALID_CHARSAn address line or city contains control characters.
-
400AUTH_NAME_CONSECUTIVE_SPACESAn address line or city contains consecutive spaces.
-
400VALIDATE_POSTAL_TOO_LONGPostal code exceeds its documented maximum length.
-
400VALIDATE_POSTAL_INVALID_CHARSPostal code contains unsupported characters.
-
400VALIDATE_POSTAL_INVALID_FORMATPostal code does not match the selected country's expected format.
-
400VALIDATE_POSTAL_INVALID_FORMAT_BAREPostal code does not match the selected country's format.
-
400VALIDATE_POSTAL_UNKNOWN_PINCODEIndia PIN is not in the postal directory.
-
400VALIDATE_POSTAL_PINCODE_STATE_MISMATCHIndia PIN does not belong to the selected state.
-
409LOCATION_DUPLICATEName or slug already exists in this store.
-
409LOCATION_UNIQUE_SLUG_GENERATION_FAILEDA unique generated slug could not be allocated.
-
400LOCATION_APP_ID_REQUIREDAn app token could not be resolved to an active app identity for an app-managed location.
-
403LOCATION_LIMIT_REACHEDThe merchant or app installation location allowance has been reached.
-
403APP_OAUTH_APP_NOT_INSTALLEDThe app does not have an active installation in this store.
Update a location
Update a location.
Updates provided location fields. Omitted fields are unchanged. fulfillment_priority is not updateable through this endpoint; it is merchant-owned routing metadata changed only through reorder. Merchant-managed locations follow normal write_locations access. An app-managed location can be updated only by the active installation that owns it; merchants and other apps receive LOCATION_APP_MANAGED_NO_EDIT.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
string |
Location id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
is_active
|
boolean |
Whether the location is active. Primary locations must remain active, and a location cannot be deactivated while orders hold reservations there or transfers are pending or in transit. |
name
|
string |
Location name. |
slug
|
string |
Optional slug. Omitted values are unchanged; a supplied slug must be non-empty and valid. |
fulfills_online_orders
|
boolean |
Whether this location fulfills online orders. Omitted values are unchanged. It cannot be switched off while orders hold reservations there. |
address_line1
|
string |
Street address line 1. |
address_line2
|
string |
Street address line 2. |
city
|
string |
City. |
state_province
|
string |
State, province, or region. |
postal_code
|
string |
Postal, ZIP, or PIN code. Validated against the selected country's format. India PINs are checked against the India Post directory; unknown PINs and PIN/state mismatches are rejected. |
country_code
|
string |
Uppercase ISO 3166-1 alpha-2 country code. |
phone
|
string |
Phone number. Validated and normalized using the country code when provided. |
Errors
-
400LOCATION_NAME_REQUIREDName is empty after normalization.
-
400LOCATION_NAME_TOO_LONGName exceeds the Location contract max length.
-
400LOCATION_SLUG_INVALID_FORMATSlug is not valid for location URLs.
-
400LOCATION_SLUG_TOO_LONGSlug exceeds the Location contract max length.
-
400LOCATION_COUNTRY_CODE_INVALIDCountry code is invalid.
-
400LOCATION_STATE_PROVINCE_TOO_LONGState or province exceeds the Location contract max length.
-
400LOCATION_PHONE_TOO_LONGPhone exceeds the Location contract max length.
-
400LOCATION_PHONE_INVALIDPhone number is invalid for the selected country.
-
400AUTH_NAME_TOO_LONGAn address line or city exceeds its documented maximum length.
-
400AUTH_NAME_INVALID_CHARSAn address line or city contains control characters.
-
400AUTH_NAME_CONSECUTIVE_SPACESAn address line or city contains consecutive spaces.
-
400VALIDATE_POSTAL_TOO_LONGPostal code exceeds its documented maximum length.
-
400VALIDATE_POSTAL_INVALID_CHARSPostal code contains unsupported characters.
-
400VALIDATE_POSTAL_INVALID_FORMATPostal code does not match the selected country's expected format.
-
400VALIDATE_POSTAL_INVALID_FORMAT_BAREPostal code does not match the selected country's format.
-
400VALIDATE_POSTAL_UNKNOWN_PINCODEIndia PIN is not in the postal directory.
-
400VALIDATE_POSTAL_PINCODE_STATE_MISMATCHIndia PIN does not belong to the selected state.
-
409LOCATION_DUPLICATEName or slug already exists in this store.
-
400LOCATION_SLUG_REQUIREDA supplied slug cannot be empty on update.
-
400LOCATION_PRIMARY_MUST_BE_ACTIVEThe primary location must remain active.
-
400LOCATION_PRIMARY_MUST_FULFILLThe primary location must fulfill online orders.
-
400LOCATION_PRIMARY_ADDRESS_REQUIREDA live store's primary location must retain its required address fields.
-
400LOCATION_LAST_FULFILLMENTAt least one location must fulfill online orders.
-
403LOCATION_LIMIT_REACHEDThe merchant or app installation location allowance would be exceeded when activating this location.
-
403LOCATION_APP_MANAGED_NO_EDITApp-managed locations can be edited only by their owning active installation.
-
403APP_OAUTH_APP_NOT_INSTALLEDThe owning app does not have an active installation in this store.
-
404LOCATION_NOT_FOUNDLocation does not exist in this store.
-
409LOCATION_ARCHIVED_NO_EDITArchived locations must be restored before they can be changed.
-
409LOCATION_DEACTIVATE_HAS_RESERVATIONSLocation cannot be deactivated while orders hold reservations there.
-
409LOCATION_DEACTIVATE_HAS_TRANSFERSLocation cannot be deactivated with pending or in-transit stock transfers.
-
409LOCATION_ONLINE_FULFILLMENT_HAS_RESERVATIONSfulfills_online_orderscannot be switched off while orders hold reservations at this location.
Archive a location
Archive an empty location.
Archives a location that is empty: no non-zero stock, no pending or in-transit transfers, and no order still holding a reservation there. The primary location cannot be archived. An archived location is inactive, hidden from lists unless status=archived is requested, does not count toward the location allowance and cannot be edited until it is restored. Archiving an archived location succeeds without changes. Ownership follows update: an app-managed location can be archived only by its owning active installation. Fires locations/deactivated when the location was active, and locations/update with is_archived in changed_fields.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
string |
Location id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
403LOCATION_APP_MANAGED_NO_EDITApp-managed locations can be archived or restored only by their owning active installation.
-
403APP_OAUTH_APP_NOT_INSTALLEDThe owning app does not have an active installation in this store.
-
404LOCATION_NOT_FOUNDLocation does not exist in this store.
-
409LOCATION_ARCHIVE_PRIMARYPrimary location cannot be archived.
-
409LOCATION_ARCHIVE_HAS_INVENTORYLocation still has non-zero product, variant, or inventory-group stock.
-
409LOCATION_ARCHIVE_HAS_TRANSFERSLocation has pending or in-transit stock transfers.
-
409LOCATION_ARCHIVE_HAS_RESERVATIONSOrders still hold reservations at this location.
Restore a location
Restore an archived location.
Restores an archived location as an active location. Restoring counts against the allowance exactly like activating: the plan limit for a merchant-managed location, the installation's allowance for an app-managed one. Restoring a location that is not archived succeeds without changes. Fires locations/activated and locations/update with is_archived in changed_fields.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
string |
Location id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
403LOCATION_APP_MANAGED_NO_EDITApp-managed locations can be archived or restored only by their owning active installation.
-
403APP_OAUTH_APP_NOT_INSTALLEDThe owning app does not have an active installation in this store.
-
404LOCATION_NOT_FOUNDLocation does not exist in this store.
-
403LOCATION_LIMIT_REACHEDRestoring would exceed the merchant or app installation location allowance.
Delete a location
Delete a location.
Deletes a location only when it is empty and not primary or the last active online-fulfilling location. Empty means no non-zero stock, no pending or in-transit transfers and no order still holding a reservation there. Past orders, reservations, fulfillments, stock movements and transfers do not block deletion; they keep the location's name after it is gone. Empty zero-level storage rows do not block deletion and are cleaned atomically. Archived locations can be deleted. The first request returns CONFIRMATION_REQUIRED with impact warnings and a single-use confirmation token; retry with confirmed: true and that token. Remaining locations are renumbered automatically so fulfillment priority stays gapless. App-managed locations can be deleted only by their owning active installation.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
string |
Location id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
confirmed
|
boolean |
Set to |
confirmation_token
|
string |
Single-use token returned by the first delete request. |
Errors
-
403LOCATION_APP_MANAGED_NO_DELETEApp-managed locations can be deleted only by their owning active installation.
-
403APP_OAUTH_APP_NOT_INSTALLEDThe owning app does not have an active installation in this store.
-
404LOCATION_NOT_FOUNDLocation does not exist in this store.
-
409LOCATION_DELETE_PRIMARYPrimary location cannot be deleted.
-
409LOCATION_DELETE_HAS_INVENTORYLocation still has non-zero product, variant, or inventory-group stock.
-
409LOCATION_DELETE_HAS_TRANSFERSLocation has pending or in-transit stock transfers.
-
409LOCATION_DELETE_HAS_RESERVATIONSOrders still hold reservations at this location.
-
409LOCATION_DELETE_LAST_FULFILLMENTCannot delete the only location that fulfills online orders.
-
409CONFIRMATION_REQUIREDThe deletion is allowed but requires acknowledgement of the returned impact warnings. Repeat the request with
confirmed: trueand the supplied single-useconfirmation_token. -
400LOCATION_CONFIRMATION_INVALIDInvalid or expired confirmation token.
Reorder locations
Set the full fulfillment priority order.
Merchant API tokens only. Fulfillment priority is merchant-owned routing metadata, not app-owned location data, so merchants may include app-managed locations in the order. Send every location id exactly once, with the primary location first: array position 0 becomes priority 0, position 1 becomes priority 1, and so on. Include the primary location, inactive locations, and app-managed locations returned by GET /locations; this changes routing priority but not ownership or status. Archived locations are not listed and must not be included; they keep their relative order after every listed location. Partial lists, duplicates, malformed ids, and ids from another store are rejected atomically.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
ordered_ids
required
|
array<uuid> |
The complete location-id set from |
Errors
-
403FORBIDDENApp tokens cannot change the store-wide fulfillment order; use a merchant API token.
-
400LOCATION_REORDER_INVALIDThe reorder list must include every location exactly once, with the primary location first.
Fields#
Field |
Type |
Create |
Update |
Required |
Translatable |
|---|---|---|---|---|---|
|
text |
Yes |
Yes |
create |
No |
|
slug |
Yes |
Yes |
No |
|
|
boolean |
No |
Yes |
No |
|
|
boolean |
Yes |
Yes |
No |
|
|
text |
Yes |
Yes |
No |
|
|
text |
Yes |
Yes |
No |
|
|
text |
Yes |
Yes |
No |
|
|
text |
Yes |
Yes |
No |
|
|
text |
Yes |
Yes |
No |
|
|
select |
Yes |
Yes |
No |
|
|
text |
Yes |
Yes |
No |
|
|
boolean |
No |
No |
No |
|
|
boolean |
No |
No |
No |
|
|
text |
No |
No |
No |
|
|
text |
No |
No |
No |
|
|
slug |
No |
No |
No |
|
|
boolean |
No |
No |
No |
|
|
boolean |
No |
No |
No |
|
|
text |
No |
No |
No |
|
|
text |
No |
No |
No |
|
|
integer |
No |
No |
No |
|
|
datetime |
No |
No |
No |
|
|
datetime |
No |
No |
No |
Webhook events#
Subscribe to these events to keep your integration in sync with locations. Each event shows the required Store API scope and store permission, the available payload fields, and an example payload. Subscription setup is validated against those permissions; delivery is always restricted to the subscription's store.
Location created
Fired when a new location is created.
Payload fields
| Field | Type | Description |
|---|---|---|
resource_type |
string |
Selectable in the Payload builder |
resource_id |
string |
Selectable in the Payload builder |
occurred_at |
string |
Selectable in the Payload builder |
current.id |
string |
Selectable in the Payload builder |
current.name |
string |
Selectable in the Payload builder |
current.slug |
string |
Selectable in the Payload builder |
current.app_id |
string |
Selectable in the Payload builder |
current.is_app_managed |
boolean |
Selectable in the Payload builder |
current.is_primary |
boolean |
Selectable in the Payload builder |
current.is_active |
boolean |
Selectable in the Payload builder |
current.fulfills_online_orders |
boolean |
Selectable in the Payload builder |
current.fulfillment_priority |
integer |
Selectable in the Payload builder |
current.address_line1 |
string |
Selectable in the Payload builder |
current.address_line2 |
string |
Selectable in the Payload builder |
current.city |
string |
Selectable in the Payload builder |
current.state_province |
string |
Selectable in the Payload builder |
current.postal_code |
string |
Selectable in the Payload builder |
current.country_code |
string |
Selectable in the Payload builder |
current.phone |
string |
Selectable in the Payload builder |
current.is_archived |
boolean |
Selectable in the Payload builder |
current.previous_app_id |
string |
Selectable in the Payload builder |
current.previous_app_name |
string |
Selectable in the Payload builder |
Location updated
Fired when a location's non-state fields change, including fulfillment_priority changes from a reorder. State transitions fire their specific topic instead; if state and non-state fields change in one save, both fire. Archiving or restoring a location, and an uninstall handing an app's locations to the merchant, also fire this topic with is_archived or app_id and previous_app_id/previous_app_name in changed_fields.
Payload fields
| Field | Type | Description |
|---|---|---|
resource_type |
string |
Selectable in the Payload builder |
resource_id |
string |
Selectable in the Payload builder |
occurred_at |
string |
Selectable in the Payload builder |
previous.id |
string |
Selectable in the Payload builder |
previous.name |
string |
Selectable in the Payload builder |
previous.slug |
string |
Selectable in the Payload builder |
previous.app_id |
string |
Selectable in the Payload builder |
previous.is_app_managed |
boolean |
Selectable in the Payload builder |
previous.is_primary |
boolean |
Selectable in the Payload builder |
previous.is_active |
boolean |
Selectable in the Payload builder |
previous.fulfills_online_orders |
boolean |
Selectable in the Payload builder |
previous.fulfillment_priority |
integer |
Selectable in the Payload builder |
previous.address_line1 |
string |
Selectable in the Payload builder |
previous.address_line2 |
string |
Selectable in the Payload builder |
previous.city |
string |
Selectable in the Payload builder |
previous.state_province |
string |
Selectable in the Payload builder |
previous.postal_code |
string |
Selectable in the Payload builder |
previous.country_code |
string |
Selectable in the Payload builder |
previous.phone |
string |
Selectable in the Payload builder |
previous.is_archived |
boolean |
Selectable in the Payload builder |
previous.previous_app_id |
string |
Selectable in the Payload builder |
previous.previous_app_name |
string |
Selectable in the Payload builder |
current.id |
string |
Selectable in the Payload builder |
current.name |
string |
Selectable in the Payload builder |
current.slug |
string |
Selectable in the Payload builder |
current.app_id |
string |
Selectable in the Payload builder |
current.is_app_managed |
boolean |
Selectable in the Payload builder |
current.is_primary |
boolean |
Selectable in the Payload builder |
current.is_active |
boolean |
Selectable in the Payload builder |
current.fulfills_online_orders |
boolean |
Selectable in the Payload builder |
current.fulfillment_priority |
integer |
Selectable in the Payload builder |
current.address_line1 |
string |
Selectable in the Payload builder |
current.address_line2 |
string |
Selectable in the Payload builder |
current.city |
string |
Selectable in the Payload builder |
current.state_province |
string |
Selectable in the Payload builder |
current.postal_code |
string |
Selectable in the Payload builder |
current.country_code |
string |
Selectable in the Payload builder |
current.phone |
string |
Selectable in the Payload builder |
current.is_archived |
boolean |
Selectable in the Payload builder |
current.previous_app_id |
string |
Selectable in the Payload builder |
current.previous_app_name |
string |
Selectable in the Payload builder |
changed_fields |
array |
Selectable in the Payload builder |
Location deleted
Fired when a location is deleted.
Payload fields
| Field | Type | Description |
|---|---|---|
resource_type |
string |
Selectable in the Payload builder |
resource_id |
string |
Selectable in the Payload builder |
occurred_at |
string |
Selectable in the Payload builder |
previous.id |
string |
Selectable in the Payload builder |
previous.name |
string |
Selectable in the Payload builder |
previous.slug |
string |
Selectable in the Payload builder |
previous.app_id |
string |
Selectable in the Payload builder |
previous.is_app_managed |
boolean |
Selectable in the Payload builder |
previous.is_primary |
boolean |
Selectable in the Payload builder |
previous.is_active |
boolean |
Selectable in the Payload builder |
previous.fulfills_online_orders |
boolean |
Selectable in the Payload builder |
previous.fulfillment_priority |
integer |
Selectable in the Payload builder |
previous.address_line1 |
string |
Selectable in the Payload builder |
previous.address_line2 |
string |
Selectable in the Payload builder |
previous.city |
string |
Selectable in the Payload builder |
previous.state_province |
string |
Selectable in the Payload builder |
previous.postal_code |
string |
Selectable in the Payload builder |
previous.country_code |
string |
Selectable in the Payload builder |
previous.phone |
string |
Selectable in the Payload builder |
previous.is_archived |
boolean |
Selectable in the Payload builder |
previous.previous_app_id |
string |
Selectable in the Payload builder |
previous.previous_app_name |
string |
Selectable in the Payload builder |
Location activated
Fired when a location's is_active flips from false to true.
Payload fields
| Field | Type | Description |
|---|---|---|
resource_type |
string |
Selectable in the Payload builder |
resource_id |
string |
Selectable in the Payload builder |
occurred_at |
string |
Selectable in the Payload builder |
previous.id |
string |
Selectable in the Payload builder |
previous.name |
string |
Selectable in the Payload builder |
previous.slug |
string |
Selectable in the Payload builder |
previous.app_id |
string |
Selectable in the Payload builder |
previous.is_app_managed |
boolean |
Selectable in the Payload builder |
previous.is_primary |
boolean |
Selectable in the Payload builder |
previous.is_active |
boolean |
Selectable in the Payload builder |
previous.fulfills_online_orders |
boolean |
Selectable in the Payload builder |
previous.fulfillment_priority |
integer |
Selectable in the Payload builder |
previous.address_line1 |
string |
Selectable in the Payload builder |
previous.address_line2 |
string |
Selectable in the Payload builder |
previous.city |
string |
Selectable in the Payload builder |
previous.state_province |
string |
Selectable in the Payload builder |
previous.postal_code |
string |
Selectable in the Payload builder |
previous.country_code |
string |
Selectable in the Payload builder |
previous.phone |
string |
Selectable in the Payload builder |
previous.is_archived |
boolean |
Selectable in the Payload builder |
previous.previous_app_id |
string |
Selectable in the Payload builder |
previous.previous_app_name |
string |
Selectable in the Payload builder |
current.id |
string |
Selectable in the Payload builder |
current.name |
string |
Selectable in the Payload builder |
current.slug |
string |
Selectable in the Payload builder |
current.app_id |
string |
Selectable in the Payload builder |
current.is_app_managed |
boolean |
Selectable in the Payload builder |
current.is_primary |
boolean |
Selectable in the Payload builder |
current.is_active |
boolean |
Selectable in the Payload builder |
current.fulfills_online_orders |
boolean |
Selectable in the Payload builder |
current.fulfillment_priority |
integer |
Selectable in the Payload builder |
current.address_line1 |
string |
Selectable in the Payload builder |
current.address_line2 |
string |
Selectable in the Payload builder |
current.city |
string |
Selectable in the Payload builder |
current.state_province |
string |
Selectable in the Payload builder |
current.postal_code |
string |
Selectable in the Payload builder |
current.country_code |
string |
Selectable in the Payload builder |
current.phone |
string |
Selectable in the Payload builder |
current.is_archived |
boolean |
Selectable in the Payload builder |
current.previous_app_id |
string |
Selectable in the Payload builder |
current.previous_app_name |
string |
Selectable in the Payload builder |
changed_fields |
array |
Selectable in the Payload builder |
Location deactivated
Fired when a location's is_active flips from true to false. Fulfillment integrations typically reassign pending work on this event.
Payload fields
| Field | Type | Description |
|---|---|---|
resource_type |
string |
Selectable in the Payload builder |
resource_id |
string |
Selectable in the Payload builder |
occurred_at |
string |
Selectable in the Payload builder |
previous.id |
string |
Selectable in the Payload builder |
previous.name |
string |
Selectable in the Payload builder |
previous.slug |
string |
Selectable in the Payload builder |
previous.app_id |
string |
Selectable in the Payload builder |
previous.is_app_managed |
boolean |
Selectable in the Payload builder |
previous.is_primary |
boolean |
Selectable in the Payload builder |
previous.is_active |
boolean |
Selectable in the Payload builder |
previous.fulfills_online_orders |
boolean |
Selectable in the Payload builder |
previous.fulfillment_priority |
integer |
Selectable in the Payload builder |
previous.address_line1 |
string |
Selectable in the Payload builder |
previous.address_line2 |
string |
Selectable in the Payload builder |
previous.city |
string |
Selectable in the Payload builder |
previous.state_province |
string |
Selectable in the Payload builder |
previous.postal_code |
string |
Selectable in the Payload builder |
previous.country_code |
string |
Selectable in the Payload builder |
previous.phone |
string |
Selectable in the Payload builder |
previous.is_archived |
boolean |
Selectable in the Payload builder |
previous.previous_app_id |
string |
Selectable in the Payload builder |
previous.previous_app_name |
string |
Selectable in the Payload builder |
current.id |
string |
Selectable in the Payload builder |
current.name |
string |
Selectable in the Payload builder |
current.slug |
string |
Selectable in the Payload builder |
current.app_id |
string |
Selectable in the Payload builder |
current.is_app_managed |
boolean |
Selectable in the Payload builder |
current.is_primary |
boolean |
Selectable in the Payload builder |
current.is_active |
boolean |
Selectable in the Payload builder |
current.fulfills_online_orders |
boolean |
Selectable in the Payload builder |
current.fulfillment_priority |
integer |
Selectable in the Payload builder |
current.address_line1 |
string |
Selectable in the Payload builder |
current.address_line2 |
string |
Selectable in the Payload builder |
current.city |
string |
Selectable in the Payload builder |
current.state_province |
string |
Selectable in the Payload builder |
current.postal_code |
string |
Selectable in the Payload builder |
current.country_code |
string |
Selectable in the Payload builder |
current.phone |
string |
Selectable in the Payload builder |
current.is_archived |
boolean |
Selectable in the Payload builder |
current.previous_app_id |
string |
Selectable in the Payload builder |
current.previous_app_name |
string |
Selectable in the Payload builder |
changed_fields |
array |
Selectable in the Payload builder |
Location fulfillment enabled
Fired when a location's fulfills_online_orders flips from false to true.
Payload fields
| Field | Type | Description |
|---|---|---|
resource_type |
string |
Selectable in the Payload builder |
resource_id |
string |
Selectable in the Payload builder |
occurred_at |
string |
Selectable in the Payload builder |
previous.id |
string |
Selectable in the Payload builder |
previous.name |
string |
Selectable in the Payload builder |
previous.slug |
string |
Selectable in the Payload builder |
previous.app_id |
string |
Selectable in the Payload builder |
previous.is_app_managed |
boolean |
Selectable in the Payload builder |
previous.is_primary |
boolean |
Selectable in the Payload builder |
previous.is_active |
boolean |
Selectable in the Payload builder |
previous.fulfills_online_orders |
boolean |
Selectable in the Payload builder |
previous.fulfillment_priority |
integer |
Selectable in the Payload builder |
previous.address_line1 |
string |
Selectable in the Payload builder |
previous.address_line2 |
string |
Selectable in the Payload builder |
previous.city |
string |
Selectable in the Payload builder |
previous.state_province |
string |
Selectable in the Payload builder |
previous.postal_code |
string |
Selectable in the Payload builder |
previous.country_code |
string |
Selectable in the Payload builder |
previous.phone |
string |
Selectable in the Payload builder |
previous.is_archived |
boolean |
Selectable in the Payload builder |
previous.previous_app_id |
string |
Selectable in the Payload builder |
previous.previous_app_name |
string |
Selectable in the Payload builder |
current.id |
string |
Selectable in the Payload builder |
current.name |
string |
Selectable in the Payload builder |
current.slug |
string |
Selectable in the Payload builder |
current.app_id |
string |
Selectable in the Payload builder |
current.is_app_managed |
boolean |
Selectable in the Payload builder |
current.is_primary |
boolean |
Selectable in the Payload builder |
current.is_active |
boolean |
Selectable in the Payload builder |
current.fulfills_online_orders |
boolean |
Selectable in the Payload builder |
current.fulfillment_priority |
integer |
Selectable in the Payload builder |
current.address_line1 |
string |
Selectable in the Payload builder |
current.address_line2 |
string |
Selectable in the Payload builder |
current.city |
string |
Selectable in the Payload builder |
current.state_province |
string |
Selectable in the Payload builder |
current.postal_code |
string |
Selectable in the Payload builder |
current.country_code |
string |
Selectable in the Payload builder |
current.phone |
string |
Selectable in the Payload builder |
current.is_archived |
boolean |
Selectable in the Payload builder |
current.previous_app_id |
string |
Selectable in the Payload builder |
current.previous_app_name |
string |
Selectable in the Payload builder |
changed_fields |
array |
Selectable in the Payload builder |
Location fulfillment disabled
Fired when a location's fulfills_online_orders flips from true to false. Fulfillment integrations should stop routing new online orders here.
Payload fields
| Field | Type | Description |
|---|---|---|
resource_type |
string |
Selectable in the Payload builder |
resource_id |
string |
Selectable in the Payload builder |
occurred_at |
string |
Selectable in the Payload builder |
previous.id |
string |
Selectable in the Payload builder |
previous.name |
string |
Selectable in the Payload builder |
previous.slug |
string |
Selectable in the Payload builder |
previous.app_id |
string |
Selectable in the Payload builder |
previous.is_app_managed |
boolean |
Selectable in the Payload builder |
previous.is_primary |
boolean |
Selectable in the Payload builder |
previous.is_active |
boolean |
Selectable in the Payload builder |
previous.fulfills_online_orders |
boolean |
Selectable in the Payload builder |
previous.fulfillment_priority |
integer |
Selectable in the Payload builder |
previous.address_line1 |
string |
Selectable in the Payload builder |
previous.address_line2 |
string |
Selectable in the Payload builder |
previous.city |
string |
Selectable in the Payload builder |
previous.state_province |
string |
Selectable in the Payload builder |
previous.postal_code |
string |
Selectable in the Payload builder |
previous.country_code |
string |
Selectable in the Payload builder |
previous.phone |
string |
Selectable in the Payload builder |
previous.is_archived |
boolean |
Selectable in the Payload builder |
previous.previous_app_id |
string |
Selectable in the Payload builder |
previous.previous_app_name |
string |
Selectable in the Payload builder |
current.id |
string |
Selectable in the Payload builder |
current.name |
string |
Selectable in the Payload builder |
current.slug |
string |
Selectable in the Payload builder |
current.app_id |
string |
Selectable in the Payload builder |
current.is_app_managed |
boolean |
Selectable in the Payload builder |
current.is_primary |
boolean |
Selectable in the Payload builder |
current.is_active |
boolean |
Selectable in the Payload builder |
current.fulfills_online_orders |
boolean |
Selectable in the Payload builder |
current.fulfillment_priority |
integer |
Selectable in the Payload builder |
current.address_line1 |
string |
Selectable in the Payload builder |
current.address_line2 |
string |
Selectable in the Payload builder |
current.city |
string |
Selectable in the Payload builder |
current.state_province |
string |
Selectable in the Payload builder |
current.postal_code |
string |
Selectable in the Payload builder |
current.country_code |
string |
Selectable in the Payload builder |
current.phone |
string |
Selectable in the Payload builder |
current.is_archived |
boolean |
Selectable in the Payload builder |
current.previous_app_id |
string |
Selectable in the Payload builder |
current.previous_app_name |
string |
Selectable in the Payload builder |
changed_fields |
array |
Selectable in the Payload builder |