agentlyleads docs
Quotes API

The Quote object

A quote is a priced list of line items for a buyer, optionally tied to a deal, a contact and a company. It starts as DRAFT, and its status records what happened to it: SENT once it has gone to the buyer, ACCEPTED or DECLINED when they answer.

FieldTypeNotes
idstringCUID (read-only)
numberintegerPer-workspace quote number, shown to people as #12
titlestringWhat the quote is for
statusstringOne of DRAFT, SENT, ACCEPTED, DECLINED
totalnumberSum of quantity * unitPrice over every line (read-only)
validUntilstring (ISO 8601) | nullWhen the offer expires
notesstring | nullTerms or notes shown on the quote
dealobject | null{ id, name }
contactobject | null{ id, name }. Defaults from the deal when you create a quote on a deal
companyobject | null{ id, name }. Defaults from the deal the same way
lineItemsarrayThe lines, in order. See below
createdAtstring (ISO 8601)Read-only
updatedAtstring (ISO 8601)Read-only

Line item

FieldTypeNotes
idstringCUID
namestringThe line as it reads on the quote
offeringobject | nullThe catalog product this line prices, { id, name }, or null for a custom line
quantitynumberTwo decimal places
unitPricenumberTwo decimal places
totalnumberquantity * unitPrice

Money is stored with two decimal places and returned as plain JSON numbers.

Scopes

ScopeGrants
read:quotesGET /api/v1/quotes, GET /api/v1/quotes/{id}
write:quotesPOST /api/v1/quotes, POST /api/v1/quotes/{id}/status

To attach a PDF or other file to a quote, use the Files API with entity: "QUOTE".

On this page