quote
List quotes
/v1/quotesPages through the quotes in the caller's tenant, newest first by creation time with the id as tiebreaker, paged with an opaque cursor (default page 50). clientId, salesStage, quoteType, status and salesRep1 narrow the list, and together they all have to hold. A text filter matches the whole value a quote carries in that field, ignoring case, and a quote with no value there never matches. clientName matches part of the client's name instead, ignoring case. createdAfter and createdBefore bound the creation time, and minTotalAmountMinor and maxTotalAmountMinor bound the quote's total amount, each inclusive. Each row is the quote object quote.get returns, without its line items, pricing summary or statement of work; read one quote for those. Quotes on archived clients are included, as they are for quote.get. A clientId that is not in the caller's tenant matches nothing.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| limit | query | No | integer | — |
| cursor | query | No | string | — |
| clientId | query | No | string | — |
| salesStage | query | No | string | — |
| quoteType | query | No | string | — |
| status | query | No | string | — |
| salesRep1 | query | No | string | — |
| clientName | query | No | string | — |
| createdAfter | query | No | — | — |
| createdBefore | query | No | — | — |
| minTotalAmountMinor | query | No | integer | — |
| maxTotalAmountMinor | query | No | integer | — |
Request body
No request body.
Responses and errors
200
List quotes
- data (required): array
- nextCursor (required): object
400
Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.
- ValidationFailedError:
- allOf: ErrorEnvelope
401
Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.
- UnauthorizedError:
- allOf: ErrorEnvelope
403
Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.
- ForbiddenError:
- allOf: ErrorEnvelope
429
Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.
- RateLimitedError:
- allOf: ErrorEnvelope
503
Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.
- UnavailableError:
- allOf: ErrorEnvelope
Example
curl --request GET \
--url 'https://api.scopable.io/v1/quotes' \
--header 'Authorization: Bearer $SCOPABLE_API_KEY'Replace $SCOPABLE_API_KEY with a key created in Settings, API.
Need help with the API? …