v2

latestOpenAPI 3.0.02026-08-08112115411.4 KB
Quotes

Get a list of quotes

get/quotes

Query parameters

filter[lead]string

Filter quotes by lead

filter[dateMin]string

Filter quotes created after this date. Date expected in the format YYYY-MM-DD

filter[dateMax]string

Filter quotes created before this date. Date expected in the format YYYY-MM-DD

page[limit]string

Limit the number of results returned, for pagination.

page[page]string

Request a specific page of results, for pagination. Used in conjunction with the page[limit] parameter. Indexing is 0-based.

Response

A list of quotes

linksobject

Pagination links

Example response

{
  "quotes": [
    {
      "id": "123-quotes",
      "type": "quotes",
      "number": "1000-01",
      "displayStatus": "SENT",
      "total": {
        "amount": "5000.00",
        "currency": "USD",
        "formatted": "$5,000.00"
      },
      "productLineItems": [
        {
          "id": "1-quoteProductLineItems",
          "position": 0,
          "product": "100-products",
          "name": "Consulting Services",
          "description": "Monthly consulting retainer",
          "sku": "CONS-001",
          "quantity": 2,
          "term": null,
          "price": {
            "amount": "2500.00",
            "currency": "USD",
            "formatted": "$2,500.00"
          },
          "total": {
            "amount": "5000.00",
            "currency": "USD",
            "formatted": "$5,000.00"
          },
          "discountUnit": null,
          "discountNumber": null
        }
      ],
      "subtotalLineItems": [
        {
          "id": "1-quoteSubtotalLineItems",
          "position": 0,
          "label": "Discount",
          "modifierUnit": "%",
          "modifierValue": 10,
          "operation": "-",
          "total": {
            "amount": "500.00",
            "currency": "USD",
            "formatted": "$500.00"
          }
        }
      ],
      "recipient": {
        "id": "321-contacts",
        "name": "Jane Doe",
        "email": "jane@example.com"
      },
      "validThroughTime": "2024-12-31T23:59:59Z",
      "createdTime": "2024-01-15T10:30:00Z",
      "publishedTime": "2024-01-16T14:20:00Z",
      "sentTime": "2024-01-17T09:15:00Z",
      "acceptedTime": null,
      "acceptedName": null,
      "acceptedEmail": null,
      "deletedTime": null,
      "links": {
        "lead": "456-leads"
      }
    },
    {
      "id": "124-quotes",
      "type": "quotes",
      "number": "1000-02",
      "displayStatus": "READY",
      "total": {
        "amount": "7500.00",
        "currency": "USD",
        "formatted": "$7,500.00"
      },
      "productLineItems": [
        {
          "id": "2-quoteProductLineItems",
          "position": 0,
          "product": "101-products",
          "name": "Implementation",
          "description": "Onboarding package",
          "sku": "IMPL-001",
          "quantity": 1,
          "term": null,
          "price": {
            "amount": "7500.00",
            "currency": "USD",
            "formatted": "$7,500.00"
          },
          "total": {
            "amount": "7500.00",
            "currency": "USD",
            "formatted": "$7,500.00"
          },
          "discountUnit": null,
          "discountNumber": null
        }
      ],
      "subtotalLineItems": [],
      "recipient": null,
      "validThroughTime": "2024-11-30T23:59:59Z",
      "createdTime": "2024-02-01T08:00:00Z",
      "publishedTime": "2024-02-02T10:00:00Z",
      "sentTime": null,
      "acceptedTime": null,
      "acceptedName": null,
      "acceptedEmail": null,
      "deletedTime": null,
      "links": {
        "lead": "457-leads"
      }
    }
  ],
  "meta": {
    "instanceId": "12345"
  },
  "links": {
    "self": "/rest/quotes?page[page]=0&page[limit]=25",
    "first": "/rest/quotes?page[page]=0&page[limit]=25",
    "last": "/rest/quotes?page[page]=0&page[limit]=25"
  }
}