DELETE
/products/{productId}
Delete a product
DELETE /products/{productId}
Removes a product from the catalog. Existing orders keep their line items; the product simply stops being sellable.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
productId |
path | string (uuid) | yes | Public ID of the product. |
Responses
204 — Deleted
404 — Not found
| Property | Type | Required | Description |
|---|---|---|---|
code |
string | yes | Stable, machine-readable error code — branch on this, not on the message. |
message |
string | yes | Human-readable explanation, intended for logs and debugging. |