PUBLIC_PRODUCT_OUT_OF_STOCKProduct is out of stock.
HTTP 409Public API
The order asks for more pieces than the warehouse has available (stock minus active reservations). Only warehouses that do not allow negative stock are checked. The order was not created.
How to resolve
- 1
Reload the cart and product availability, lower the quantity or remove the item, then submit again.
Example response
The API answers with HTTP 409 and a JSON body. Match on errorCode, not on message: messages may be reworded, codes are stable.
application/json
{
"state": "error",
"code": 409,
"message": "Product is out of stock.",
"errorCode": "PUBLIC_PRODUCT_OUT_OF_STOCK",
"hint": "The order asks for more pieces than the warehouse has available (stock minus active reservations). Only warehouses that do not allow negative stock are checked. The order was not created.",
"documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_PRODUCT_OUT_OF_STOCK"
}