This endpoint allows you to delete a product option exception from your system. Product option exceptions define special rules for option combinations that are not available for purchase.
Send a DELETE request to the exceptions endpoint with the exception ID in the URL path and the product ID as a query parameter:
DELETE /api/exceptions/10?product_id=12
This request will delete the option exception with ID 10 for the product with ID 12.
Status Code | Description |
---|---|
204 No Content |
The exception has been deleted successfully. |
400 Bad Request |
The exception couldn't be deleted (e.g., insufficient permissions). |
404 Not Found |
The specified exception doesn't exist. |