Skip to content

quote

Get a quote record

GET/v1/quotes/{quoteId}/detail

Reads one quote in the caller's tenant as the quote wizard renders it: every field the quote carries, its client's name, the payment arrangement and latest payment attempt, the latest saved version, the send delivery and public view counts, the latest approval request, recurring and one-time totals from its lines, and the author's and last editor's names. A quote in another tenant answers not_found. Amounts are integers in minor units, rounded to the cent. For an API key the signature image, document path, legal-terms snapshot, layout, author, editor, customer purchase order, sync times, ConnectWise write-back status and the provider reference, event id and failure details of the latest payment are null.

Parameters

NameInRequiredTypeDescription
quoteIdpathYesstring—

Request body

No request body.

Responses and errors

  • 200

    Get a quote record

    • quote (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
  • 404

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • NotFoundError:
    • 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/{quoteId}/detail' \
  --header 'Authorization: Bearer $SCOPABLE_API_KEY'

Replace $SCOPABLE_API_KEY with a key created in Settings, API.

View the OpenAPI 3.1 source

Need help with the API? …