Cancel quote
Changed onCancels a draft or sent quote, so the contact can no longer accept it. Canceling a canceled quote changes nothing. An accepted, declined or expired quote answers 400 with code not_cancelable.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
The resource's ID, as returned in its id field
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Response
Quote canceled
ID by default, full object when expanded
ID by default, full object when expanded
ID by default, full object when expanded
Changes
- info
added the required property
invoice/oneOf[#/components/schemas/Invoice]/order/oneOf[#/components/schemas/Order]/line_items/items/price_variant/oneOf[#/components/schemas/PriceVariant]/cross_sellsto the response with the status - info
added the required property
invoice/oneOf[#/components/schemas/Invoice]/order/oneOf[#/components/schemas/Order]/line_items/items/product/oneOf[#/components/schemas/Product]/price_variants/items/cross_sellsto the response with the status - info
added the required property
invoice/oneOf[#/components/schemas/Invoice]/order/oneOf[#/components/schemas/Order]/line_items/items/product/oneOf[#/components/schemas/Product]/tax_codeto the response with the status
2 more changes in this revision
- info