PriceVariants
Delete price variant
Changed onDeletes a price variant that has never been on sale. A variant that has been sold, or whose product has been published, can't be deleted: set archived to true with PATCH /price_variants/{id} to retire it and keep its sales history.
delete/price_variants/{id}
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
id, string required
The resource's ID, as returned in its id field
Response
Price variant deleted
Delete Response required
id, string required
object, string required
deleted, true required
Changes
- 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 - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
4 more changes in this revision
- warning