/product/id
Delete an existing product. If it has been purchased before, its data will remain untouched in orders.
URL parameters
Parameters that you can append to the URL, for example: ?parameter=value
Title | Type | Description | Required? |
---|---|---|---|
id | int | ID of a single product to delete. Can be used after the slash. Example: products/27 delete customer with ID 27 | Yes |
DELETE https://mystore.commercehq.com/api/v1/products/30
204 No Content
[]