For AI agents: the complete documentation index is at https://webshop-docs.acmewebshop.com/llms.txt. Every page is also available as Markdown by appending index.md to its URL or by sending Accept: text/markdown.
Acme Webshop API
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.