Delete an Option Combination

Overview

This endpoint allows you to delete a product option combination from your system.

DELETE /api/combinations/{combination_hash}

Request Format

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
Note: The product ID is required to verify that you have permission to delete this combination.

This request will delete the specified option combination for the product with ID 4.

Response Format

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.
Important: Deleting an option combination will remove all associated inventory, pricing, and other data. This action cannot be undone.