Quote data model
A cost and shipping estimate for a prospective print order
View field support, webhooks, and list parameters for each integration on the Supported Integrations page.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | |
created_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
updated_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
currency | string | No | ISO 4217 currency code |
shipping_address | object | No | Recipient and delivery address |
shipping_address.name | string | No | Recipient full name |
shipping_address.company_name | string | No | |
shipping_address.email | string | No | |
shipping_address.telephone | string | No | |
shipping_address.address1 | string | No | first line of the street address |
shipping_address.address2 | string | No | second line of the street address |
shipping_address.city | string | No | city or locality |
shipping_address.region | string | No | state, province or regional area |
shipping_address.region_code | string | No | state, province or regional area code |
shipping_address.postal_code | string | No | postal or ZIP code |
shipping_address.country | string | No | country name |
shipping_address.country_code | string | No | ISO 3166-1 alpha-2 country code |
shipping_method | string | No | Shipping method code the costs are calculated for |
lineitems | PrintingLineitem[] | No | |
lineitems[].id | string | No | Line item identifier |
lineitems[].product_id | string | No | The PrintingProduct ID of the blank product |
lineitems[].variant_identifier | string | No | Identifier of the product variant |
lineitems[].name | string | No | Display name |
lineitems[].sku | string | No | Product identifier (SKU) from the ordering system |
lineitems[].quantity | number | No | |
lineitems[].unit_price_amount | number | No | Production price per unit charged by the print vendor |
lineitems[].retail_price_amount | number | No | Retail price per unit paid by the end customer |
lineitems[].files | PrintingLineitemFile[] | No | Print files, one per placement |
lineitems[].files[].placement | string | No | Placement code the file is printed on (eg. front, back) |
lineitems[].files[].file_id | string | No | The PrintingFile ID |
lineitems[].files[].url | string | No | URL of the print file |
subtotal_amount | number | No | Total production cost of all line items |
discount_amount | number | No | |
shipping_amount | number | No | Shipping cost |
tax_amount | number | No | Taxes, including VAT |
total_amount | number | No | Grand total charged by the print vendor |
shipping_options | PrintingShippingoption[] | No | Available shipping methods and their prices |
shipping_options[].code | string | No | Shipping method code, used as shipping_method on an order |
shipping_options[].name | string | No | Display name |
shipping_options[].amount | number | No | Shipping price |
shipping_options[].currency | string | No | ISO 4217 currency code |
shipping_options[].min_delivery_days | number | No | Estimated minimum number of days to delivery |
shipping_options[].max_delivery_days | number | No | Estimated maximum number of days to delivery |
metadata | PrintingMetadata[] | No | |
metadata[].id | string | No | The ID of the custom field definition (from the metadata/metadata endpoint). |
metadata[].slug | string | No | The integration's API name (key) of an existing custom field. |
metadata[].value | object | No | The field's value, typed by format. |
metadata[].namespace | string | No | |
metadata[].format | enum | No | The data type of the custom field, which determines how value is formatted. Values: TEXT, NUMBER, DATE, BOOLEAN, FILE, TEXTAREA, SINGLE_SELECT, MULTIPLE_SELECT, MEASUREMENT, PRICE, YES_NO, CURRENCY, URL |
metadata[].extra_data | object | No |
Are we missing anything? Let us know
Was this page helpful?