The inventory plane covers what no single catalog resource owns. Reads use read_inventory; writes use write_inventory.
A SKU is a store-wide address: simple products, variants, and inventory groups share one SKU registry, so POST /inventory/adjustments resolves any of the three from the SKU alone. Adjustments are atomic batches — an invalid row rejects the whole batch. Send an Idempotency-Key and reuse it with the identical body when retrying. For absolute counts, expected_quantity detects a concurrent change. Each applied row writes the movement ledger with your app as the actor, re-evaluates low-stock, and emits inventory_levels/update. Prefer adjust (signed delta, safe under concurrency) over set unless you are reconciling a physical count; reasons come from the same six-value enum merchants use.
Two fields are scope-gated for privacy. Movement reference_type/reference_id (the order behind a sale) appear only when your token also holds read_orders. Restock request contact details appear only with read_customers — otherwise they arrive redacted and can_view_contact is false.
Transfers move stock between locations: create (pending), then ship (in_transit) to reserve source stock. Record partial or full receipts with POST /transfers/{transferId}/receive and an Idempotency-Key. Received units move to the destination, short units release their source hold, and damaged units are written off at the source. Each receipt commits stock, history and webhook events atomically. The last receipt completes the transfer; the complete status action receives all remaining units. Cancellation releases only the outstanding hold and preserves recorded receipts. Only pending transfers can be deleted. Products, variants, and inventory groups referenced by pending or in-transit transfers cannot be deleted or switched away from their inventory source; the 409 response names the blocking TRF numbers. Completed and cancelled transfers remain immutable history after a catalog resource is deleted: each line keeps its title and SKU snapshot and returns resource_deleted: true.
Endpoints#
Inventory limits
Get stock limits and supported options.
Returns one section per inventory list — levels, movements, transfers, low_stock, restock_requests, commitments (current commitments and commitment activity, store-wide, per item and per inventory group) — plus adjustments. Every list section names its paging and sorting the same way: list_page_size (default rows per page), list_max_limit (largest limit accepted), page_size_options, search_max_length, sort_columns, default_sort and default_sort_direction (asc or desc). transfers.bulk_max caps a bulk status change or delete; adjustments.max_batch_size caps the rows of one stock write. adjustments also carries the quantity cap, the Idempotency-Key length limit and the user reasons (user_reason_options); movements.retention_days is the movement history window. Commitments and commitment activity page by cursor, newest first, so commitments.sort_columns is created_at only. transfers.status_actions gives each status action's button label and confirmation text in English. low_stock.alert_cooldown_hours: while an item stays at or below a low-stock threshold, its alert (the inventory/low_stock webhook and the store notification) repeats only once this many hours have passed since the last one. Every filter value list is labelled: levels.item_type_options, adjustments.user_reason_options, movements.item_type_options and movements.reason_options, transfers.status_options, low_stock.type_options and low_stock.scope_options, restock_requests.status_options and restock_requests.contact_type_options, and commitments.event_type_options are lists of {value, label}: send value, show label (in English). Rows carry the same wording in their *_display fields. Values come from the services that enforce them; read them instead of hardcoding.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
List stock levels
List per-location stock for every tracked item.
Returns one row per (item, location) across directly tracked simple products and variants plus inventory groups. A row names its item with product_id, variant_id and group_id; the ones it doesn't have are null (a group row has no product or variant, a simple product row no variant), and product_slug is the product's storefront slug. quantity is physical on hand. reserved is all held stock; checkout_held is its short unpaid-checkout subset, order_committed is its placed-order subset, and other_held covers active transfers and other operational holds. available = quantity - reserved. Every visible active location is projected for every inventory group; a missing stored level reads as zero and the first set, adjustment, or threshold write creates it atomically. App tokens see merchant-managed locations and their own app-managed locations, never another app's locations. Filter by location, item type, SKU search, or low-stock only. item_type_display words item_type for the merchant, in English. Product and variant rows carry their product's units_sold_30 (units sold less units refunded) and views_30 (storefront product page views) over the last 30 days, from the store's product numbers recomputed once a day; group rows have neither. Query validation is strict: invalid sort or filter values return coded 400s, never silent defaults.
Pages follow the sort, then item type and IDs. While has_next is true, pass next_cursor as cursor to read the next page; page numbers reach only the first 10,000 rows. total is exact up to 10,000 rows; above that it is an estimate and total_estimated is true.
Query parameters
| Name | Type | Description |
|---|---|---|
location_id
|
string |
Only stock at this location (UUID). |
item_type
|
string |
|
search
|
string |
Matches SKU exactly or item title as a prefix search. |
low_stock_only
|
boolean |
Only rows at or below their low-stock threshold. |
cursor
|
string |
Opaque |
page
|
integer |
Page number, starting at 1. |
limit
|
integer |
Rows per page, up to the limits endpoint's |
sort_by
|
string |
One of the limits endpoint's |
sort_direction
|
string |
|
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400VALIDATION_LIST_INVALID_PAGEPage must be a positive integer.
-
400VALIDATION_LIST_INVALID_LIMITLimit is not a positive whole number.
-
400STORE_API_INVALID_REQUEST_BODYA boolean or UUID filter is malformed.
-
400STOCK_LEVEL_PER_PAGE_RANGELimit is above levels.list_max_limit from GET /inventory/limits.
-
400STOCK_LEVEL_INVALID_SORT_BYSort column is not in sort_columns.
-
400STOCK_LEVEL_INVALID_SORT_DIRSort direction must be asc or desc.
-
400STOCK_LEVEL_SEARCH_TOO_LONGSearch exceeds the search length limit.
-
400STOCK_LEVEL_ITEM_TYPE_FILTER_INVALIDItem_type is not simple, variant, or group.
-
400INVALID_INPUTcursoris not a stock-levels cursor for these filters and sorting, orpagereaches past the first 10,000 rows. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
List movements
List the unified stock movement ledger.
Returns the append-only ledger every physical stock change writes — admin edits, imports, scanner sessions, transfers, order fulfillment, and your own adjustments — newest first. An app-token write records App: <app name> in user_name; opaque app ids are never shown as merchant-facing actor names. A valid app token always resolves its authoritative app name, and a request with incomplete app identity is rejected. A merchant-created Store API token records its creator's merchant email. System rows without a human or app actor return an empty actor. reference_type and reference_id (e.g. the order behind a movement) are included only when the token also holds read_orders; without it the movement row is returned with those fields omitted. Rows are retained for the window reported by the limits endpoint. A movement keeps its location's id and name after that location is deleted; location_deleted is then true and location_deleted_at says when. reason_display and item_type_display word reason and item_type for the merchant, in English.
Query parameters
| Name | Type | Description |
|---|---|---|
location_id
|
string |
Only movements at this location (UUID). |
item_type
|
string |
|
reason
|
string |
One movement reason: a |
search
|
string |
Matches SKU or item title. |
from_date
|
string |
Inclusive start date, |
to_date
|
string |
Inclusive end date, |
page
|
integer |
Page number, starting at 1. |
limit
|
integer |
Rows per page, up to the limits endpoint's |
sort_by
|
string |
One of the limits endpoint's |
sort_direction
|
string |
|
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400VALIDATION_LIST_INVALID_PAGEPage must be a positive integer.
-
400VALIDATION_LIST_INVALID_LIMITLimit must be a positive integer no greater than this list's list_max_limit from GET /inventory/limits.
-
400INVENTORY_MOVEMENT_LIST_INVALID_SORT_BYSort column is not in sort_columns.
-
400INVENTORY_MOVEMENT_LIST_INVALID_SORT_DIRECTIONSort direction must be asc or desc.
-
400INVENTORY_MOVEMENT_LIST_INVALID_TYPEItem_type is not simple, variant, or group.
-
400INVENTORY_MOVEMENT_SEARCH_TOO_LONGSearch exceeds the search length limit.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
List low-stock items
List items at or below their low-stock threshold.
Returns items whose available stock (quantity - reserved) is at or below the configured threshold, with the positive deficit (threshold - available). Covers per-location and overall thresholds for directly tracked simple products and variants plus inventory groups; filter by location or overall scope, item type, or location. An overall row has location_id null and location_name All locations; product_id, variant_id, group_id and group_name are null where the item has none. App tokens see merchant-managed locations and locations owned by their own active installation, never another app's locations. Set thresholds with the product, variant and inventory group set-threshold endpoints. To be told when an item runs low, subscribe to the inventory/low_stock webhook. Which staff members receive low-stock notifications is each staff member's own notification preference, set in Store Admin or the Tringify app; the Store API and MCP neither read nor change it. type_display and scope_display word type and scope for the merchant, in English.
Query parameters
| Name | Type | Description |
|---|---|---|
location_id
|
string |
Only alerts at this location. Ignored when |
type
|
string |
|
scope
|
string |
|
search
|
string |
Matches SKU or item title. |
page
|
integer |
Page number, starting at 1. |
limit
|
integer |
Rows per page, up to the limits endpoint's |
sort_by
|
string |
One of the limits endpoint's |
sort_direction
|
string |
|
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400VALIDATION_LIST_INVALID_PAGEPage must be a positive integer.
-
400VALIDATION_LIST_INVALID_LIMITLimit must be a positive integer no greater than this list's list_max_limit from GET /inventory/limits.
-
400LOW_STOCK_LIST_INVALID_SORT_BYSort column is not in sort_columns.
-
400LOW_STOCK_LIST_INVALID_SORT_DIRECTIONSort direction must be asc or desc.
-
400LOW_STOCK_LIST_INVALID_TYPEType is not simple, variant, or group.
-
400LOW_STOCK_LIST_INVALID_SCOPEScope is not location or overall.
-
400LOW_STOCK_SEARCH_TOO_LONGSearch exceeds the search length limit.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
List current commitments
List open order-inventory commitments across the store.
Returns open, successfully applied reservation slices for simple products, variants and inventory groups, newest first. Narrow the listing to one item with source_type and source_id, and to one location with location_id. Each row is stock held for one order line at one location: state provisional while the shopper is paying (it counts in checkout_held until expires_at) or committed once the order is placed and paid or confirmed (it counts in order_committed). state is the authoritative applied state, not a pending desired state. Released and fulfilled stock is not listed; read commitment activity for that history. While an order's stock change is still being applied its rows are left out, so the rows add up to a location's checkout_held and order_committed once it applies. source_type (product, variant or group), source_id and sku name the item. state_display and payment_kind_display word state and payment_kind for the merchant, in English. Pages are keyed: pass the response's next_cursor as cursor to read the next page with the same filters; an empty next_cursor means there are no more rows. Order ids, item ids, and order numbers are included only when the token also has read_orders; internal transition status, errors, and operation ids are never exposed through the Store API. App tokens see merchant-managed locations and their own app-managed locations, never another app's locations. location_deleted is true when the location has since been deleted; location_name is then its name at deletion.
Query parameters
| Name | Type | Description |
|---|---|---|
cursor
|
string |
Opaque |
limit
|
integer |
Page size, 1 to |
source_type
|
string |
Item type: |
source_id
|
string |
Item id: the numeric product or variant id, or the inventory group UUID. |
location_id
|
uuid |
Filter to one visible location. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400VALIDATION_LIST_INVALID_LIMITLimit must be between 1 and
commitments.list_max_limitfromGET /inventory/limits. -
400INVALID_INPUTA filter is invalid: the error names
cursor,source_type,source_id,location_id,event_type,from_dateorto_date. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
List commitment activity
List applied order-inventory commitment activity across the store.
Returns the append-only lifecycle ledger for successfully applied provisional holds, commitments, releases, reacquisitions, fulfillment consumption, and cancelled fulfillments, newest first. Narrow it to one item with source_type and source_id, one location with location_id, an event type, or a date range in the store timezone. event_type is provisional_held (a checkout hold started), committed (units committed to a placed order), released (held units became available again), reacquired (released units were held again), fulfilled (units left stock with a fulfillment) or fulfillment_reversed (a cancelled fulfillment put its units back). reason says why: order_created (an order was placed or an edit added units), payment_captured (the payment completed; with reacquired, a late payment held the same units again after its hold had been released), payment_retry (the shopper retried a payment), payment_failed or provider_init_failed (the payment failed or could not be started), checkout_hold_expired (the checkout hold duration ran out), order_released (the order was cancelled or removed), order_edited (an order edit or refund removed units), order_edit_abandoned (an unsaved order edit was discarded), order_create_failed (an order that could not be completed returned units sold on commit), order_fulfilled (units shipped), sold_without_shipping (items that don't need shipping left stock when the order was committed) or fulfillment_cancelled (a fulfillment was cancelled). reserved_after, checkout_held_after and order_committed_after are the location's numbers right after the event. source_type, source_id and sku name the item. event_type_display, reason_display and payment_kind_display word event_type, reason and payment_kind for the merchant, in English; commitments.event_type_options in GET /inventory/limits labels the event filter. Pages are keyed: pass the response's next_cursor as cursor to read the next page with the same filters; an empty next_cursor means there are no more rows. This is separate from physical stock movement history. Order ids, item ids, and order numbers are included only when the token also has read_orders; internal pending-operation and error details are never exposed through the Store API. App tokens see merchant-managed locations and their own app-managed locations, never another app's locations.
Query parameters
| Name | Type | Description |
|---|---|---|
cursor
|
string |
Opaque |
limit
|
integer |
Page size, 1 to |
source_type
|
string |
Item type: |
source_id
|
string |
Item id: the numeric product or variant id, or the inventory group UUID. |
location_id
|
uuid |
Filter to one visible location. |
event_type
|
string |
Filter by |
from_date
|
string |
Inclusive start date, YYYY-MM-DD in the store timezone. |
to_date
|
string |
Inclusive end date, YYYY-MM-DD in the store timezone. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400VALIDATION_LIST_INVALID_LIMITLimit must be between 1 and
commitments.list_max_limitfromGET /inventory/limits. -
400INVALID_INPUTA filter is invalid: the error names
cursor,source_type,source_id,location_id,event_type,from_dateorto_date. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Create a stock sync upload
Get an upload URL for a bulk stock sync file.
Step 1 of a bulk stock sync. Send one item describing the file (original_filename ending in .csv, mime_type text/csv, size_bytes); the response carries an intent with an upload URL. PUT the file there, then finalize the intent; the finalized intent's file id starts the job. The file is a CSV whose first row names a sku and a quantity (or qty) column: one row per SKU with the on-hand quantity it should have at the job's location. Up to 200,000 rows and 16 MB.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
items
required
|
array<object> |
Exactly one file: |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Finalize a stock sync upload
Finalize an uploaded stock sync file.
Step 2: after the PUT, finalize the intent. The file is checked (CSV, size, row and column counts) before it can start a job; poll the status endpoint until the intent is ready, then use its file id.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
intent_ids
required
|
array<uuid> |
The intent from the create step. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Check a stock sync upload
Check whether an uploaded stock sync file is ready.
Returns the intent's state; once it is ready, its file id starts the job.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
intent_ids
required
|
array<uuid> |
The intent from the create step. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Start a stock sync
Set on-hand stock at one location from an uploaded file, in the background.
Step 3. Sets every SKU in the file to its quantity at location_id, a location the merchant manages. Stock syncs are for the store's own tokens and connected tools; apps set stock with POST /inventory/adjustments. One job runs per location at a time (INVENTORY_SYNC_JOB_ACTIVE). The job applies the file in chunks of 1,000 rows, each in one transaction: a row whose quantity is already the file's value writes nothing (no movement, audit entry or webhook), and each chunk with changes sends one inventory_levels/bulk_update with every changed level, instead of one inventory_levels/update per row. A row that can't be applied (unknown SKU, duplicate SKU, quantity not a whole number, out of range, or below what is held for orders) is listed in the job's errors; the other rows still apply. The job ends with inventory_sync_jobs/completed. Poll GET /inventory/sync-jobs/{id} or subscribe to that webhook.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
location_id
required
|
uuid |
The location to set stock at. |
file_id
required
|
uuid |
The file id of the finalized upload intent. |
reason
|
string |
Movement reason recorded for every change: a |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403LOCATION_APP_MANAGED_NO_EDITA merchant token named a location an app manages.
-
404LOCATION_NOT_FOUNDNo such location in this store.
-
409INVENTORY_SYNC_JOB_ACTIVEA sync is already running for this location.
-
400STOCK_LEVEL_REASON_INVALIDreason is not one of the user reasons.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Get a stock sync
Read a stock sync job's progress and the rows it couldn't apply.
status is processing, completed or failed. rows_changed, rows_unchanged and rows_failed add up to rows_processed. errors lists up to 100 failed rows (row is the line in the file); errors_truncated is true when there are more. An app sees only the jobs it started.
Path parameters
| Name | Type | Description |
|---|---|---|
jobId
required
|
string |
Sync job id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
404INVENTORY_SYNC_JOB_NOT_FOUNDNo such job in this store, or another app's.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Apply adjustments
Apply a batch of stock adjustments by SKU.
Applies up to max_batch_size rows together: every row applies or none do, unless continue_on_error is true, when every row that can be applied is applied and each other row comes back with status failed and its own code and message. Each row addresses an item by SKU — simple product, variant, or inventory group resolve identically, ignoring letter case — at the batch location_id or its own location_id, and either adjusts by a signed delta (adjust) or writes an absolute quantity (set). A SKU may appear only once per location in a batch, in any letter case. An adjust of 0 is refused with STOCK_LEVEL_ADJUST_ZERO. Active and inactive locations are both writable, so stock can be corrected or zeroed before a location is deleted. A set row may carry expected_quantity: the row is then a compare-and-set against the current on-hand quantity, and when they differ the whole batch is refused with 409 STOCK_LEVEL_EXPECTED_QUANTITY_MISMATCH and nothing changes. When any row fails, the response is that row's own error code with details.row (1-based), details.sku and details.location_id, and no row is applied. Send a stable Idempotency-Key when retrying: keys are scoped to your app (or the merchant user), UUIDs are canonicalized before comparison, an identical replay within 7 days returns the original result without a second movement, audit entry or webhook, and reusing a key for different input returns 409 STOCK_WRITE_IDEMPOTENCY_CONFLICT. App tokens may target merchant-managed locations and locations owned by their own active installation; they cannot write another app's location. Every row that changes the quantity writes the movement ledger with your app as the actor and re-evaluates low-stock; a row whose quantity doesn't change writes nothing. A one-row batch emits inventory_levels/update; a larger batch emits one inventory_levels/bulk_update per location (source stock_write) carrying every changed level. Deltas are safe under concurrency; use set with expected_quantity when reconciling a physical count. An app writing a location it manages reports its supplier's or warehouse's count, which may be below what is held for checkouts, orders and transfers: such a row is not refused. On hand is raised to what is held, so nothing more can be sold there, and the row reports requested_quantity (what you sent) and oversold_quantity (held units your count no longer covers); its Stock History note says so. Resolve those orders by shipping them or by rejecting their fulfillment orders. Every other writer, and the product create and update inventory field, is still refused below what is held with STOCK_LEVEL_SET_BELOW_RESERVED. The response is compact: totals (applied, failed), then each row's sku, location_id, status and new_quantity.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Idempotency-Key
|
string |
Optional on the first attempt and required for a safe retry. Scoped to the calling app or merchant actor, at most 200 characters. An identical replay within 7 days returns the original result without a second stock write, audit entry or webhook; reuse with different input returns 409 |
Body parameters
| Name | Type | Description |
|---|---|---|
location_id
|
string |
Default location for rows that do not name their own (UUID). Required unless every row has |
continue_on_error
|
boolean |
When true, rows that can't be applied (an unknown SKU, a refused quantity, an |
items
required
|
array<object> |
Up to the limits endpoint's |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STOCK_LEVEL_BATCH_ITEMS_REQUIREDThe batch has no rows.
-
400STOCK_LEVEL_BATCH_TOO_LARGEThe batch exceeds the adjustment batch cap.
-
400STOCK_LEVEL_BATCH_DUPLICATE_ROWA SKU appears more than once for the same location, in any letter case.
-
400STOCK_LEVEL_ACTION_INVALIDA row does not contain exactly one of adjust or set.
-
400STOCK_LEVEL_ADJUST_ZEROAn adjust row's change is 0.
-
400PRODUCT_LOCATION_REQUIREDA row names no location_id and the batch has none.
-
400STOCK_LEVEL_REASON_INVALIDA row's reason is not one of the user reasons. Row failures carry
details.row,details.skuanddetails.location_id; nothing in the batch is applied. -
404STOCK_LEVEL_NO_PRODUCT_FOR_SKUA row's SKU does not resolve to a tracked simple product, variant, or inventory group. Nothing in the batch is applied.
-
400STOCK_LEVEL_SET_BELOW_RESERVEDA set row would leave on hand below reserved stock. Not returned for an app writing a location it manages: that row is raised to what is held and reports oversold_quantity. Nothing in the batch is applied unless continue_on_error is true.
-
400STOCK_LEVEL_ADJUST_NEGATIVEAn adjust row would make on hand negative. Nothing in the batch is applied.
-
400STOCK_LEVEL_EXPECTED_QUANTITY_INVALIDexpected_quantity is negative.
-
400STOCK_LEVEL_EXPECTED_QUANTITY_SET_ONLYexpected_quantity was sent on an adjust row.
-
409STOCK_LEVEL_EXPECTED_QUANTITY_MISMATCHA set row's expected_quantity differs from the current on-hand quantity (
params.expected,params.current). Nothing in the batch is applied. -
400STOCK_WRITE_IDEMPOTENCY_KEY_TOO_LONGIdempotency-Key exceeds 200 characters.
-
409STOCK_WRITE_IDEMPOTENCY_CONFLICTThe idempotency key was already used for a different stock write.
-
400LOCATION_NOT_FOUNDThe location does not exist in this store.
-
403LOCATION_APP_MANAGED_NO_EDITThe location belongs to another app or its owning installation is inactive.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Set product low-stock threshold
Set or clear a simple product's low-stock threshold at one location, or overall when location_id is omitted, without a product update.
Sets or clears one low-stock threshold on a simple product that tracks its own stock (inventory_source track) without a product update: no expected_revision is needed and nothing else changes. Send location_id to set that location's threshold; omit it to set the overall threshold, which compares total available stock across all locations. low_stock_threshold is required: a whole number sets it (0 is valid, up to the products limits' max_inventory_quantity) and null clears it; omitting it returns STOCK_LEVEL_THRESHOLD_REQUIRED. Setting a location threshold where the simple product has no stock level yet creates the level at zero; clearing one that does not exist changes nothing. App tokens may write merchant-managed locations and locations owned by their own active installation, never another app's location. A threshold that already has the value changes nothing and sends no webhook (changed is false). A changed location threshold sends inventory_levels/update with reason threshold_updated; a changed overall threshold sends products/update with changed_fields ["overall_low_stock_threshold"] and moves the product's revision. The item's stock is checked against the new threshold straight away: at or below it sends inventory/low_stock (repeated only after the cooldown), above it re-arms the alert. For a variable product, set each variant's threshold with the variant endpoint; for group-backed stock, use the inventory group's set-threshold.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
integer |
Product ID. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
location_id
|
uuid |
Location whose threshold to set. Omit it for the overall threshold. |
low_stock_threshold
required
|
integer|null |
Required: a whole number sets the threshold (0 is valid), null clears it. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STOCK_LEVEL_THRESHOLD_REQUIREDlow_stock_thresholdis missing. Send null to clear the threshold. -
400STOCK_LEVEL_LOW_THRESHOLD_NEGATIVEThe threshold is negative.
-
400PRODUCT_LOW_STOCK_TOO_LARGEThe threshold exceeds
max_inventory_quantity(params.max). -
400PRODUCT_INVENTORY_ONLY_WHEN_TRACKThe item does not track its own stock (
inventory_sourceisnoneorgroup). -
404NOT_FOUNDNo product with this ID in the store.
-
404LOCATION_NOT_FOUNDThe location does not exist in this store.
-
403LOCATION_APP_MANAGED_NO_EDITThe location belongs to another app or its owning installation is inactive.
-
400PRODUCT_INVENTORY_VARIABLE_USE_VARIANTSThe product is variable: set thresholds on its variants.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Set variant low-stock threshold
Set or clear a variant's low-stock threshold at one location, or overall when location_id is omitted, without a product update.
Sets or clears one low-stock threshold on a variant that tracks its own stock (inventory_source track) without a product update: no expected_revision is needed and nothing else changes. Send location_id to set that location's threshold; omit it to set the overall threshold, which compares total available stock across all locations. low_stock_threshold is required: a whole number sets it (0 is valid, up to the products limits' max_inventory_quantity) and null clears it; omitting it returns STOCK_LEVEL_THRESHOLD_REQUIRED. Setting a location threshold where the variant has no stock level yet creates the level at zero; clearing one that does not exist changes nothing. App tokens may write merchant-managed locations and locations owned by their own active installation, never another app's location. A threshold that already has the value changes nothing and sends no webhook (changed is false). A changed location threshold sends inventory_levels/update with reason threshold_updated; a changed overall threshold sends variants/update with changed_fields ["overall_low_stock_threshold"] and moves the product's revision. The item's stock is checked against the new threshold straight away: at or below it sends inventory/low_stock (repeated only after the cooldown), above it re-arms the alert. For group-backed stock, use the inventory group's set-threshold.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
integer |
Product ID. |
variantId
required
|
integer |
Variant ID; it must belong to the product. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
location_id
|
uuid |
Location whose threshold to set. Omit it for the overall threshold. |
low_stock_threshold
required
|
integer|null |
Required: a whole number sets the threshold (0 is valid), null clears it. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STOCK_LEVEL_THRESHOLD_REQUIREDlow_stock_thresholdis missing. Send null to clear the threshold. -
400STOCK_LEVEL_LOW_THRESHOLD_NEGATIVEThe threshold is negative.
-
400PRODUCT_LOW_STOCK_TOO_LARGEThe threshold exceeds
max_inventory_quantity(params.max). -
400PRODUCT_INVENTORY_ONLY_WHEN_TRACKThe item does not track its own stock (
inventory_sourceisnoneorgroup). -
404NOT_FOUNDNo product with this ID in the store.
-
404LOCATION_NOT_FOUNDThe location does not exist in this store.
-
403LOCATION_APP_MANAGED_NO_EDITThe location belongs to another app or its owning installation is inactive.
-
404PRODUCT_VARIANT_NOT_FOUNDThe variant does not exist or belongs to another product.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
List transfers
List stock transfers.
Returns paginated transfers with a stable transfer_number, status, endpoint ownership, locations, item counts, and total quantity. Filter by status, source location, destination location, or date range; search matches transfer number, UUID, merchant reference, or endpoint location name. Merchant callers can read all store transfers. App callers see transfers whose endpoints are merchant-managed or owned by that same app; another app's managed location and transfer remain undiscoverable. Writes are narrower: merchant tokens may mutate merchant-managed endpoints, while app tokens may mutate merchant-managed endpoints and endpoints owned by their own active installation. One exception sends stock to a warehouse app: a merchant may create a transfer from a merchant location into an app's location (its installation ready) and ship, cancel or delete it while it is pending; the owning app receives it. Pending and in-transit transfers protect their product, variant, or inventory-group references from deletion. Completed and cancelled transfers keep immutable title and SKU snapshots if a referenced catalog resource is later deleted. A transfer keeps both locations' ids and names after either is deleted; from_location_deleted/to_location_deleted are then true and *_deleted_at say when. status_display words the status for the merchant in English, and reads "Partially received" for an in-transit transfer with a receipt that still has units to account for.
Query parameters
| Name | Type | Description |
|---|---|---|
status
|
string |
|
from_location_id
|
uuid |
Only transfers from this visible location. |
to_location_id
|
uuid |
Only transfers to this visible location. |
search
|
string |
Matches the stable transfer number, transfer UUID, merchant reference, or source/destination location name. |
from_date
|
string |
Inclusive start date, |
to_date
|
string |
Inclusive end date, |
page
|
integer |
Page number, starting at 1. |
limit
|
integer |
Rows per page, up to the limits endpoint's |
sort_by
|
string |
One of the limits endpoint's |
sort_direction
|
string |
|
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400VALIDATION_LIST_INVALID_PAGEPage must be a positive integer.
-
400VALIDATION_LIST_INVALID_LIMITLimit must be a positive integer no greater than this list's list_max_limit from GET /inventory/limits.
-
400INVALID_INPUTA source or destination location filter is not a valid UUID.
-
400TRANSFER_LIST_INVALID_SORT_BYSort column is not in sort_columns.
-
400TRANSFER_LIST_INVALID_SORT_DIRECTIONSort direction must be asc or desc.
-
400TRANSFER_STATUS_FILTER_INVALIDStatus filter is not a transfer status.
-
400TRANSFER_SEARCH_TOO_LONGSearch exceeds the search length limit.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Get transfer
Fetch one transfer with its items.
Returns the transfer, its status history timestamps, and every line item with quantities. available_actions lists what the caller may do now: status targets (in_transit, completed, cancelled), receive and delete; only this read carries it, and it is left out when the caller can only read the transfer, such as a merchant's transfer into an app's location once it has shipped. Each line includes resource_deleted. It is false while the referenced product, variant, or inventory group exists, and true when a terminal transfer is displaying the immutable title/SKU snapshot of a resource deleted later. Active transfers cannot enter this state because catalog deletion is blocked until the transfer is completed or cancelled.
Path parameters
| Name | Type | Description |
|---|---|---|
transferId
required
|
string |
Transfer id (UUID). |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400TRANSFER_INVALID_IDTransfer id is not a valid UUID.
-
404TRANSFER_NOT_FOUNDTransfer does not exist in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Create transfer
Create a stock transfer between two locations.
Creates a pending transfer. Each item contains exactly one identifier matching its item type. Simple products and variants must use direct tracked inventory; when one is backed by an inventory group, transfer the group instead so a stale direct row can never move. Quantities are validated against available stock at the source location. Pending transfers hold nothing. Marking the transfer in_transit atomically moves the source units into reserved/other_held so orders cannot sell stock that is travelling. App tokens may use merchant-managed locations and locations owned by their own active installation, but cannot discover or mutate another app's locations. A merchant token may send stock from a merchant location into an app's location whose installation is ready, such as a 3PL warehouse; the merchant can ship, cancel or delete that transfer while it is pending, and the owning app receives it. Send a stable Idempotency-Key when retrying creation: UUIDs are canonicalized before comparison, an identical replay returns the existing transfer without a second audit entry or webhook, and reuse for different input returns 409.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Idempotency-Key
|
string |
Stable retry key scoped to the calling app or merchant actor, maximum 200 characters. Reuse only with the identical request. |
Body parameters
| Name | Type | Description |
|---|---|---|
from_location_id
required
|
string |
Source location (UUID). Must differ from the destination. |
to_location_id
required
|
string |
Destination location (UUID). |
reference_number
|
string |
Your reference, up to the limits endpoint's |
notes
|
string |
Free-form notes, up to |
items
required
|
array<object> |
Up to |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYRequest JSON is malformed, has trailing data, or contains an unknown field.
-
400INVALID_INPUTA source or destination location id is not a valid UUID.
-
400TRANSFER_SAME_LOCATIONSSource and destination locations are the same.
-
400TRANSFER_ITEMS_REQUIREDThe transfer has no items.
-
400TRANSFER_TOO_MANY_ITEMSThe transfer exceeds max_items_per_transfer.
-
400TRANSFER_REFERENCE_NUMBER_TOO_LONGReference number exceeds its published limit.
-
400TRANSFER_NOTES_TOO_LONGNotes exceed their published limit.
-
400TRANSFER_QUANTITY_NOT_POSITIVEEvery line quantity must be at least one.
-
400TRANSFER_QUANTITY_TOO_LARGEA line quantity exceeds max_quantity.
-
400TRANSFER_INSUFFICIENT_STOCKA line's quantity exceeds available stock at the source location.
-
400TRANSFER_ITEM_TYPE_INVALIDA line's item_type is not simple, variant, or group.
-
400TRANSFER_ITEM_IDENTIFIERS_INVALIDA line contains an identifier that does not match its item_type.
-
400TRANSFER_PRODUCT_ID_REQUIREDA simple line is missing product_id.
-
400TRANSFER_VARIANT_ID_REQUIREDA variant line is missing variant_id.
-
400TRANSFER_GROUP_ID_REQUIREDA group line is missing group_id.
-
400TRANSFER_GROUP_ID_INVALIDA group_id is not a valid UUID.
-
400TRANSFER_ITEM_SOURCE_NOT_TRACKA product or variant is group-backed; transfer its linked inventory group instead.
-
400TRANSFER_DUPLICATE_PRODUCT_ITEMThe same simple product appears more than once.
-
400TRANSFER_DUPLICATE_VARIANT_ITEMThe same variant appears more than once.
-
400TRANSFER_DUPLICATE_GROUP_ITEMThe same inventory group appears more than once.
-
400TRANSFER_PRODUCT_NOT_FOUNDThe simple product does not exist in this store.
-
400TRANSFER_VARIANT_NOT_FOUNDThe variant does not exist in this store.
-
400TRANSFER_GROUP_NOT_FOUNDThe inventory group does not exist in this store.
-
400TRANSFER_PRODUCT_NO_STOCK_AT_SOURCEThe simple product has no stock row at the source location.
-
400TRANSFER_VARIANT_NO_STOCK_AT_SOURCEThe variant has no stock row at the source location.
-
400TRANSFER_GROUP_NO_STOCK_AT_SOURCEThe inventory group has no stock row at the source location.
-
400TRANSFER_SOURCE_LOCATION_NOT_FOUNDThe source location does not exist in this store.
-
400TRANSFER_DEST_LOCATION_NOT_FOUNDThe destination location does not exist in this store.
-
400TRANSFER_SOURCE_LOCATION_INACTIVEThe source location is inactive.
-
400TRANSFER_DEST_LOCATION_INACTIVEThe destination location is inactive.
-
400TRANSFER_IDEMPOTENCY_KEY_TOO_LONGIdempotency-Key exceeds 200 characters.
-
409TRANSFER_IDEMPOTENCY_CONFLICTThe idempotency key was already used for different transfer input.
-
403LOCATION_APP_MANAGED_NO_EDITAn endpoint belongs to another app or its owning installation is inactive. A merchant's transfer into an app's location can only be shipped, cancelled or deleted while pending; the app receives it.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Update transfer status
Advance or cancel a transfer.
Moves the transfer through its lifecycle: pending → in_transit (ship) or cancelled; in_transit → completed (receive) or cancelled. Shipping holds the source units without changing physical on hand. Setting completed receives every unit that is still unaccounted for as received — the same as one receipt through the receive endpoint — consuming that part of the source transfer hold, decrementing source on hand, and incrementing destination on hand atomically with paired transfer_out and transfer_in movement rows. Units already recorded by earlier receipts are not moved again. Cancelling an in-transit transfer, including a partially received one, releases only the units that are still held; received, short and damaged units stay as recorded. Every availability or physical change emits inventory_levels/update.
Path parameters
| Name | Type | Description |
|---|---|---|
transferId
required
|
string |
Transfer id (UUID). |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
status
required
|
string |
Target status: |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYRequest JSON is malformed, has trailing data, or contains an unknown field.
-
400TRANSFER_INVALID_IDTransfer id is not a valid UUID.
-
400INVALID_INPUTStatus is not a supported transfer status.
-
400TRANSFER_STATUS_TRANSITION_INVALIDThe target status is not reachable from the transfer's current status.
-
400TRANSFER_INSUFFICIENT_STOCKSource availability is no longer sufficient to ship the transfer.
-
404TRANSFER_NOT_FOUNDTransfer does not exist in this store.
-
409TRANSFER_RESERVATION_INVARIANTThe transfer inventory could not be reconciled safely; nothing changed.
-
403LOCATION_APP_MANAGED_NO_EDITAn endpoint belongs to another app or its owning installation is inactive. A merchant's transfer into an app's location can only be shipped, cancelled or deleted while pending; the app receives it.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Bulk update transfer status
Advance or cancel multiple transfers atomically.
Applies one valid lifecycle transition to up to 100 transfers. The complete batch is serialized and committed in one transaction: if any id is missing, duplicated, unwritable, has an invalid transition, or cannot reconcile its reservation safely, no transfer or inventory row changes. Repeating an already-applied target status is safe. A refusal names the transfer that caused it in error.details.transfer_id. The response is compact: totals first, then each transfer's id, status and status_display only; read a transfer for its other fields.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
ids
required
|
array<uuid> |
One to 100 unique transfer ids. |
status
required
|
string |
One target status applied atomically to every selected transfer. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYRequest JSON is malformed, has trailing data, or contains an unknown field.
-
400TRANSFER_INVALID_IDTransfer id is not a valid UUID.
-
400INVALID_INPUTStatus is not a supported transfer status.
-
400TRANSFER_STATUS_TRANSITION_INVALIDThe target status is not reachable from the transfer's current status.
-
400TRANSFER_INSUFFICIENT_STOCKSource availability is no longer sufficient to ship the transfer.
-
404TRANSFER_NOT_FOUNDTransfer does not exist in this store.
-
409TRANSFER_RESERVATION_INVARIANTThe transfer inventory could not be reconciled safely; nothing changed.
-
403LOCATION_APP_MANAGED_NO_EDITAn endpoint belongs to another app or its owning installation is inactive. A merchant's transfer into an app's location can only be shipped, cancelled or deleted while pending; the app receives it.
-
400TRANSFER_BULK_IDS_REQUIREDSelect at least one transfer.
-
400TRANSFER_BULK_TOO_MANYThe request exceeds the 100-transfer cap.
-
400TRANSFER_BULK_DUPLICATE_IDA transfer id appears more than once.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Receive transfer
Record a full or partial receipt against an in-transit transfer.
Records one receipt for some or all lines of an in_transit transfer; both the source and destination must still be active locations. For each line send received_quantity, short_quantity and damaged_quantity (whole numbers, at least one unit per line); together they may not exceed the line's remaining_quantity. Received units leave the source (on hand and transfer hold) and are added to destination on hand with paired transfer_out/transfer_in movements. Short units never left the source: their transfer hold is released so they become available at the source again, with no movement row. Damaged units leave the source on hand and hold and are written off with a transfer_damaged movement; they are not added to the destination. Receipts can be repeated until every unit of every line is accounted for; the receipt that accounts for the last unit completes the transfer. Each receipt commits atomically, emits inventory_levels/update for every changed level and transfers/received, and the completing receipt also emits transfers/status_changed. Concurrent receipts serialize on the transfer. Send a stable Idempotency-Key when retrying: an identical replay returns the original transfer without recording a second receipt; reuse for different input returns 409.
Path parameters
| Name | Type | Description |
|---|---|---|
transferId
required
|
string |
Transfer id (UUID). |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Idempotency-Key
|
string |
Optional on the first attempt and required for a safe retry. Scoped to the calling app or merchant actor, at most 200 characters. An identical replay within 7 days returns the original result without a second stock write, audit entry or webhook; reuse with different input returns 409 |
Body parameters
| Name | Type | Description |
|---|---|---|
lines
required
|
array<object> |
One row per transfer line being accounted for, at most one per line. Each row: |
notes
|
string |
Optional receipt note, up to the transfer |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYRequest JSON is malformed, has trailing data, or contains an unknown field.
-
400TRANSFER_INVALID_IDTransfer id is not a valid UUID.
-
400TRANSFER_RECEIVE_LINES_REQUIREDThe receipt has no lines.
-
400TRANSFER_RECEIVE_TOO_MANY_LINESThe receipt has more lines than the per-request cap.
-
400TRANSFER_RECEIVE_LINE_NOT_FOUNDA transfer_item_id is not a line of this transfer.
-
400TRANSFER_RECEIVE_LINE_DUPLICATEA transfer line appears more than once.
-
400TRANSFER_RECEIVE_QUANTITY_INVALIDA quantity is negative, or a line accounts for no units.
-
400TRANSFER_RECEIVE_EXCEEDS_REMAININGA line's received + short + damaged exceeds its remaining quantity.
-
400TRANSFER_NOTES_TOO_LONGNotes exceed their published limit.
-
400STOCK_WRITE_IDEMPOTENCY_KEY_TOO_LONGIdempotency-Key exceeds 200 characters.
-
403LOCATION_APP_MANAGED_NO_EDITAn endpoint belongs to another app or its owning installation is inactive. A merchant's transfer into an app's location can only be shipped, cancelled or deleted while pending; the app receives it.
-
404TRANSFER_NOT_FOUNDTransfer does not exist in this store.
-
409TRANSFER_RECEIVE_NOT_IN_TRANSITThe transfer is not in transit.
-
409TRANSFER_RECEIVE_LOCATION_UNAVAILABLEThe source or destination location no longer exists.
-
400TRANSFER_SOURCE_LOCATION_INACTIVEThe source location is inactive or archived.
-
400TRANSFER_DEST_LOCATION_INACTIVEThe destination location is inactive or archived.
-
409TRANSFER_RESERVATION_INVARIANTThe transfer hold could not be reconciled safely; nothing changed.
-
409STOCK_WRITE_IDEMPOTENCY_CONFLICTThe idempotency key was already used for a different receipt.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Delete transfer
Delete a pending transfer.
Deletes a transfer that has not shipped. Transfers that are in transit, completed, or cancelled are immutable history and cannot be deleted.
Path parameters
| Name | Type | Description |
|---|---|---|
transferId
required
|
string |
Transfer id (UUID). |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400TRANSFER_INVALID_IDTransfer id is not a valid UUID.
-
403LOCATION_APP_MANAGED_NO_EDITAn endpoint belongs to another app or its owning installation is inactive. A merchant's transfer into an app's location can only be shipped, cancelled or deleted while pending; the app receives it.
-
404TRANSFER_NOT_FOUNDTransfer does not exist in this store.
-
409TRANSFER_IMMUTABLEOnly pending transfers can be deleted.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe request body has a property; this endpoint takes no body. Send no body or an empty object
{}. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Bulk delete transfers
Delete multiple pending transfers atomically.
Deletes up to 100 pending transfers. In-transit, completed, and cancelled transfers are immutable operational history. If any selected transfer is missing, duplicated, immutable, or not writable by the caller, none are deleted. Every deleted transfer emits transfers/delete in the same transaction. A refusal names the transfer that caused it in error.details.transfer_id.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
ids
required
|
array<uuid> |
One to 100 unique pending transfer ids. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400TRANSFER_INVALID_IDTransfer id is not a valid UUID.
-
403LOCATION_APP_MANAGED_NO_EDITAn endpoint belongs to another app or its owning installation is inactive. A merchant's transfer into an app's location can only be shipped, cancelled or deleted while pending; the app receives it.
-
404TRANSFER_NOT_FOUNDTransfer does not exist in this store.
-
409TRANSFER_IMMUTABLEOnly pending transfers can be deleted.
-
400STORE_API_INVALID_REQUEST_BODYRequest JSON is malformed, has trailing data, or contains an unknown field.
-
400TRANSFER_BULK_IDS_REQUIREDSelect at least one transfer.
-
400TRANSFER_BULK_TOO_MANYThe request exceeds the 100-transfer cap.
-
400TRANSFER_BULK_DUPLICATE_IDA transfer id appears more than once.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
List restock requests
List customer back-in-stock subscriptions.
Returns customer "notify me when available" requests with product, status, and lifecycle timestamps — restock demand data for planning. Contact details (email or phone) are PII: they are returned only when the token also holds read_customers; otherwise contact is empty, customer_id is null and contact_redacted is true. The response's can_view_contact flag reports which mode you are in. Because contact is the searchable field, using search also requires read_customers; this prevents a redacted caller from inferring a subscription through result counts. status_display and contact_type_display word status and contact_type for the merchant, in English.
Query parameters
| Name | Type | Description |
|---|---|---|
status
|
string |
|
contact_type
|
string |
|
product_id
|
integer |
Only requests for this product. |
variant_id
|
integer |
Only requests for this variant. |
search
|
string |
Matches the request email address or phone number. Requires |
page
|
integer |
Page number, starting at 1. |
limit
|
integer |
Rows per page, up to the limits endpoint's |
sort_by
|
string |
One of the limits endpoint's |
sort_direction
|
string |
|
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDSearching contact details requires read_customers.
-
400STORE_API_INVALID_REQUEST_BODYA product or variant id is malformed.
-
400INVENTORY_RESTOCK_LIST_LIMIT_RANGELimit is outside 1..list_max_limit.
-
400INVENTORY_RESTOCK_LIST_PAGE_INVALIDPage must be 1 or greater.
-
400INVENTORY_RESTOCK_LIST_STATUS_INVALIDStatus filter is not in the allowed set.
-
400INVENTORY_RESTOCK_LIST_CONTACT_TYPE_INVALIDContact type is not email or sms.
-
400INVENTORY_RESTOCK_LIST_SEARCH_TOO_LONGSearch exceeds the search length limit.
-
400INVENTORY_RESTOCK_LIST_INVALID_SORT_BYSort column is not in sort_columns.
-
400INVENTORY_RESTOCK_LIST_INVALID_SORT_DIRSort direction must be asc or desc.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Restock request limits
Fetch restock-request list limits and enums.
Returns the restock-request list's paging, search, status and contact-type limits and its sorting — the same keys as the restock_requests section of GET /inventory/limits.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Restock request statistics
Fetch restock-request lifecycle totals.
Returns a stable zero-filled count for every supported status. Requests whose expiry time has passed are atomically transitioned from pending to expired before the counts are read. Each count's status_display words its status in English.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Notify restock subscribers
Notify pending subscribers for one product or variant.
Queues the same email or SMS delivery used by automatic restock notification. Alerts must be enabled and the product must be active with sellable stock. Expired, queued and already-notified requests are not claimed. Enqueued counts are not delivery confirmations; read request statuses for provider acceptance or failure.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
product_id
required
|
integer |
Product whose pending subscribers should be notified. |
variant_id
|
integer |
Variant whose pending subscribers should be notified. Omit for product-level requests. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYThe body is malformed, contains unknown fields, or has an invalid product or variant id.
-
400INVENTORY_RESTOCK_PRODUCT_INVALIDThe product or requested variant does not exist in this store.
-
400INVENTORY_RESTOCK_UNAVAILABLENotify Me is turned off, or the product isn't active or has no sellable stock.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Get restock settings
Fetch Notify Me settings.
Returns whether capture is enabled, how long new requests remain pending, whether notifications send automatically when stock is available again, and the accepted expiry range.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Update restock settings
Update Notify Me settings.
Replaces the three settings together. Unknown fields are rejected. Disabling capture prevents new requests; existing pending requests retain their lifecycle and can still be reviewed.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
enabled
required
|
boolean |
Whether storefronts may capture new Notify Me requests. |
request_expiry_days
required
|
integer |
Days a new pending request remains eligible for notification. |
auto_send_when_restocked
required
|
boolean |
Whether Tringify automatically notifies eligible pending subscribers after stock becomes available. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYThe body is malformed or contains unknown fields.
-
400INVENTORY_RESTOCK_EXPIRY_DAYS_INVALIDrequest_expiry_days is outside the range returned by the settings endpoint.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Webhook events#
Low stock alert
Fired when available inventory reaches or falls below a low stock threshold: a location threshold (scope location) or the item's overall threshold across all locations (scope overall). Alerts are checked on every stock or threshold change. While the item stays at or below the threshold, the next change alerts again only once the alert cooldown has passed since the last alert (low_stock.alert_cooldown_hours in GET /inventory/limits); after available rises above the threshold, the next drop alerts again at once. App subscriptions receive location alerts for merchant-managed locations and the app's own locations, never overall alerts, which span every location; the store's own webhook endpoints receive both.
Payload fields
| Field | Type | Description |
|---|---|---|
item_type |
string |
Selectable in the Payload builder
|
scope |
string |
Selectable in the Payload builder
|
group_id |
string |
Selectable in the Payload builder
The inventory group, for group alerts. |
group_name |
string |
Selectable in the Payload builder
The inventory group's name, for group alerts. |
product_id |
integer |
Selectable in the Payload builder
The product, or the variant's parent product. |
variant_id |
integer |
Selectable in the Payload builder
The variant, for variant alerts. |
product_title |
string |
Selectable in the Payload builder
The product title. |
variant_sku |
string |
Selectable in the Payload builder
The variant's SKU, for variant alerts. |
variant_title |
string |
Selectable in the Payload builder
The variant title, for variant alerts. |
location_id |
string |
Selectable in the Payload builder
The location, for location alerts. |
location_name |
string |
Selectable in the Payload builder
The location's name, for location alerts. |
available |
integer |
Selectable in the Payload builder
Available units (on hand minus held) when the alert fired. The alert fires when this is at or below threshold. |
threshold |
integer |
Selectable in the Payload builder
The threshold that was reached: the location's threshold, or the item's overall threshold. |
Stock levels updated in bulk
Fired when one write changes stock for more than one item: each chunk of a bulk stock sync job or a stock CSV import, each batch of a location delete that moves or clears the location's stock, and each Store API, Store Admin or MCP stock write of more than one row by SKU (POST /inventory/adjustments). An inventory group's own writes (set, adjust, threshold and bulk changes across its locations) change one item and send inventory_levels/update per location instead. One event per location, carrying every level that changed (up to 1,000) in levels[], each shaped like an inventory_levels/update event; source says which write it was. Rows whose quantity didn't change are not included. A single-row write sends inventory_levels/update instead.
Payload fields
| Field | Type | Description |
|---|---|---|
location_id |
string |
Always present
The location the write applied to. Every level in levels[] is at this location. |
source |
string |
Always present
What wrote the levels: |
sync_job_id |
string |
Selectable in the Payload builder
The bulk stock sync job, when |
import_job_id |
string |
Selectable in the Payload builder
The stock CSV import job, when |
location_delete_job_id |
string |
Selectable in the Payload builder
The location delete job, when |
reason |
string |
Selectable in the Payload builder
The reason recorded, one of |
levels[*].item_type |
string |
Always present |
levels[*].product_id |
integer | null |
Selectable in the Payload builder |
levels[*].variant_id |
integer | null |
Selectable in the Payload builder |
levels[*].group_id |
string |
Selectable in the Payload builder |
levels[*].sku |
string |
Selectable in the Payload builder |
levels[*].location_id |
string |
Selectable in the Payload builder |
levels[*].quantity |
integer |
Selectable in the Payload builder |
levels[*].reserved |
integer |
Selectable in the Payload builder |
levels[*].checkout_held |
integer |
Selectable in the Payload builder |
levels[*].order_committed |
integer |
Selectable in the Payload builder |
levels[*].other_held |
integer |
Selectable in the Payload builder |
levels[*].available |
integer |
Selectable in the Payload builder |
levels[*].low_stock_threshold |
integer | null |
Selectable in the Payload builder |
levels[*].change |
integer |
Selectable in the Payload builder |
levels[*].reason |
string |
Selectable in the Payload builder |
levels[*].changed_fields |
array |
Selectable in the Payload builder |
levels[*].occurred_at |
string |
Selectable in the Payload builder |
occurred_at |
string |
Selectable in the Payload builder
Time in the store's time zone, with its offset (RFC 3339), when the levels were applied. |
Stock level changed
Fired when stock at a location changes — one event per affected item and location (product, variant or inventory group), carrying the new on-hand quantity, the held amounts, available, the quantity change and the reason. change is 0 when only held amounts move. While a delivery for the same item, location and reason is still pending, a newer change replaces it: the delivery carries the latest levels and change becomes the sum of both. Sync integrations should treat this as the source of truth for levels.
Possible changed_fields values
The changed_fields array names exactly which of these changed in this event — use it to skip processing updates your integration doesn't care about.
checkout_held low_stock_threshold order_committed other_held quantity reserved
Payload fields
| Field | Type | Description |
|---|---|---|
item_type |
string |
Always present
|
product_id |
integer | null |
Selectable in the Payload builder
The product, for product events, and the variant's parent product, for variant events. |
variant_id |
integer | null |
Selectable in the Payload builder
The variant, for variant events. |
group_id |
string |
Selectable in the Payload builder
The inventory group, for inventory_group events. |
sku |
string |
Selectable in the Payload builder
The inventory group's SKU on group stock edits and transfers, and the product's or variant's SKU on transfer events. Omitted on order-driven events and on other product and variant events; identify the item by product_id, variant_id or group_id. |
location_id |
string |
Selectable in the Payload builder
The location whose stock changed. One event is sent per affected item and location. |
quantity |
integer |
Selectable in the Payload builder
On-hand units at the location after the change. |
reserved |
integer |
Selectable in the Payload builder
All held units: checkout_held + order_committed + other_held. |
checkout_held |
integer |
Selectable in the Payload builder
Units held for checkouts waiting for an online payment. |
order_committed |
integer |
Selectable in the Payload builder
Units committed to placed orders that have not shipped. |
other_held |
integer |
Selectable in the Payload builder
Units set aside for stock transfers (In transfers in Store Admin). |
available |
integer |
Selectable in the Payload builder
quantity - reserved: the units that can still be sold at this location. Never below zero. |
low_stock_threshold |
integer | null |
Selectable in the Payload builder
The location's low-stock threshold, or null when none is set. |
change |
integer |
Selectable in the Payload builder
The change in on-hand quantity. 0 when only held amounts or the threshold changed. When a newer change for the same item, location and reason replaced a pending delivery, the sum of both. |
reason |
string |
Selectable in the Payload builder
Why the level changed. Stock edits by staff, apps, the Store API and stock CSV imports: |
changed_fields |
array |
Selectable in the Payload builder
Which values changed: any of |
occurred_at |
string |
Selectable in the Payload builder
Time in the store's time zone, with its offset (RFC 3339), when the change happened. |
Stock sync finished
Fired when a bulk stock sync job finishes, with its final status and how many rows changed, were unchanged and failed.
Payload fields
| Field | Type | Description |
|---|---|---|
sync_job_id |
string |
Always present
The bulk stock sync job. |
location_id |
string |
Selectable in the Payload builder
The location the job wrote to. |
status |
string |
Selectable in the Payload builder
|
rows_total |
integer |
Selectable in the Payload builder
Rows in the uploaded file. |
rows_changed |
integer |
Selectable in the Payload builder
Rows whose quantity changed. |
rows_unchanged |
integer |
Selectable in the Payload builder
Rows whose quantity was already the value in the file: no movement, audit entry or webhook was written for them. |
rows_failed |
integer |
Selectable in the Payload builder
Rows that couldn't be applied; the job's errors list them. |
completed_at |
string |
Selectable in the Payload builder
Time in the store's time zone, with its offset (RFC 3339), when the job finished. |
Back-in-stock request created
Fired when a shopper asks to be told when an item can be bought again (Notify Me on the storefront or a headless site). Asking again for the same item and contact refreshes the request and sends nothing. The payload never carries the contact or the customer; read them with GET /inventory/restock-requests and read_customers.
Payload fields
| Field | Type | Description |
|---|---|---|
resource_type |
string |
Always present
Always |
resource_id |
string |
Always present
The request's id, the same as |
current |
object |
Always present
The request after the change. |
current.id |
string |
Always present
The request's id. |
current.product_id |
integer |
Always present
The product the shopper asked about. |
current.variant_id |
integer | null |
Always present
The variant, or null when the shopper asked for the whole product (any variant coming back answers it). |
current.contact_type |
string |
Always present
|
current.locale |
string |
Always present
The language the shopper asked in; the alert is sent in it. |
current.status |
string |
Always present
|
current.requested_at |
string |
Always present
When the shopper asked (or last asked again), RFC 3339 in the store's time zone. |
current.expires_at |
string | null |
Always present
When a pending request expires, or null. |
current.notified_at |
string | null |
Always present
When the alert was accepted for delivery, or null. |
current.status_reason |
string | null |
Always present
Why a request failed or was suppressed, or null. |
previous |
object | null |
Always present
Always null on create. |
previous.id |
string |
Always present
The request's id. |
previous.product_id |
integer |
Always present
The product the shopper asked about. |
previous.variant_id |
integer | null |
Always present
The variant, or null when the shopper asked for the whole product (any variant coming back answers it). |
previous.contact_type |
string |
Always present
|
previous.locale |
string |
Always present
The language the shopper asked in; the alert is sent in it. |
previous.status |
string |
Always present
|
previous.requested_at |
string |
Always present
When the shopper asked (or last asked again), RFC 3339 in the store's time zone. |
previous.expires_at |
string | null |
Always present
When a pending request expires, or null. |
previous.notified_at |
string | null |
Always present
When the alert was accepted for delivery, or null. |
previous.status_reason |
string | null |
Always present
Why a request failed or was suppressed, or null. |
changed_fields |
array |
Always present
Always empty on create. |
occurred_at |
string |
Always present
When the change happened, as an RFC 3339 timestamp in the store's time zone. |
Back-in-stock request updated
Fired when a back-in-stock request's status changes: queued (the alert is being sent), notified (the email or messaging provider accepted it), failed, suppressed or expired. Carries the request before and after, and changed_fields.
Payload fields
| Field | Type | Description |
|---|---|---|
resource_type |
string |
Always present
Always |
resource_id |
string |
Always present
The request's id, the same as |
current |
object |
Always present
The request after the change. |
current.id |
string |
Always present
The request's id. |
current.product_id |
integer |
Always present
The product the shopper asked about. |
current.variant_id |
integer | null |
Always present
The variant, or null when the shopper asked for the whole product (any variant coming back answers it). |
current.contact_type |
string |
Always present
|
current.locale |
string |
Always present
The language the shopper asked in; the alert is sent in it. |
current.status |
string |
Always present
|
current.requested_at |
string |
Always present
When the shopper asked (or last asked again), RFC 3339 in the store's time zone. |
current.expires_at |
string | null |
Always present
When a pending request expires, or null. |
current.notified_at |
string | null |
Always present
When the alert was accepted for delivery, or null. |
current.status_reason |
string | null |
Always present
Why a request failed or was suppressed, or null. |
previous |
object | null |
Always present
The request before the change. |
previous.id |
string |
Always present
The request's id. |
previous.product_id |
integer |
Always present
The product the shopper asked about. |
previous.variant_id |
integer | null |
Always present
The variant, or null when the shopper asked for the whole product (any variant coming back answers it). |
previous.contact_type |
string |
Always present
|
previous.locale |
string |
Always present
The language the shopper asked in; the alert is sent in it. |
previous.status |
string |
Always present
|
previous.requested_at |
string |
Always present
When the shopper asked (or last asked again), RFC 3339 in the store's time zone. |
previous.expires_at |
string | null |
Always present
When a pending request expires, or null. |
previous.notified_at |
string | null |
Always present
When the alert was accepted for delivery, or null. |
previous.status_reason |
string | null |
Always present
Why a request failed or was suppressed, or null. |
changed_fields |
array |
Always present
Which fields changed, such as |
occurred_at |
string |
Always present
When the change happened, as an RFC 3339 timestamp in the store's time zone. |
Transfer created
Fired when a stock transfer is created (status pending).
Payload fields
| Field | Type | Description |
|---|---|---|
resource_type |
string |
Selectable in the Payload builder
Always |
resource_id |
string |
Selectable in the Payload builder
The transfer's id (UUID). |
store_seq_id |
integer |
Selectable in the Payload builder
The transfer's number in the store, the digits of transfer_number. |
transfer_number |
string |
Selectable in the Payload builder
The stable transfer number shown to staff, such as TRF-000042. |
occurred_at |
string |
Selectable in the Payload builder
When it happened, in the store's time zone with its offset (RFC 3339). |
status |
string |
Selectable in the Payload builder
The transfer's status after this event: |
previous_status |
string |
Selectable in the Payload builder
The status before this event. Omitted when the transfer is created or deleted. |
from_location_id |
string | null |
Selectable in the Payload builder
The source or destination location's id, kept after the location is deleted. |
from_location_name |
string |
Selectable in the Payload builder
The source or destination location's name, kept after the location is deleted. |
to_location_id |
string | null |
Selectable in the Payload builder
The source or destination location's id, kept after the location is deleted. |
to_location_name |
string |
Selectable in the Payload builder
The source or destination location's name, kept after the location is deleted. |
reference_number |
string | null |
Selectable in the Payload builder
The merchant's own reference for the shipment, omitted when none was set. |
item_count |
integer |
Selectable in the Payload builder
How many lines the transfer has. |
total_quantity |
integer |
Selectable in the Payload builder
Units across every line. |
Transfer deleted
Fired when a Pending stock transfer document is deleted.
Payload fields
| Field | Type | Description |
|---|---|---|
resource_type |
string |
Selectable in the Payload builder
Always |
resource_id |
string |
Selectable in the Payload builder
The transfer's id (UUID). |
store_seq_id |
integer |
Selectable in the Payload builder
The transfer's number in the store, the digits of transfer_number. |
transfer_number |
string |
Selectable in the Payload builder
The stable transfer number shown to staff, such as TRF-000042. |
occurred_at |
string |
Selectable in the Payload builder
When it happened, in the store's time zone with its offset (RFC 3339). |
status |
string |
Selectable in the Payload builder
The transfer's status after this event: |
previous_status |
string |
Selectable in the Payload builder
The status before this event. Omitted when the transfer is created or deleted. |
from_location_id |
string | null |
Selectable in the Payload builder
The source or destination location's id, kept after the location is deleted. |
from_location_name |
string |
Selectable in the Payload builder
The source or destination location's name, kept after the location is deleted. |
to_location_id |
string | null |
Selectable in the Payload builder
The source or destination location's id, kept after the location is deleted. |
to_location_name |
string |
Selectable in the Payload builder
The source or destination location's name, kept after the location is deleted. |
reference_number |
string | null |
Selectable in the Payload builder
The merchant's own reference for the shipment, omitted when none was set. |
item_count |
integer |
Selectable in the Payload builder
How many lines the transfer has. |
total_quantity |
integer |
Selectable in the Payload builder
Units across every line. |
Transfer received
Fired for every receipt recorded against an in-transit transfer, with the received, short and damaged units per line. A receipt that accounts for every remaining unit also fires transfers/status_changed to completed. Stock changes arrive separately as inventory_levels/update.
Payload fields
| Field | Type | Description |
|---|---|---|
resource_type |
string |
Selectable in the Payload builder
Always |
resource_id |
string |
Selectable in the Payload builder
The transfer's id (UUID). |
store_seq_id |
integer |
Selectable in the Payload builder
The transfer's number in the store, the digits of transfer_number. |
transfer_number |
string |
Selectable in the Payload builder
The stable transfer number shown to staff, such as TRF-000042. |
occurred_at |
string |
Selectable in the Payload builder
When it happened, in the store's time zone with its offset (RFC 3339). |
status |
string |
Selectable in the Payload builder
The transfer's status after this event: |
previous_status |
string |
Selectable in the Payload builder
The status before this event. Omitted when the transfer is created or deleted. |
from_location_id |
string | null |
Selectable in the Payload builder
The source or destination location's id, kept after the location is deleted. |
from_location_name |
string |
Selectable in the Payload builder
The source or destination location's name, kept after the location is deleted. |
to_location_id |
string | null |
Selectable in the Payload builder
The source or destination location's id, kept after the location is deleted. |
to_location_name |
string |
Selectable in the Payload builder
The source or destination location's name, kept after the location is deleted. |
reference_number |
string | null |
Selectable in the Payload builder
The merchant's own reference for the shipment, omitted when none was set. |
item_count |
integer |
Selectable in the Payload builder
How many lines the transfer has. |
total_quantity |
integer |
Selectable in the Payload builder
Units across every line. |
receipt_id |
string |
Selectable in the Payload builder
The receipt just recorded. |
receipt_number |
integer |
Selectable in the Payload builder
The receipt's number on this transfer, counting from 1. |
lines[*].transfer_item_id |
string |
Selectable in the Payload builder
The transfer line, the same as items[].id when the transfer is read. |
lines[*].item_type |
string |
Selectable in the Payload builder
|
lines[*].product_id |
integer | null |
Selectable in the Payload builder
The item the line moves; only the id matching item_type is set. |
lines[*].variant_id |
integer | null |
Selectable in the Payload builder
The item the line moves; only the id matching item_type is set. |
lines[*].group_id |
string | null |
Selectable in the Payload builder
The item the line moves; only the id matching item_type is set. |
lines[*].sku |
string |
Selectable in the Payload builder
The item's SKU when the transfer was created. |
lines[*].received_quantity |
integer |
Selectable in the Payload builder
Units this receipt added to the destination. |
lines[*].short_quantity |
integer |
Selectable in the Payload builder
Units this receipt reported as never sent; they are available at the source again. |
lines[*].damaged_quantity |
integer |
Selectable in the Payload builder
Units this receipt wrote off as damaged; they leave the source and never reach the destination. |
lines[*].remaining_quantity |
integer |
Selectable in the Payload builder
Units of the line still unaccounted for after this receipt. |
received_quantity_total |
integer |
Selectable in the Payload builder
The total across every receipt on the transfer so far. |
short_quantity_total |
integer |
Selectable in the Payload builder
The total across every receipt on the transfer so far. |
damaged_quantity_total |
integer |
Selectable in the Payload builder
The total across every receipt on the transfer so far. |
remaining_quantity_total |
integer |
Selectable in the Payload builder
Units across every line still unaccounted for. 0 means this receipt completed the transfer. |
Transfer status changed
Fired on every transfer status transition (pending → in_transit → completed / cancelled), carrying the previous and new status. Completion stock changes arrive separately as inventory_levels/update.
Payload fields
| Field | Type | Description |
|---|---|---|
resource_type |
string |
Selectable in the Payload builder
Always |
resource_id |
string |
Selectable in the Payload builder
The transfer's id (UUID). |
store_seq_id |
integer |
Selectable in the Payload builder
The transfer's number in the store, the digits of transfer_number. |
transfer_number |
string |
Selectable in the Payload builder
The stable transfer number shown to staff, such as TRF-000042. |
occurred_at |
string |
Selectable in the Payload builder
When it happened, in the store's time zone with its offset (RFC 3339). |
status |
string |
Selectable in the Payload builder
The transfer's status after this event: |
previous_status |
string |
Selectable in the Payload builder
The status before this event. Omitted when the transfer is created or deleted. |
from_location_id |
string | null |
Selectable in the Payload builder
The source or destination location's id, kept after the location is deleted. |
from_location_name |
string |
Selectable in the Payload builder
The source or destination location's name, kept after the location is deleted. |
to_location_id |
string | null |
Selectable in the Payload builder
The source or destination location's id, kept after the location is deleted. |
to_location_name |
string |
Selectable in the Payload builder
The source or destination location's name, kept after the location is deleted. |
reference_number |
string | null |
Selectable in the Payload builder
The merchant's own reference for the shipment, omitted when none was set. |
item_count |
integer |
Selectable in the Payload builder
How many lines the transfer has. |
total_quantity |
integer |
Selectable in the Payload builder
Units across every line. |