This endpoint allows you to delete a product option from your system.
Send a DELETE request to the options endpoint with the option ID in the URL path:
DELETE /api/options/27
This request will delete the product option with ID 27 from your system.
Status Code | Description |
---|---|
204 No Content |
The option has been deleted successfully. |
400 Bad Request |
The option couldn't be deleted (e.g., it's in use by products). |
404 Not Found |
The specified option doesn't exist. |