Stock & transfers

Read unified stock levels, the movement ledger, and low-stock state; apply batched adjustments; manage transfers and restock demand through the Store API.

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 read_inventory

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

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List stock levels

GET read_inventory

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

simple, variant, or group.

Example: variant
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.

Example: true
cursor string

Opaque next_cursor from the previous page; replaces page. Send the same filters and sorting with it. Page numbers reach the first 10,000 rows; read further with the cursor.

page integer

Page number, starting at 1.

Example: 1
limit integer

Rows per page, up to the limits endpoint's list_max_limit.

Example: 50
sort_by string

One of the limits endpoint's sort_columns. Invalid values return a coded 400.

sort_direction string

asc or desc.

Example: desc

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 VALIDATION_LIST_INVALID_PAGE

    Page must be a positive integer.

  • 400 VALIDATION_LIST_INVALID_LIMIT

    Limit is not a positive whole number.

  • 400 STORE_API_INVALID_REQUEST_BODY

    A boolean or UUID filter is malformed.

  • 400 STOCK_LEVEL_PER_PAGE_RANGE

    Limit is above levels.list_max_limit from GET /inventory/limits.

  • 400 STOCK_LEVEL_INVALID_SORT_BY

    Sort column is not in sort_columns.

  • 400 STOCK_LEVEL_INVALID_SORT_DIR

    Sort direction must be asc or desc.

  • 400 STOCK_LEVEL_SEARCH_TOO_LONG

    Search exceeds the search length limit.

  • 400 STOCK_LEVEL_ITEM_TYPE_FILTER_INVALID

    Item_type is not simple, variant, or group.

  • 400 INVALID_INPUT

    cursor is not a stock-levels cursor for these filters and sorting, or page reaches past the first 10,000 rows.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List movements

GET read_inventory

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

simple, variant, or group.

reason string

One movement reason: a value of the limits endpoint's movements.reason_options.

Example: received
search string

Matches SKU or item title.

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.

page integer

Page number, starting at 1.

Example: 1
limit integer

Rows per page, up to the limits endpoint's list_max_limit.

Example: 50
sort_by string

One of the limits endpoint's sort_columns. Invalid values return a coded 400.

sort_direction string

asc or desc.

Example: desc

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 VALIDATION_LIST_INVALID_PAGE

    Page must be a positive integer.

  • 400 VALIDATION_LIST_INVALID_LIMIT

    Limit must be a positive integer no greater than this list's list_max_limit from GET /inventory/limits.

  • 400 INVENTORY_MOVEMENT_LIST_INVALID_SORT_BY

    Sort column is not in sort_columns.

  • 400 INVENTORY_MOVEMENT_LIST_INVALID_SORT_DIRECTION

    Sort direction must be asc or desc.

  • 400 INVENTORY_MOVEMENT_LIST_INVALID_TYPE

    Item_type is not simple, variant, or group.

  • 400 INVENTORY_MOVEMENT_SEARCH_TOO_LONG

    Search exceeds the search length limit.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List low-stock items

GET read_inventory

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 scope=overall.

type string

simple, variant, or group.

scope string

location or overall. Overall thresholds are supported for tracked simple products, variants, and inventory groups.

search string

Matches SKU or item title.

page integer

Page number, starting at 1.

Example: 1
limit integer

Rows per page, up to the limits endpoint's list_max_limit.

Example: 50
sort_by string

One of the limits endpoint's sort_columns. Invalid values return a coded 400.

sort_direction string

asc or desc.

Example: desc

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 VALIDATION_LIST_INVALID_PAGE

    Page must be a positive integer.

  • 400 VALIDATION_LIST_INVALID_LIMIT

    Limit must be a positive integer no greater than this list's list_max_limit from GET /inventory/limits.

  • 400 LOW_STOCK_LIST_INVALID_SORT_BY

    Sort column is not in sort_columns.

  • 400 LOW_STOCK_LIST_INVALID_SORT_DIRECTION

    Sort direction must be asc or desc.

  • 400 LOW_STOCK_LIST_INVALID_TYPE

    Type is not simple, variant, or group.

  • 400 LOW_STOCK_LIST_INVALID_SCOPE

    Scope is not location or overall.

  • 400 LOW_STOCK_SEARCH_TOO_LONG

    Search exceeds the search length limit.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List current commitments

GET read_inventory

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 next_cursor of the previous page. Omit it for the first page.

Example: eyJ0IjoiMjAyNi0wNy0wNlQxMDoyNTowMFoifQ
limit integer

