Core API
...
Core API Docs
Variant Stock
Get Product Stock
GET
PATH PARAMETERS
SKU
string
*Product Variant SKU
HEADER PARAMETERS
Site-Id
string
*Example: jones-climbing
Spark Layer Site ID
RESPONSES
200
Successful response
ProductStock-2[]
stock_location_id
string
Example: sl_123
Stock Location ID (internal or external ID)
stock_level
integer<int32>
Example: 9
Quantity of stock held at the location
restock_date
string<date>
Example: 2020-01-01
Restock Date
min_stock_level
integer<int32>
Example: -9
Allow pre-ordering / overselling up to this qty. For example, if set to -9 and stock level was 0, 9 units could be sold.
default
Error Response
Updated 18 Sep 2023
Did this page help you?