Skip to main content

Stock level

Price and stock of a product at one store, for multi-location markets. Sent inside a product.

Fields​

FieldTypeRequiredDescription
location_idstringYesYour store code. An element without it is rejected on its own; the product and its other stores still land.
pricenumberNoPrice at this store. Not sent = unchanged. 0 = free.
sale_pricenumberNoDiscounted price at this store.
currencystringNoCurrency of the store prices.
stockintegerNoUnits in stock at this store. Not sent = unknown. 0 = out of stock.
availabilitystringNoAvailability text at this store, e.g. in_stock or out_of_stock.

Shape​

{
"location_id": "STORE-012",
"price": 0,
"sale_price": 0,
"currency": "<currency>",
"stock": 0,
"availability": "<availability>"
}