Page size, 1 to commitments.list_max_limit from GET /inventory/limits. Defaults to commitments.list_page_size.

Example: 50
source_type string

Item type: product (a simple product), variant, or group (an inventory group). Required with source_id.

Example: variant
source_id string

Item id: the numeric product or variant id, or the inventory group UUID.

Example: 4821
location_id uuid

Filter to one visible location.

Example: af720cef-7f1b-40f4-a5f8-8a55ea5b0d84

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 VALIDATION_LIST_INVALID_LIMIT

    Limit must be between 1 and commitments.list_max_limit from GET /inventory/limits.

  • 400 INVALID_INPUT

    A filter is invalid: the error names cursor, source_type, source_id, location_id, event_type, from_date or to_date.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List commitment activity

GET read_inventory

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 next_cursor of the previous page. Omit it for the first page.

Example: eyJ0IjoiMjAyNi0wNy0wNlQxMDoyNTowMFoifQ
limit integer

Page size, 1 to commitments.list_max_limit from GET /inventory/limits. Defaults to commitments.list_page_size.

Example: 50
source_type string

Item type: product (a simple product), variant, or group (an inventory group). Required with source_id.

Example: variant
source_id string

Item id: the numeric product or variant id, or the inventory group UUID.

Example: 4821
location_id uuid

Filter to one visible location.

Example: af720cef-7f1b-40f4-a5f8-8a55ea5b0d84
event_type string

Filter by provisional_held, committed, released, reacquired, fulfilled, or fulfillment_reversed.

Example: committed
from_date string

Inclusive start date, YYYY-MM-DD in the store timezone.

Example: 2026-07-01
to_date string

Inclusive end date, YYYY-MM-DD in the store timezone.

Example: 2026-07-31

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 VALIDATION_LIST_INVALID_LIMIT

    Limit must be between 1 and commitments.list_max_limit from GET /inventory/limits.

  • 400 INVALID_INPUT

    A filter is invalid: the error names cursor, source_type, source_id, location_id, event_type, from_date or to_date.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Create a stock sync upload

POST write_inventory Admin tokens only

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: original_filename, mime_type (text/csv) and size_bytes.

Example: [{"original_filename":"stock.csv","mime_type":"text/csv","size_bytes":2400000}]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Finalize a stock sync upload

POST write_inventory Admin tokens only

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.

Example: ["0b2f6c1e-7d4a-4c3b-9e5f-1a2b3c4d5e6f"]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Check a stock sync upload

POST write_inventory Admin tokens only

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.

Example: ["0b2f6c1e-7d4a-4c3b-9e5f-1a2b3c4d5e6f"]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Start a stock sync

POST write_inventory Admin tokens only

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.

Example: af720cef-7f1b-40f4-a5f8-8a55ea5b0d84
file_id required uuid

The file id of the finalized upload intent.

Example: 5d3a1c7e-2f4b-4a6c-8e9d-0b1c2d3e4f5a
reason string

Movement reason recorded for every change: a value of the limits endpoint's adjustments.user_reason_options. Defaults to correction.

Example: recount

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 LOCATION_APP_MANAGED_NO_EDIT

    A merchant token named a location an app manages.

  • 404 LOCATION_NOT_FOUND

    No such location in this store.

  • 409 INVENTORY_SYNC_JOB_ACTIVE

    A sync is already running for this location.

  • 400 STOCK_LEVEL_REASON_INVALID

    reason is not one of the user reasons.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Get a stock sync

GET read_inventory Admin tokens only

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.

Example: 6b1f0c2e-9d3a-4e57-8c21-4f0a9e7d5b13

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 404 INVENTORY_SYNC_JOB_NOT_FOUND

    No such job in this store, or another app's.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Apply adjustments

POST write_inventory

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 STOCK_WRITE_IDEMPOTENCY_CONFLICT.

Example: scanner-count-2026-09-27-aisle-4

Body parameters

Name Type Description
location_id string

Default location for rows that do not name their own (UUID). Required unless every row has location_id.

Example: 0b54c9c1-6a2f-4f6e-9d1c-7e8a2b3c4d5e
continue_on_error boolean

When true, rows that can't be applied (an unknown SKU, a refused quantity, an expected_quantity mismatch) are reported in results with status failed, code and message, and every other row is applied; totals.failed counts them. Defaults to false: the first failing row refuses the whole batch. Sync jobs over many SKUs should send true.

Example: true
items required array<object>

