Skip to navigation

Update inventory thresholds

View as Markdown

Updates min_stock and/or max_stock. Quantity is changed through stock movements.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

productintegerRequired>=1

Request

This endpoint expects an object.
min_stockinteger or nullOptional>=0
max_stockinteger or nullOptional>=0

Response

Inventory updated successfully.
idinteger
quantityinteger>=0
min_stockinteger or null>=0
max_stockinteger or null>=0
productobject

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error