Delete a product

Delete a product. This is a soft delete: the product gets deleted_at and no longer appears in list or get.

Endpoint

DELETE
/products/:id

Request

Response

Returns the deleted product with deleted_at set.

json

(Shortened: the response contains every field of the product object.)

Side effects

  • The product's media records are deleted too, and their files are removed from storage.
  • The product is removed from AI assistant product search.
  • Deals, orders and invoices that already reference the product keep their line items. Variants (parent_id = this product) are not deleted.

Report an issue with this documentation

Please log in to report issues with our documentation.