Flito docs
Quote

Prepare

POST
/api/cap/quote.prepare

Work out a quote from a request like "10 of the Standard plan for Acme, shipping to their normal address" without saving anything: finds the company by name, its billing and usual shipping address (the quote builder's defaults) and each product from a loose name, and prices each line from the catalog unless a price is given. Returns quoteCreateInput, the exact input to pass to quote.create, or the questions to settle first. Use it for every quote request.

Required scopes: quotes:read, companies:read, products:read, contacts:read. Read only.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An API key (flito_pat_…) from Settings, API & AI connections.

Request Body

application/json
  1. body
input*

Response Body

The capability ran.

application/json
  1. response
result*unknown

The capability’s output.

commitId?|

The config commit, for versioned records.

eventId?string|null
idempotentReplay?boolean

True when this answer is a replay of an earlier call.

Example Request
curl -X POST 'https://crm.yourcompany.com/api/cap/quote.prepare' \  -H 'Content-Type: application/json' \  -d '{  "input": {    "company": "string",    "lines": [      {        "product": "string"      }    ]  }}'
Example Response
{  "result": null,  "commitId": "string",  "eventId": "string",  "idempotentReplay": true}

Was this page useful?