price_list_in_use
The price list is assigned to clients or drafts, and deleting it would leave those price references without their source.
| Code | Type | HTTP | Category |
|---|---|---|---|
price_list_in_use | invalid_request_error | 422 | Pricing |
Cause
The price list is assigned to clients or drafts, and deleting it would leave those price references without their source.
What to do
Remove all assignments first; if you only want to prevent new selections, deactivate the price list instead of deleting it.
Related
All Pricing 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.