API referenceInventory
List stock levels
GET
List stock levels of tracked versions.
storeKeyheader
AuthorizationBearer <vtk_...>A store API and MCP key
storeId*stringThe store id
limit?integerRange
1 <= value <= 100Default
25page?integerRange
1 <= valueDefault
1product_id?stringFormat
uuidvariant_id?stringFormat
uuidsku?stringOne SKU, any case
state?stringlow: at or under the store's low stock level
Value in
"low""out""incoming"OK
application/json- response
data*array<>pagination*curl -X GET 'https://starsell.app/api/v1/stores/string/inventory'Example Response
{ "data": [ { "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6", "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1", "title": "string", "variant_name": "string", "sku": "string", "barcode": "string", "product_status": "active", "available": 0, "incoming": 0, "expected_at": "2019-08-24T14:15:22Z", "continue_selling": true, "low": true, "out": true } ], "pagination": { "page": 0, "limit": 0, "total": 0, "has_more": true }}