Stock Reservations error codes
Every public API error code emitted by Stock Reservations, with its HTTP status, its type and a page per code.
Error codes emitted by Stock Reservations. Each code links to its own page with the cause and the action to take.
| Code | Type | HTTP | Description |
|---|---|---|---|
insufficient_available_stock | invalid_request_error | 422 | Available stock —physical stock minus what other reservations hold— does not cover the requested quantity in that warehouse. Physical stock may be plentiful: what is missing is free stock. |
stock_reservation_expired | invalid_request_error | 422 | The reservation went past its validity and already released the stock it was holding, so it no longer guarantees a single unit. |
stock_reservation_not_found | not_found_error | 404 | No stock reservation of the authenticated company matches that identifier; an expired reservation that was already purged answers the same way. |
Related
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.