Stock level
Price and stock of a product at one store, for multi-location markets. Sent inside a product.
- Sent to:
products[].stock_levels[]
Fields
| Field | Type | Required | Description |
|---|---|---|---|
location_id | string | Yes | Your store code. An element without it is rejected on its own; the product and its other stores still land. |
price | number | No | Price at this store. Not sent = unchanged. 0 = free. |
sale_price | number | No | Discounted price at this store. |
currency | string | No | Currency of the store prices. |
stock | integer | No | Units in stock at this store. Not sent = unknown. 0 = out of stock. |
availability | string | No | Availability 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>"
}