Skip to main content

Delete a product

DELETE 

/products/:id

Soft-deletes the product and returns the deleted record. The product's sizes and certificates are removed in the same cascade. Send the current version via the If-Match header (preferred; from the ETag of a prior read) or the _version query param. Missing → 400; stale → 409.

Request

Responses

A single product

Response Headers
    ETag

    Current record version; send back as If-Match on update/delete.