product_in_use
The product is referenced by issued documents or by other catalogue entries, and removing it would leave those references dangling.
| Code | Type | HTTP | Category |
|---|---|---|---|
product_in_use | invalid_request_error | 422 | Products |
Cause
The product is referenced by issued documents or by other catalogue entries, and removing it would leave those references dangling.
What to do
Deactivate the product instead of deleting it: it stops being offered while the documents that used it stay intact.
Related
All Products 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.