This endpoint allows you to delete a product option combination from your system.
Send a DELETE request to the combinations endpoint with the combination hash in the URL path and the product ID as a query parameter:
DELETE /api/combinations/2822626827?product_id=4
This request will delete the specified option combination for the product with ID 4.
Status Code | Description |
---|---|
204 No Content |
The option combination has been deleted successfully. |
400 Bad Request |
The option combination couldn't be deleted (e.g., insufficient permissions or in use). |
404 Not Found |
The specified option combination doesn't exist. |