Up to the limits endpoint's max_batch_size rows. Each row: sku (string, required — resolves to a simple product, variant, or inventory group), optional location_id (UUID, overrides the batch location), exactly one of adjust (integer, signed delta) or set (integer ≥ 0, absolute), optional expected_quantity (integer ≥ 0, set rows only — the on-hand quantity you counted against), reason (string, required — a value of the limits endpoint's adjustments.user_reason_options), and optional notes.

Example: [{"sku":"TRAIL-TEE-FOR-M","adjust":5,"reason":"received"},{"sku":"TRAIL-TEE-FOR-L","set":30,"expected_quantity":28,"reason":"recount"}]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STOCK_LEVEL_BATCH_ITEMS_REQUIRED

    The batch has no rows.

  • 400 STOCK_LEVEL_BATCH_TOO_LARGE

    The batch exceeds the adjustment batch cap.

  • 400 STOCK_LEVEL_BATCH_DUPLICATE_ROW

    A SKU appears more than once for the same location, in any letter case.

  • 400 STOCK_LEVEL_ACTION_INVALID

    A row does not contain exactly one of adjust or set.

  • 400 STOCK_LEVEL_ADJUST_ZERO

    An adjust row's change is 0.

  • 400 PRODUCT_LOCATION_REQUIRED

    A row names no location_id and the batch has none.

  • 400 STOCK_LEVEL_REASON_INVALID

    A row's reason is not one of the user reasons. Row failures carry details.row, details.sku and details.location_id; nothing in the batch is applied.

  • 404 STOCK_LEVEL_NO_PRODUCT_FOR_SKU

    A row's SKU does not resolve to a tracked simple product, variant, or inventory group. Nothing in the batch is applied.

  • 400 STOCK_LEVEL_SET_BELOW_RESERVED

    A 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.

  • 400 STOCK_LEVEL_ADJUST_NEGATIVE

    An adjust row would make on hand negative. Nothing in the batch is applied.

  • 400 STOCK_LEVEL_EXPECTED_QUANTITY_INVALID

    expected_quantity is negative.

  • 400 STOCK_LEVEL_EXPECTED_QUANTITY_SET_ONLY

    expected_quantity was sent on an adjust row.

  • 409 STOCK_LEVEL_EXPECTED_QUANTITY_MISMATCH

    A set row's expected_quantity differs from the current on-hand quantity (params.expected, params.current). Nothing in the batch is applied.

  • 400 STOCK_WRITE_IDEMPOTENCY_KEY_TOO_LONG

    Idempotency-Key exceeds 200 characters.

  • 409 STOCK_WRITE_IDEMPOTENCY_CONFLICT

    The idempotency key was already used for a different stock write.

  • 400 LOCATION_NOT_FOUND

    The location does not exist in this store.

  • 403 LOCATION_APP_MANAGED_NO_EDIT

    The location belongs to another app or its owning installation is inactive.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Set product low-stock threshold

POST write_inventory

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.

Example: 118

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.

Example: 0b54c9c1-6a2f-4f6e-9d1c-7e8a2b3c4d5e
low_stock_threshold required integer|null

Required: a whole number sets the threshold (0 is valid), null clears it.

Example: 10

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STOCK_LEVEL_THRESHOLD_REQUIRED

    low_stock_threshold is missing. Send null to clear the threshold.

  • 400 STOCK_LEVEL_LOW_THRESHOLD_NEGATIVE

    The threshold is negative.

  • 400 PRODUCT_LOW_STOCK_TOO_LARGE

    The threshold exceeds max_inventory_quantity (params.max).

  • 400 PRODUCT_INVENTORY_ONLY_WHEN_TRACK

    The item does not track its own stock (inventory_source is none or group).

  • 404 NOT_FOUND

    No product with this ID in the store.

  • 404 LOCATION_NOT_FOUND

    The location does not exist in this store.

  • 403 LOCATION_APP_MANAGED_NO_EDIT

    The location belongs to another app or its owning installation is inactive.

  • 400 PRODUCT_INVENTORY_VARIABLE_USE_VARIANTS

    The product is variable: set thresholds on its variants.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Set variant low-stock threshold

POST write_inventory

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.

Example: 118
variantId required integer

Variant ID; it must belong to the product.

Example: 342

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.

Example: 0b54c9c1-6a2f-4f6e-9d1c-7e8a2b3c4d5e
low_stock_threshold required integer|null

Required: a whole number sets the threshold (0 is valid), null clears it.

