Quotes

Create, finalize, accept, and cancel quotes that convert into subscriptions.

View as Markdown

A quote presents a pricing proposal to a prospective customer before they commit to a subscription. Once accepted, VINR automatically converts the quote into a live subscription.

Illustrative content. Hand-authored to demonstrate the Standard/Advanced pattern; the production page will be generated from the VINR OpenAPI spec (roadmap item #1). Field names are representative.

The quote objectAsk

idstring

Unique identifier for the quote, e.g. qt_5Bw2xNjR.

customerstringExpandable

The ID of the customer this quote is for, e.g. cust_8aZ2. Expand to retrieve the full customer object.

statusenum

Quote lifecycle state: draft, open, accepted, or canceled.

amount_totalinteger

Total amount across all line items, in the smallest currency unit.

currencystring

Three-letter ISO currency code, e.g. EUR.

expires_atinteger

Unix timestamp after which the quote can no longer be accepted.

line_itemsarray

The list of products and prices included in the quote. Each item has price, quantity, and amount_subtotal.

createdinteger

Unix timestamp of when the quote was created, e.g. 1716300000.

Create a quoteAsk

Create a quote in draft status. Add line_items referencing existing prices.

Retrieve a quoteAsk

Update a quoteAsk

Update a draft or open quote. Only description and expires_at can be changed.

Finalize a quoteAsk

Finalizing moves the quote from draft to open and makes it shareable with the customer.

Accept a quoteAsk

Accepting an open quote converts it into a live subscription and moves the quote to accepted.

Cancel a quoteAsk

Canceling a draft or open quote prevents it from being accepted.

List quotesAsk

quote.created, quote.finalized, quote.accepted, and quote.canceled. See Events.

Was this page helpful?