Products
Delete product
Changed onDeletes a product. A product that has orders, or has ever been on sale, can't be deleted: archive it with status: "archived" instead. That refusal is a 409 with code product_not_deletable.
delete/products/{id_or_slug}
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
id_or_slug, string required
The resource ID (e.g., "prod_3f9a1c0b7d2e4a6f8b1c3d5e") or slug (e.g., "my-product")
Response
Product deleted
Delete Response required
id, string required
object, string required
deleted, true required
Changes
- info
added the non-success response with the status
- info
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
4 more changes in this revision
- warning