Example: 10

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STOCK_LEVEL_THRESHOLD_REQUIRED

    low_stock_threshold is missing. Send null to clear the threshold.

  • 400 STOCK_LEVEL_LOW_THRESHOLD_NEGATIVE

    The threshold is negative.

  • 400 PRODUCT_LOW_STOCK_TOO_LARGE

    The threshold exceeds max_inventory_quantity (params.max).

  • 400 PRODUCT_INVENTORY_ONLY_WHEN_TRACK

    The item does not track its own stock (inventory_source is none or group).

  • 404 NOT_FOUND

    No product with this ID in the store.

  • 404 LOCATION_NOT_FOUND

    The location does not exist in this store.

  • 403 LOCATION_APP_MANAGED_NO_EDIT

    The location belongs to another app or its owning installation is inactive.

  • 404 PRODUCT_VARIANT_NOT_FOUND

    The variant does not exist or belongs to another product.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List transfers

GET read_inventory

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

pending, in_transit, completed, or cancelled.

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, YYYY-MM-DD in the store timezone.

to_date string

Inclusive end date, YYYY-MM-DD in the store timezone.

page integer

Page number, starting at 1.

Example: 1
limit integer

Rows per page, up to the limits endpoint's list_max_limit.

Example: 50
sort_by string

One of the limits endpoint's sort_columns. Invalid values return a coded 400.

sort_direction string

asc or desc.

Example: desc

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 VALIDATION_LIST_INVALID_PAGE

    Page must be a positive integer.

  • 400 VALIDATION_LIST_INVALID_LIMIT

    Limit must be a positive integer no greater than this list's list_max_limit from GET /inventory/limits.

  • 400 INVALID_INPUT

    A source or destination location filter is not a valid UUID.

  • 400 TRANSFER_LIST_INVALID_SORT_BY

    Sort column is not in sort_columns.

  • 400 TRANSFER_LIST_INVALID_SORT_DIRECTION

    Sort direction must be asc or desc.

  • 400 TRANSFER_STATUS_FILTER_INVALID

    Status filter is not a transfer status.

  • 400 TRANSFER_SEARCH_TOO_LONG

    Search exceeds the search length limit.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Get transfer

GET read_inventory

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).

Example: d3b7c2a4-91e5-4f0a-b6c8-2f4e5a6b7c8d

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 TRANSFER_INVALID_ID

    Transfer id is not a valid UUID.

  • 404 TRANSFER_NOT_FOUND

    Transfer does not exist in this store.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Create transfer

POST write_inventory

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.

Example: warehouse-a-to-shop-2026-08-30-01

Body parameters

Name Type Description
from_location_id required string

Source location (UUID). Must differ from the destination.

Example: 0b54c9c1-6a2f-4f6e-9d1c-7e8a2b3c4d5e
to_location_id required string

Destination location (UUID).

Example: 7c1d2e3f-4a5b-6c7d-8e9f-0a1b2c3d4e5f
reference_number string

Your reference, up to the limits endpoint's reference_number_max_length.

notes string

Free-form notes, up to notes_max_length.

items required array<object>

Up to max_items_per_transfer rows. Each row contains item_type (simple, variant, or group), exactly one matching id field (product_id, variant_id, or group_id), and quantity (integer ≥ 1, validated against available stock at the source). Simple products and variants must have inventory_source=track; transfer the linked group for group-backed items.

