Decrement Item's Stock

Decreases the stock of an item.

Decreases the stock of an item. Decreases in_stock by the quantity given in the body. This is called whenever fewer items are available, such as when a customer purchases the item. Could only fail if no item is found.

Path Params
string
required

ID of the item.

Query Params
int32
required

The amount to reduce the in_stock value.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json