API referenceSellauth format products
Set a variant’s stock count (SellAuth alias)
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
productId*string
variantId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://example.com/formats/sellauth/v1/shops/string/products/string/stock/string" \ -H "Content-Type: application/json" \ -d '{ "stock": -1 }'{ "property1": null, "property2": null}