BizKitHub
PUBLIC_PRODUCT_OUT_OF_STOCK

Product is out of stock.

Aus BizKitHub Docs, der Referenz der API-Fehlercodes

Titel und Beschreibungen der Codes pflegen wir auf Englisch.

HTTP 409Öffentliche 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.

So beheben Sie es

  1. 1

    Reload the cart and product availability, lower the quantity or remove the item, then submit again.

Beispielantwort

Die API antwortet mit HTTP 409 und einem JSON-Body. Vergleichen Sie errorCode, nicht message. Meldungen können umformuliert werden, Codes bleiben stabil.

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"
}