comecerodocs

Delete a product

DELETE
/products/{product_id}

Marks a product deleted and inactive. It is not erased: orders keep pointing at it, you can still read it, and you can bring it back by updating it with deleted: false or active: true. Fires the product.deleted event. Secret and trusted tokens may call it.

Authorization

headerAuthorizationBearer <token>

A secret, trusted or limited token. See Authentication.

Path Parameters

product_id*string

The product id.

Response Body

The product is deleted. No body.

Example Request
curl -X DELETE 'https://api.comecero.com/api/v1/products/string'
Example Response
Empty