warehouse_stock_cannot_be_negative
The adjustment names a warehouse and would leave the stock of THAT warehouse below zero, even though the total of the item across the company is enough.
| Code | Type | HTTP | Category |
|---|---|---|---|
warehouse_stock_cannot_be_negative | invalid_request_error | 422 | Warehouses |
Cause
The adjustment names a warehouse and would leave the stock of THAT warehouse below zero, even though the total of the item across the company is enough.
What to do
Adjust a quantity that does not take the warehouse below zero, name the warehouse that really holds the goods or transfer the missing stock first.
Related
All Warehouses error codes
Causes and actions for errors in this category.
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.