Skip to Content
StarsellDocs
API referenceInventory

List stock changes

GET
/stores/{storeId}/inventory/adjustments

List stock changes, newest first.

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
variant_id?string
Formatuuid
product_id?string
Formatuuid
order_id?string
Formatuuid
purchase_order_id?string
Formatuuid
reason?string
Value in"order""cancel""refund_restock""return_restock""edit""manual""count""received""import"
created_after?string
Formatdate-time
created_before?string
Formatdate-time

Response Body

OK

application/json
  1. response
data*array<>
pagination*
Example Request
curl -X GET 'https://starsell.app/api/v1/stores/string/inventory/adjustments'
Example Response
{  "data": [    {      "id": 0,      "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6",      "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",      "title": "string",      "variant_name": "string",      "sku": "string",      "reason": "order",      "delta": 0,      "previous_stock": 0,      "stock": 0,      "note": "string",      "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",      "order_label": "string",      "purchase_order_id": "21637704-484e-4c9d-a7ca-e34984d27d80",      "purchase_order_label": "string",      "user_name": "string",      "created_at": "2019-08-24T14:15:22Z"    }  ],  "pagination": {    "page": 0,    "limit": 0,    "total": 0,    "has_more": true  }}