Skip to content

Preview Quote Draft

POST
/quotes/preview-draft

Render a quote that does not exist yet. Creates nothing.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

A draft quote, in the same shape POST /quotes takes. Passed through open rather than mirrored: this renders whatever it is given and stores nothing, so a field this contract had not caught up with would be dropped from the PREVIEW while the real quote kept it - a preview that lies about the document.

object
key
additional properties
any

Responses

200

Successful Response

object
data
required

An open envelope for a quote, template, contact or job result.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string