Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

Shopify App Bridge session token of the embedded Depict: Search & Merchandising app. The shop in the token determines the merchant; merchant_id parameters must belong to that shop.

Path Parameters

product_id
string
required

Shopify product id (numeric string).

Query Parameters

merchant_id
string
required

Lite merchant id, e.g. shopify-<shop id>.

Response

Stock by market group.

market_groups
object[]
required

The merchant's market groups; empty for a single-market store.

variant_quantities_by_group
object
required

Market group name → variant id → available quantity.