Stock
Sell this variant from a shared stock pool (or stop, with poolId null)
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
application/json
curl -X PUT "https://example.com/v1/stores/string/variants/string/stock-pool" \ -H "Content-Type: application/json" \ -d '{ "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5" }'{ "mode": "unlimited", "available": -9007199254740991, "reserved": -9007199254740991, "onHand": -9007199254740991, "pool": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "unitsPerItem": -9007199254740991 }}