Example: [{"item_type":"variant","variant_id":342,"quantity":20}]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request JSON is malformed, has trailing data, or contains an unknown field.

  • 400 INVALID_INPUT

    A source or destination location id is not a valid UUID.

  • 400 TRANSFER_SAME_LOCATIONS

    Source and destination locations are the same.

  • 400 TRANSFER_ITEMS_REQUIRED

    The transfer has no items.

  • 400 TRANSFER_TOO_MANY_ITEMS

    The transfer exceeds max_items_per_transfer.

  • 400 TRANSFER_REFERENCE_NUMBER_TOO_LONG

    Reference number exceeds its published limit.

  • 400 TRANSFER_NOTES_TOO_LONG

    Notes exceed their published limit.

  • 400 TRANSFER_QUANTITY_NOT_POSITIVE

    Every line quantity must be at least one.

  • 400 TRANSFER_QUANTITY_TOO_LARGE

    A line quantity exceeds max_quantity.

  • 400 TRANSFER_INSUFFICIENT_STOCK

    A line's quantity exceeds available stock at the source location.

  • 400 TRANSFER_ITEM_TYPE_INVALID

    A line's item_type is not simple, variant, or group.

  • 400 TRANSFER_ITEM_IDENTIFIERS_INVALID

    A line contains an identifier that does not match its item_type.

  • 400 TRANSFER_PRODUCT_ID_REQUIRED

    A simple line is missing product_id.

  • 400 TRANSFER_VARIANT_ID_REQUIRED

    A variant line is missing variant_id.

  • 400 TRANSFER_GROUP_ID_REQUIRED

    A group line is missing group_id.

  • 400 TRANSFER_GROUP_ID_INVALID

    A group_id is not a valid UUID.

  • 400 TRANSFER_ITEM_SOURCE_NOT_TRACK

    A product or variant is group-backed; transfer its linked inventory group instead.

  • 400 TRANSFER_DUPLICATE_PRODUCT_ITEM

    The same simple product appears more than once.

  • 400 TRANSFER_DUPLICATE_VARIANT_ITEM

    The same variant appears more than once.

  • 400 TRANSFER_DUPLICATE_GROUP_ITEM

    The same inventory group appears more than once.

  • 400 TRANSFER_PRODUCT_NOT_FOUND

    The simple product does not exist in this store.

  • 400 TRANSFER_VARIANT_NOT_FOUND

    The variant does not exist in this store.

  • 400 TRANSFER_GROUP_NOT_FOUND

    The inventory group does not exist in this store.

  • 400 TRANSFER_PRODUCT_NO_STOCK_AT_SOURCE

    The simple product has no stock row at the source location.

  • 400 TRANSFER_VARIANT_NO_STOCK_AT_SOURCE

    The variant has no stock row at the source location.

  • 400 TRANSFER_GROUP_NO_STOCK_AT_SOURCE

    The inventory group has no stock row at the source location.

  • 400 TRANSFER_SOURCE_LOCATION_NOT_FOUND

    The source location does not exist in this store.

  • 400 TRANSFER_DEST_LOCATION_NOT_FOUND

    The destination location does not exist in this store.

  • 400 TRANSFER_SOURCE_LOCATION_INACTIVE

    The source location is inactive.

  • 400 TRANSFER_DEST_LOCATION_INACTIVE

    The destination location is inactive.

  • 400 TRANSFER_IDEMPOTENCY_KEY_TOO_LONG

    Idempotency-Key exceeds 200 characters.

  • 409 TRANSFER_IDEMPOTENCY_CONFLICT

    The idempotency key was already used for different transfer input.

  • 403 LOCATION_APP_MANAGED_NO_EDIT

    An 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.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Update transfer status

PUT write_inventory

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).

Example: d3b7c2a4-91e5-4f0a-b6c8-2f4e5a6b7c8d

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
status required string

Target status: in_transit or cancelled from pending; completed (receive every remaining unit) or cancelled from in transit.

Example: in_transit

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request JSON is malformed, has trailing data, or contains an unknown field.

  • 400 TRANSFER_INVALID_ID

    Transfer id is not a valid UUID.

  • 400 INVALID_INPUT

    Status is not a supported transfer status.

  • 400 TRANSFER_STATUS_TRANSITION_INVALID

    The target status is not reachable from the transfer's current status.

  • 400 TRANSFER_INSUFFICIENT_STOCK

    Source availability is no longer sufficient to ship the transfer.

  • 404 TRANSFER_NOT_FOUND

    Transfer does not exist in this store.

  • 409 TRANSFER_RESERVATION_INVARIANT

    The transfer inventory could not be reconciled safely; nothing changed.

  • 403 LOCATION_APP_MANAGED_NO_EDIT

    An 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.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Bulk update transfer status

POST write_inventory

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.

Example: d3b7c2a4-91e5-4f0a-b6c8-2f4e5a6b7c8d
status required string

One target status applied atomically to every selected transfer.

Example: in_transit

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request JSON is malformed, has trailing data, or contains an unknown field.

  • 400 TRANSFER_INVALID_ID

    Transfer id is not a valid UUID.

  • 400 INVALID_INPUT

    Status is not a supported transfer status.

  • 400 TRANSFER_STATUS_TRANSITION_INVALID

    The target status is not reachable from the transfer's current status.

  • 400 TRANSFER_INSUFFICIENT_STOCK

    Source availability is no longer sufficient to ship the transfer.

  • 404 TRANSFER_NOT_FOUND

    Transfer does not exist in this store.

  • 409 TRANSFER_RESERVATION_INVARIANT

    The transfer inventory could not be reconciled safely; nothing changed.

  • 403 LOCATION_APP_MANAGED_NO_EDIT

    An 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.

  • 400 TRANSFER_BULK_IDS_REQUIRED

    Select at least one transfer.

  • 400 TRANSFER_BULK_TOO_MANY

    The request exceeds the 100-transfer cap.

  • 400 TRANSFER_BULK_DUPLICATE_ID

    A transfer id appears more than once.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Receive transfer

