API referenceStock
Add or remove counted stock
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
variantId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/stores/string/variants/string/stock" \ -H "Content-Type: application/json" \ -d '{ "delta": -9007199254740991 }'{ "mode": "unlimited", "available": -9007199254740991, "reserved": -9007199254740991, "onHand": -9007199254740991}