List quotes

List quotes by status, customer, location or date.

GET https://cotlet.dev/api/v1/servicetrade/quotes

read

Returns the name, reference number, status, customer, location, total price and the dates it was last submitted and accepted. Use get_quote for the line items.

Parameters

Parameters: list_quotes
NameTypeDescription
status string string One or more of draft, new, submitted, accepted, rejected, canceled, pending_sales_tax, comma-separated.
customer_id integer integer Only quotes for this customer company.
location_id integer integer Only quotes at this location.
submitted_before string string ISO 8601 date or date-time; only quotes last submitted on or before it.
created_after string string ISO 8601 date or date-time; only quotes created on or after it.
cursor string string Next page cursor from the previous call.

Request

cURL
curl https://cotlet.dev/api/v1/servicetrade/quotes \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("servicetrade", "list_quotes")
Node.js
const result = await cotlet.call('servicetrade', 'list_quotes');
CLI
cotlet call servicetrade list_quotes

Example response

JSON

{
  "quotes": [
    {
      "id": 20391,
      "name": "Repair: emergency lighting, Delta Plaza",
      "ref_number": "20391",
      "status": "submitted",
      "customer": {
        "id": 2214,
        "name": "Delta Plaza LLC"
      },
      "location": {
        "id": 5133,
        "name": "Delta Plaza"
      },
      "total_price": "1840.00",
      "latest_submission": "2026-10-12",
      "latest_accepted": null
    }
  ],
  "next_cursor": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.