POST write_inventory

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).

Example: d3b7c2a4-91e5-4f0a-b6c8-2f4e5a6b7c8d

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 STOCK_WRITE_IDEMPOTENCY_CONFLICT.

Example: dock-3-receipt-2026-09-27-01

Body parameters

Name Type Description
lines required array<object>

One row per transfer line being accounted for, at most one per line. Each row: transfer_item_id (uuid, from the transfer's items[].id), received_quantity, short_quantity, damaged_quantity (integers ≥ 0, omitted means 0, at least one positive, total ≤ the line's remaining_quantity).

Example: [{"transfer_item_id":"5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b","received_quantity":18,"short_quantity":1,"damaged_quantity":1}]
notes string

Optional receipt note, up to the transfer notes_max_length.

Example: Pallet 2 of 3; one unit crushed.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request JSON is malformed, has trailing data, or contains an unknown field.

  • 400 TRANSFER_INVALID_ID

    Transfer id is not a valid UUID.

  • 400 TRANSFER_RECEIVE_LINES_REQUIRED

    The receipt has no lines.

  • 400 TRANSFER_RECEIVE_TOO_MANY_LINES

    The receipt has more lines than the per-request cap.

  • 400 TRANSFER_RECEIVE_LINE_NOT_FOUND

    A transfer_item_id is not a line of this transfer.

  • 400 TRANSFER_RECEIVE_LINE_DUPLICATE

    A transfer line appears more than once.

  • 400 TRANSFER_RECEIVE_QUANTITY_INVALID

    A quantity is negative, or a line accounts for no units.

  • 400 TRANSFER_RECEIVE_EXCEEDS_REMAINING

    A line's received + short + damaged exceeds its remaining quantity.

  • 400 TRANSFER_NOTES_TOO_LONG

    Notes exceed their published limit.

  • 400 STOCK_WRITE_IDEMPOTENCY_KEY_TOO_LONG

    Idempotency-Key exceeds 200 characters.

  • 403 LOCATION_APP_MANAGED_NO_EDIT

    An 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.

  • 404 TRANSFER_NOT_FOUND

    Transfer does not exist in this store.

  • 409 TRANSFER_RECEIVE_NOT_IN_TRANSIT

    The transfer is not in transit.

  • 409 TRANSFER_RECEIVE_LOCATION_UNAVAILABLE

    The source or destination location no longer exists.

  • 400 TRANSFER_SOURCE_LOCATION_INACTIVE

    The source location is inactive or archived.

  • 400 TRANSFER_DEST_LOCATION_INACTIVE

    The destination location is inactive or archived.

  • 409 TRANSFER_RESERVATION_INVARIANT

    The transfer hold could not be reconciled safely; nothing changed.

  • 409 STOCK_WRITE_IDEMPOTENCY_CONFLICT

    The idempotency key was already used for a different receipt.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Delete transfer

DELETE write_inventory

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).

Example: d3b7c2a4-91e5-4f0a-b6c8-2f4e5a6b7c8d

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 TRANSFER_INVALID_ID

    Transfer id is not a valid UUID.

  • 403 LOCATION_APP_MANAGED_NO_EDIT

    An 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.

  • 404 TRANSFER_NOT_FOUND

    Transfer does not exist in this store.

  • 409 TRANSFER_IMMUTABLE

    Only pending transfers can be deleted.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The request body has a property; this endpoint takes no body. Send no body or an empty object {}.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Bulk delete transfers

POST write_inventory

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.

Example: d3b7c2a4-91e5-4f0a-b6c8-2f4e5a6b7c8d

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 TRANSFER_INVALID_ID

    Transfer id is not a valid UUID.

  • 403 LOCATION_APP_MANAGED_NO_EDIT

    An 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.

  • 404 TRANSFER_NOT_FOUND

    Transfer does not exist in this store.

  • 409 TRANSFER_IMMUTABLE

    Only pending transfers can be deleted.

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request JSON is malformed, has trailing data, or contains an unknown field.

  • 400 TRANSFER_BULK_IDS_REQUIRED

    Select at least one transfer.

  • 400 TRANSFER_BULK_TOO_MANY

    The request exceeds the 100-transfer cap.

  • 400 TRANSFER_BULK_DUPLICATE_ID

    A transfer id appears more than once.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List restock requests

