---
title: "Quote data model"
url: "https://docs.unified.to/printing/quote/model"
description: "The Quote data model object in Unified's Quote API: 14 fields, including created_at, updated_at and currency, with types and enum values."
date: "2026-11-24T21:03:15.660Z"
updated: "2026-11-24T21:03:15.660Z"
---
# Quote data model

Updated: November 24, 2026

A cost and shipping estimate for a prospective print order

 View field support, webhooks, and list parameters for each integration on the [Supported Integrations](https://docs.unified.to/printing/integrations.md) 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       |                                                                                                                                                                                                               |

## TypeScript

```typescript
export type PrintingQuote = {
	id?: string;
	created_at?: string-time; // (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	updated_at?: string-time; // (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	currency?: string; // ISO 4217 currency code
	shipping_address?: {
		name?: string; // Recipient full name 
		company_name?: string; 
		email?: string; 
		telephone?: string; 
		address1?: string; // first line of the street address 
		address2?: string; // second line of the street address 
		city?: string; // city or locality 
		region?: string; // state, province or regional area 
		region_code?: string; // state, province or regional area code 
		postal_code?: string; // postal or ZIP code 
		country?: string; // country name 
		country_code?: string; // ISO 3166-1 alpha-2 country code 
	}; // Recipient and delivery address
	shipping_method?: string; // Shipping method code the costs are calculated for
	lineitems?: [];
	subtotal_amount?: number; // Total production cost of all line items
	discount_amount?: number;
	shipping_amount?: number; // Shipping cost
	tax_amount?: number; // Taxes, including VAT
	total_amount?: number; // Grand total charged by the print vendor
	shipping_options?: []; // Available shipping methods and their prices
	metadata?: [];
	raw?: any; // Raw data from integration
} 
```

## Zod

```typescript
import { z } from 'zod';

export const ZodPrintingQuote = z.object({
	id: z.string().optional(),
	created_at: z.string-time().optional().describe("(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	updated_at: z.string-time().optional().describe("(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	currency: z.string().optional().describe("ISO 4217 currency code"),
	shipping_address: z.object({
			name: z.string().optional().describe("Recipient full name"),
			company_name: z.string().optional(),
			email: z.string().optional(),
			telephone: z.string().optional(),
			address1: z.string().optional().describe("first line of the street address"),
			address2: z.string().optional().describe("second line of the street address"),
			city: z.string().optional().describe("city or locality"),
			region: z.string().optional().describe("state, province or regional area"),
			region_code: z.string().optional().describe("state, province or regional area code"),
			postal_code: z.string().optional().describe("postal or ZIP code"),
			country: z.string().optional().describe("country name"),
			country_code: z.string().optional().describe("ISO 3166-1 alpha-2 country code")
}).optional().describe("Recipient and delivery address"),
	shipping_method: z.string().optional().describe("Shipping method code the costs are calculated for"),
	lineitems: z.array().optional(),
	subtotal_amount: z.number().optional().describe("Total production cost of all line items"),
	discount_amount: z.number().optional(),
	shipping_amount: z.number().optional().describe("Shipping cost"),
	tax_amount: z.number().optional().describe("Taxes, including VAT"),
	total_amount: z.number().optional().describe("Grand total charged by the print vendor"),
	shipping_options: z.array().optional().describe("Available shipping methods and their prices"),
	metadata: z.array().optional(),

});
```

## Python

```python
import dataclasses

@dataclasses.dataclass
class PropertyPrintingQuoteShipping_address:
	"""Recipient full name"""
	name: Optional[str]
	company_name: Optional[str]
	email: Optional[str]
	telephone: Optional[str]
	"""first line of the street address"""
	address1: Optional[str]
	"""second line of the street address"""
	address2: Optional[str]
	"""city or locality"""
	city: Optional[str]
	"""state, province or regional area"""
	region: Optional[str]
	"""state, province or regional area code"""
	region_code: Optional[str]
	"""postal or ZIP code"""
	postal_code: Optional[str]
	"""country name"""
	country: Optional[str]
	"""ISO 3166-1 alpha-2 country code"""
	country_code: Optional[str]

@dataclasses.dataclass
class PrintingQuote:
	id: Optional[str]
	"""(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	created_at: Optional[str]
	"""(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	updated_at: Optional[str]
	"""ISO 4217 currency code"""
	currency: Optional[str]
	"""Recipient and delivery address"""
	shipping_address: Optional[PropertyPrintingQuoteShipping_address]
	"""Shipping method code the costs are calculated for"""
	shipping_method: Optional[str]
	lineitems: Optional[PropertyPrintingQuoteLineitems]
	"""Total production cost of all line items"""
	subtotal_amount: Optional[int]
	discount_amount: Optional[int]
	"""Shipping cost"""
	shipping_amount: Optional[int]
	"""Taxes, including VAT"""
	tax_amount: Optional[int]
	"""Grand total charged by the print vendor"""
	total_amount: Optional[int]
	"""Available shipping methods and their prices"""
	shipping_options: Optional[PropertyPrintingQuoteShipping_options]
	metadata: Optional[PropertyPrintingQuoteMetadata]

```
