Update quote
Changed onUpdates a draft quote. Sending lines replaces every line. Send discount_percent_off: null or discount_amount_off: null to remove a discount. A sent quote is frozen and answers 422 with code quote_not_editable: cancel it and create a new one instead.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
The resource's ID, as returned in its id field
Request body
Contact ID (con_...) the quote is for. Defaults to the deal's contact.
Deal ID (deal_...) the quote belongs to. Sending the quote moves a lead or qualified deal to proposal, and acceptance marks it won.
Billing period, required when billing is recurring
Percent taken off the subtotal, e.g. 10 or 12.5. Use this or discount_amount_off, not both. null removes it.
Amount taken off the subtotal, in the currency's smallest unit (cents). Use this or discount_percent_off, not both. null removes it.
What the discount is called on the quote, e.g. "Spring offer". Defaults to "Discount".
The quote's line items. On update, the list replaces every existing line.
Response
Quote updated
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