GET read_inventory

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

pending, queued, notified, failed, suppressed, converted, cancelled, or expired. Queued means admitted but not yet accepted by the provider; notified means provider-accepted.

contact_type string

email or sms. SMS uses the requested channel and is not substituted with WhatsApp.

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 read_customers in addition to read_inventory.

page integer

Page number, starting at 1.

Example: 1
limit integer

Rows per page, up to the limits endpoint's list_max_limit.

Example: 50
sort_by string

One of the limits endpoint's sort_columns. Invalid values return a coded 400.

sort_direction string

asc or desc.

Example: desc

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Searching contact details requires read_customers.

  • 400 STORE_API_INVALID_REQUEST_BODY

    A product or variant id is malformed.

  • 400 INVENTORY_RESTOCK_LIST_LIMIT_RANGE

    Limit is outside 1..list_max_limit.

  • 400 INVENTORY_RESTOCK_LIST_PAGE_INVALID

    Page must be 1 or greater.

  • 400 INVENTORY_RESTOCK_LIST_STATUS_INVALID

    Status filter is not in the allowed set.

  • 400 INVENTORY_RESTOCK_LIST_CONTACT_TYPE_INVALID

    Contact type is not email or sms.

  • 400 INVENTORY_RESTOCK_LIST_SEARCH_TOO_LONG

    Search exceeds the search length limit.

  • 400 INVENTORY_RESTOCK_LIST_INVALID_SORT_BY

    Sort column is not in sort_columns.

  • 400 INVENTORY_RESTOCK_LIST_INVALID_SORT_DIR

    Sort direction must be asc or desc.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Restock request limits

GET read_inventory

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

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Restock request statistics

GET read_inventory

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

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Notify restock subscribers

POST write_inventory

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.

Example: 42
variant_id integer

Variant whose pending subscribers should be notified. Omit for product-level requests.

Example: 107

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body is malformed, contains unknown fields, or has an invalid product or variant id.

  • 400 INVENTORY_RESTOCK_PRODUCT_INVALID

    The product or requested variant does not exist in this store.

  • 400 INVENTORY_RESTOCK_UNAVAILABLE

    Notify Me is turned off, or the product isn't active or has no sellable stock.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Get restock settings

GET read_inventory

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

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Update restock settings

PUT write_inventory

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.

Example: true
request_expiry_days required integer

Days a new pending request remains eligible for notification.

Example: 90
auto_send_when_restocked required boolean

Whether Tringify automatically notifies eligible pending subscribers after stock becomes available.

Example: true

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body is malformed or contains unknown fields.

  • 400 INVENTORY_RESTOCK_EXPIRY_DAYS_INVALID

    request_expiry_days is outside the range returned by the settings endpoint.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Webhook events#

Low stock alert

EVENT inventory/low_stock App scope: read_inventory Staff permission: inventory:write

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

product (a simple product), variant or inventory_group.

scope string Selectable in the Payload builder

location for one location's threshold, or overall for the item's overall threshold across all locations.

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

EVENT inventory_levels/bulk_update App scope: read_inventory Staff permission: inventory:read

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 (a bulk stock sync job chunk), stock_import (a chunk of a stock CSV import) stock_write (a Store API, Store Admin or MCP stock write of more than one row; a single-row write sends inventory_levels/update instead) or location_delete (a batch of a location delete moving its stock to another location or clearing it: one event for the deleted location's levels and, for a move, one for the target location's).

sync_job_id string Selectable in the Payload builder

The bulk stock sync job, when source is sync_job.

import_job_id string Selectable in the Payload builder

The stock CSV import job, when source is stock_import.

location_delete_job_id string Selectable in the Payload builder

The location delete job, when source is location_delete.

reason string Selectable in the Payload builder

The reason recorded, one of received, returned, damaged, shrinkage, recount or correction; transferred when a location delete moves stock. A stock write may give each row its own reason; each level carries its own.

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

