CreateQuoteInput
A value you generate for this quote. Same effect as the Idempotency-Key header: a retry with the same key and body returns the original quote.
Status the quote is created in. Defaults to DRAFT. A quote cannot be created already accepted, rejected, expired, converted or cancelled.
Possible values: [DRAFT, PENDING, SENT, VIEWED, APPROVED]
Id of the customer the quote is for, from the customers list.
9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6dCustomer name to show on the quote.
Example Trading CoCustomer email to show on the quote.
buyer@example.comCustomer phone number to show on the quote.
+1 555 0100The quote is valid until this date, ISO 8601.
2026-02-14Quote date, ISO 8601. Defaults to today. Any other day needs the user who created the key to hold the back-dating permission.
2026-01-15Your own reference for the quote, such as its id in your system.
INT-0001Priority of the quote.
Possible values: [LOW, NORMAL, HIGH, URGENT]
Free-text notes on the quote.
Free-text notes for your own team.
Instructions for the delivery.
Terms and conditions text for the quote.
ISO 4217 currency code of every amount on the quote.
USDRate from the quote currency to the workspace currency. Greater than zero.
Possible values: > 0
1How discountValue is read: as a percent or as an amount.
Possible values: [PERCENTAGE, AMOUNT]
Quote-level discount, a percent or an amount according to discountType. Use 0 for none.
Possible values: >= 0
0Quote-level tax rate percent.
10Shipping charge in the quote currency. Use 0 for none.
Possible values: >= 0
0Whether line prices already include tax (INCLUSIVE) or tax is added on top (EXCLUSIVE).
Possible values: [INCLUSIVE, EXCLUSIVE]
Billing address as text, as it should print on the quote.
Shipping address as text, as it should print on the quote.
Warehouse the quote is for.
9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6dPayment terms code, from the payment terms list.
NET_30items object[]required
The quote lines. At least one is required.
Possible values: >= 1
Id of the product, from the products list.
9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6dVariant id, from the products list.
9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6dName to show on the line.
Sample WidgetStock keeping unit to show on the line.
SKU-1001Longer description to show on the line.
Quantity quoted. Must be greater than zero.
2Id of the unit of measure the quantity is in, from the units list.
9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6dName of the unit, to show on the line.
EachUnit price in the quote currency. Required.
Possible values: >= 0
12.5The variant's sale price, when it has one.
Set to true when unitPrice deliberately differs from the catalogue price. The user who created the key may need the price-override permission.
Why the price was overridden.
Possible values: <= 500 characters
Line discount, a percent or an amount according to the line's discountType. Required; use 0 for none.
Possible values: >= 0
0How discount is read: as a percent or as an amount.
Possible values: [PERCENTAGE, AMOUNT]
Line discount as an amount in the quote currency.
Possible values: >= 0
Tax rate percent for the line. Required.
10Tax on the line in the quote currency, as your system computed it. Required.
2.5Whether the line price includes tax (INCLUSIVE) or tax is added on top (EXCLUSIVE).
Possible values: [INCLUSIVE, EXCLUSIVE]
Line total in the quote currency.
27.5Warehouse this line ships from.
9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6dSum of the line values before discount and tax, as your system computed it. Required.
25Total discount in the quote currency, as your system computed it. Required; use 0 for none.
Possible values: >= 0
0Total tax in the quote currency, as your system computed it. Required.
2.5Grand total in the quote currency, as your system computed it. Required.
27.5ownership object
Who owns the quote.
Id of the user who owns the quote.
9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6d{
"idempotencyKey": "string",
"status": "DRAFT",
"customerId": "9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6d",
"customerName": "Example Trading Co",
"customerEmail": "buyer@example.com",
"customerMobile": "+1 555 0100",
"validUntil": "2026-02-14",
"quoteDate": "2026-01-15",
"reference": "INT-0001",
"priority": "LOW",
"notes": "string",
"internalNotes": "string",
"deliveryInstructions": "string",
"terms": "string",
"currency": "USD",
"exchangeRate": 1,
"discountType": "PERCENTAGE",
"discountValue": 0,
"taxRate": 10,
"shippingCost": 0,
"taxCalculationMethod": "INCLUSIVE",
"billingAddress": "string",
"shippingAddress": "string",
"warehouseId": "9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6d",
"paymentTerms": "NET_30",
"items": [
{
"productId": "9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6d",
"variantId": "9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6d",
"productName": "Sample Widget",
"productSku": "SKU-1001",
"description": "string",
"quantity": 2,
"uomId": "9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6d",
"uomName": "Each",
"unitPrice": 12.5,
"salePrice": 0,
"priceOverride": true,
"overrideReason": "string",
"discount": 0,
"discountType": "PERCENTAGE",
"discountAmount": 0,
"taxRate": 10,
"taxAmount": 2.5,
"taxCalculationMethod": "INCLUSIVE",
"totalPrice": 27.5,
"warehouseId": "9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6d"
}
],
"subtotal": 25,
"discountAmount": 0,
"taxAmount": 2.5,
"totalAmount": 27.5,
"ownership": {
"ownerId": "9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6d"
}
}