Skip to main content

Create a sales quote

POST 

/api/service/sales-quotes

Creates a quote for a customer. Needs a read-write API key. Send the lines, the discount, tax and shipping settings, and the document totals (subtotal, discountAmount, taxAmount, totalAmount) as your system computed them. The quote is created in the status you give, DRAFT by default, and the response is the stored quote. Send an Idempotency-Key so a retry never creates a second quote. Creating a quote counts against the workspace plan's monthly quote limit.

Request​

Responses​

The quote that was created.

Response Headers
    X-ApiKey-RateLimit-Limit

    Requests per minute this API key is allowed.

    X-ApiKey-RateLimit-Remaining

    Requests left in the current one-minute window.

    X-ApiKey-RateLimit-Reset

    Seconds until the current window ends and the count resets.

    x-request-id

    Identifier of this request. Send your own x-request-id to have it echoed back; otherwise one is generated. Quote it when contacting support.