Skip to Content
StarsellDocs
API referenceInventory

List stock levels

GET
/stores/{storeId}/inventory

List stock levels of tracked versions.

Authorization

storeKey
headerAuthorizationBearer <vtk_...>

A store API and MCP key

Path Parameters

storeId*string

The store id

Query Parameters

limit?integer
Range1 <= value <= 100
Default25
page?integer
Range1 <= value
Default1
product_id?string
Formatuuid
variant_id?string
Formatuuid
sku?string

One SKU, any case

state?string

low: at or under the store's low stock level

Value in"low""out""incoming"

Response Body

OK

application/json
  1. response
data*array<>
pagination*
Example Request
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  }}