Quotes

Returns a quote with its line items, its totals (subtotal, discount_amount, then total after the discount), whether the contact has opened it (first_viewed_at, last_viewed_at, view_count), the reminders sent, and, once accepted, the signature record and the invoice it became

get/quotes/{id}

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

The resource's ID, as returned in its id field

Query parameters

expand, string

Comma-separated relations to expand: contact, deal, invoice

Response

Quote details

Quote required
id, string required
object, string required
number, string required
status, 'draft' | 'sent' | 'accepted' | 'declined' | 'expired' | 'canceled' required
title, string required
message, string nullable required
terms, string nullable required
currency, string required
billing, 'one_time' | 'recurring' required
interval, 'month' | 'year' | 'null' nullable required
expires_on, string date nullable required
sent_at, string date-time nullable required
accepted_at, string date-time nullable required
signer_name, string nullable required
document_digest, string nullable required
declined_at, string date-time nullable required
decline_reason, string nullable required
discount_amount_off, integer nullable required
discount_label, string nullable required
first_viewed_at, string date-time nullable required
last_viewed_at, string date-time nullable required
view_count, integer required
reminder_sent_at, string date-time nullable required
unviewed_nudge_sent_at, string date-time nullable required
created_at, string date-time required
updated_at, string date-time required
lines, QuoteLine[] required
subtotal, number required
discount_percent_off, number nullable required
discount_amount, number required
total, number required
tax_note, 'prices_include_tax' | 'tax_added_at_checkout' | 'null' nullable required
public_url, string nullable required
pdf_url, string nullable required
contact, union required

ID by default, full object when expanded

deal, union

ID by default, full object when expanded

invoice, union

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_sells to 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_sells to 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_code to the response with the status

    2 more changes in this revision