EVENT inventory_levels/update App scope: read_inventory Staff permission: inventory:read

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 (a simple product), variant or inventory_group.

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: received, returned, damaged, shrinkage, recount or correction; initial (first stock entered when a product, variant or group location is created), set_quantity (stock saved with a product or variant), threshold_updated (only a location's low-stock threshold changed: an inventory group's stock level, the product and variant set-threshold endpoints, or a stock CSV import; changed_fields is low_stock_threshold), location_removed (an empty group location was removed) or source_changed (a product's or variant's inventory source changed and its stock at every location was removed: one event per location, with every level at 0 and the removed on-hand units as a negative change). Orders: order_reserved (an order or an order edit took stock), payment_captured (a checkout hold became committed, or a released hold was taken again after a late payment), payment_retry (a retried payment took stock again), provider_init_failed, payment_failed or checkout_hold_expired (a checkout hold was released), order_released (an order was cancelled or removed), order_edited (an edit or a refund released units), order_edit_abandoned (a discarded edit released units), sold (a fulfillment shipped units, or items that don't need shipping were sold when committed) or returned (units went back on hand: a restock, a cancelled fulfillment, or an undone order or edit). Transfers: transfer_reserved (a transfer was shipped and its units set aside at the source), transferred (units were received or a transfer completed), transfer_damaged (units received damaged), transfer_short (units reported short) or transfer_released (an in-transit transfer was cancelled).

changed_fields array Selectable in the Payload builder

Which values changed: any of quantity, reserved, checkout_held, order_committed, other_held and low_stock_threshold.

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

EVENT inventory_sync_jobs/completed App scope: read_inventory Staff permission: inventory:read

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

completed, or failed when the job stopped before every row was applied.

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

EVENT restock_requests/create App scope: read_inventory Staff permission: inventory:read

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 restock_request.

resource_id string Always present

The request's id, the same as current.id.

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

email or sms (a text, sent by SMS, WhatsApp or both as the store's messaging app is set up).

current.locale string Always present

The language the shopper asked in; the alert is sent in it.

current.status string Always present

pending (waiting for the item to come back), queued (the email or text is being sent), notified (the email or messaging provider accepted it), failed (it could not be sent), suppressed (a setting or rule stopped it, such as an unsubscribed contact) or expired (the request ran out before the item came back).

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

email or sms (a text, sent by SMS, WhatsApp or both as the store's messaging app is set up).

previous.locale string Always present

The language the shopper asked in; the alert is sent in it.

previous.status string Always present

pending (waiting for the item to come back), queued (the email or text is being sent), notified (the email or messaging provider accepted it), failed (it could not be sent), suppressed (a setting or rule stopped it, such as an unsubscribed contact) or expired (the request ran out before the item came back).

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

EVENT restock_requests/update App scope: read_inventory Staff permission: inventory:read

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 restock_request.

resource_id string Always present

The request's id, the same as current.id.

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

email or sms (a text, sent by SMS, WhatsApp or both as the store's messaging app is set up).

current.locale string Always present

The language the shopper asked in; the alert is sent in it.

current.status string Always present

pending (waiting for the item to come back), queued (the email or text is being sent), notified (the email or messaging provider accepted it), failed (it could not be sent), suppressed (a setting or rule stopped it, such as an unsubscribed contact) or expired (the request ran out before the item came back).

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

email or sms (a text, sent by SMS, WhatsApp or both as the store's messaging app is set up).

previous.locale string Always present

The language the shopper asked in; the alert is sent in it.

previous.status string Always present

pending (waiting for the item to come back), queued (the email or text is being sent), notified (the email or messaging provider accepted it), failed (it could not be sent), suppressed (a setting or rule stopped it, such as an unsubscribed contact) or expired (the request ran out before the item came back).

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 status and notified_at.

occurred_at string Always present

When the change happened, as an RFC 3339 timestamp in the store's time zone.

Transfer created

EVENT transfers/create App scope: read_inventory Staff permission: inventory:write

Fired when a stock transfer is created (status pending).

Payload fields

Field Type Description
resource_type string Selectable in the Payload builder

Always transfer.

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: pending, in_transit, completed or cancelled.

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

EVENT transfers/delete App scope: read_inventory Staff permission: inventory:write

Fired when a Pending stock transfer document is deleted.

Payload fields

Field Type Description
resource_type string Selectable in the Payload builder

Always transfer.

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: pending, in_transit, completed or cancelled.

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

EVENT transfers/received App scope: read_inventory Staff permission: inventory:write

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 transfer.

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: pending, in_transit, completed or cancelled.

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

simple, variant or group.

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

EVENT transfers/status_changed App scope: read_inventory Staff permission: inventory:write

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 transfer.

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: pending, in_transit, completed or cancelled.

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.