sales_order_line_already_served
The line already carries served quantity —a delivery note or an invoice was issued for it—, and served quantity cannot be withdrawn or reduced below what already left the warehouse.
| Code | Type | HTTP | Category |
|---|---|---|---|
sales_order_line_already_served | invalid_request_error | 422 | Sales Orders |
Cause
The line already carries served quantity —a delivery note or an invoice was issued for it—, and served quantity cannot be withdrawn or reduced below what already left the warehouse.
What to do
Leave the served quantity untouched and adjust only what is still pending; to undo what was already served, register a return for that line instead of editing it.
Related
All Sales Orders 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.