Flito docs

Quotes

Create a quote, get it approved, send it for signature and follow the signature.

yesnoquote.createNeeds approval?quote.review: approvedquote.send (approved: true)Customer signs at /signQuote signed, deal movesoninvoice.convert_from_quote

Create a quote

curl -s "$FLITO_URL/api/cap/quote.create" \
  -H "Authorization: Bearer $FLITO_API_KEY" -H "Content-Type: application/json" \
  -d '{"input": {
        "companyId": "cmp_…",
        "contactId": "con_…",
        "name": "Acme, first order",
        "paymentTerms": "Net 30",
        "lineItems": [
          {"productId": "prd_…", "quantity": 10, "unitPrice": 129.5},
          {"name": "Installation", "quantity": 1, "unitPrice": 800}
        ],
        "discountAmount": 100,
        "taxAmount": 172.84
      }}'
  • Each line is a catalog product (productId) or a free line (name), with quantity and unitPrice. lineTotal defaults to quantity times price.
  • The total is the line subtotal plus freightCost, additionalFees and taxAmount, less discountAmount. These are amounts, not rates. taxExempt: true drops the tax.
  • With a companyId and no dealId, Flito opens a deal for the quote.
  • The quote number is the next QT-0001-style number unless you pass quoteNumber.
  • The quote is dated today in the workspace's time zone and expires 30 days later unless the workspace sets otherwise or you pass quoteExpirationDate.

quote.update changes it: send the whole lineItems list, or add, change and remove lines by id, not both.

Approval

A quote waits for approval (quoteReviewStatus: "pending_review") when:

  • the person who made it does not hold the quotes:review scope, or
  • the workspace requires approval for every quote, or
  • someone without quotes:review changes its lines, prices, terms, dates or addresses after it was approved.

Someone with quotes:review approves or rejects it:

curl -s "$FLITO_URL/api/cap/quote.review" \
  -H "Authorization: Bearer $FLITO_API_KEY" -H "Content-Type: application/json" \
  -d '{"input": {"quoteId": "qte_…", "status": "approved", "reviewer": "Jane Doe"}, "approved": true}'

A rejected quote moves to needs_revision. quote.request_approval puts a quote back in the queue. quote.overview lists what waits on you: quotes to approve, quotes out for signature, drafts.

Send it for signature

curl -s "$FLITO_URL/api/cap/quote.send" \
  -H "Authorization: Bearer $FLITO_API_KEY" -H "Content-Type: application/json" \
  -d '{"input": {"quoteId": "qte_…", "recipientEmails": ["ada@acme.com"], "signerName": "Ada Lovelace"}, "approved": true}'
  • It needs "approved": true and both quotes:write and esign:send.
  • It is refused while the quote waits for approval, unless the sender holds quotes:review, in which case it counts as approved by them.
  • It moves the deal to its Quote Sent stage where the pipeline has one, and emails each signer a link to sign. The answer includes signingInvites: each signer's email, signing link and whether the email went out.
  • Up to two signers; ccRecipients get a copy.

Follow the signature

The signer opens /sign/…, reads the quote and signs it in the browser. When the last signer signs, the quote becomes signed and its deal moves to its Quote Signed stage.

  • esign.list with {"quoteId": "qte_…"} lists the quote's envelopes. An envelope is sent, viewed, signed, completed, declined or voided.
  • esign.get shows one envelope, its signers and each step of its audit trail.
  • esign.document_access with {"envelopeId": "…"} returns links to the signed PDF and its certificate once the envelope is completed. The links last up to 15 minutes; ask again for fresh ones.
  • esign.envelope_void cancels an envelope; its signing links stop working.

To keep a quote's status in your own system without polling, have an automation watch for quote updates and call your system with an HTTP request.

People can share a quote or an invoice from the app as a link that opens it on its own page, with Download PDF. document.revoke_share with {"token": "shr_…"} turns a link off; it then answers 410.

Capabilities

CapabilityWhat it doesKind
document.revoke_shareRevoke share linkwrite
esign.document_accessAccess signed documentwrite
esign.email_quoteSend for signaturewrite, needs approval
esign.envelope_createSend for signaturewrite, needs approval
esign.envelope_voidVoid envelopewrite
esign.getGet enveloperead
esign.listList envelopesread
esign.quote_email_draftSignature email draftread
product.createCreate productwrite
product.getGet productread
product.listList productsread
product.resolveResolveread
product.updateUpdate productwrite
quote.attach_documentAttach document to quotewrite
quote.createCreate quotewrite
quote.deleteDelete quotewrite, needs approval
quote.detach_documentDetach document from quotewrite
quote.getGet quoteread
quote.listList quotesread
quote.overviewOverviewread
quote.pdf_generateGenerate quote PDFwrite
quote.preparePrepareread
quote.request_approvalAsk for approvalwrite
quote.reviewReview quotewrite
quote.sendSend quote for signaturewrite, needs approval
quote.updateUpdate quotewrite

Was this page useful?

On this page