API referenceInventory
List stock changes
GET
List stock changes, newest first.
storeKeyheader
AuthorizationBearer <vtk_...>A store API and MCP key
storeId*stringThe store id
limit?integerRange
1 <= value <= 100Default
25page?integerRange
1 <= valueDefault
1variant_id?stringFormat
uuidproduct_id?stringFormat
uuidorder_id?stringFormat
uuidpurchase_order_id?stringFormat
uuidreason?stringValue in
"order""cancel""refund_restock""return_restock""edit""manual""count""received""import"created_after?stringFormat
date-timecreated_before?stringFormat
date-timeOK
application/json- response
data*array<>pagination*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 }}