{
   "openapi": "3.0.0",
   "info": {
      "title": "Unified.to PRINTING API",
      "version": "1.0",
      "description": "One API to Rule Them All",
      "contact": {
         "email": "hello@unified.to",
         "url": "https://unified.to/contact"
      },
      "termsOfService": "https://unified.to/tos"
   },
   "externalDocs": {
      "description": "API Documentation",
      "url": "https://docs.unified.to"
   },
   "tags": [
      {
         "name": "unifiedapi",
         "description": "Unified.to API"
      },
      {
         "name": "printing"
      },
      {
         "name": "product"
      },
      {
         "name": "template"
      },
      {
         "name": "file"
      },
      {
         "name": "quote"
      },
      {
         "name": "order"
      }
   ],
   "security": [
      {
         "jwt": []
      }
   ],
   "servers": [
      {
         "url": "https://api.unified.to",
         "description": "North American data region"
      },
      {
         "url": "https://api-eu.unified.to",
         "description": "European data region"
      },
      {
         "url": "https://api-au.unified.to",
         "description": "Australian data region"
      }
   ],
   "components": {
      "securitySchemes": {
         "jwt": {
            "type": "apiKey",
            "name": "authorization",
            "in": "header"
         }
      },
      "requestBodies": {
         "PrintingFile": {
            "required": true,
            "content": {
               "application/json": {
                  "schema": {
                     "$ref": "#/components/schemas/PrintingFile"
                  },
                  "examples": {
                     "printing_file": {
                        "summary": "Sample PrintingFile",
                        "value": {
                           "id": "722c7c76-1b39-4d56-afbb-df00bbf38952",
                           "created_at": "2020-10-22T04:25:39.825Z",
                           "updated_at": "2020-10-22T04:25:39.825Z",
                           "name": "blond-ecliptic.jpg",
                           "url": "https://picsum.photos/seed/XBj97B/2783/172",
                           "preview_url": "https://picsum.photos/seed/aATvhmNA/400/400",
                           "mime_type": "image/jpeg",
                           "size": 1956654,
                           "width": 4500,
                           "height": 5400,
                           "dpi": 300,
                           "status": "READY",
                           "metadata": []
                        }
                     }
                  }
               }
            }
         },
         "PrintingQuote": {
            "required": true,
            "content": {
               "application/json": {
                  "schema": {
                     "$ref": "#/components/schemas/PrintingQuote"
                  },
                  "examples": {
                     "printing_quote": {
                        "summary": "Sample PrintingQuote",
                        "value": {
                           "id": "6e20b989-9d10-4aae-b152-4a95bf8bfd95",
                           "created_at": "2019-01-02T03:42:06.944Z",
                           "updated_at": "2019-01-02T03:42:06.944Z",
                           "currency": "USD",
                           "shipping_address": {
                              "name": "Heaven Crist",
                              "company_name": "Kris and Sons",
                              "email": "jada73@hotmail.com",
                              "telephone": "653.412.8900 x9387",
                              "address1": "4290 Garden Street",
                              "address2": "Suite 874",
                              "city": "Cartwrightshire",
                              "region": "North Carolina",
                              "region_code": "KY",
                              "postal_code": "92871",
                              "country": "United States",
                              "country_code": "US"
                           },
                           "shipping_method": "STANDARD",
                           "lineitems": [
                              {
                                 "id": "1",
                                 "name": "Practical Wooden Salad",
                                 "quantity": 2,
                                 "unit_price_amount": 21.72,
                                 "retail_price_amount": 50.83,
                                 "files": [
                                    {
                                       "placement": "default",
                                       "url": "https://picsum.photos/seed/0Y5Bjnoiwx/3057/3113"
                                    }
                                 ]
                              },
                              {
                                 "id": "2",
                                 "name": "Handmade Gold Car",
                                 "sku": "I79GIBCK",
                                 "quantity": 4,
                                 "unit_price_amount": 17.64,
                                 "retail_price_amount": 35.47,
                                 "files": [
                                    {
                                       "placement": "default",
                                       "url": "https://picsum.photos/seed/rcPUF/2295/1801"
                                    }
                                 ]
                              }
                           ],
                           "subtotal_amount": 114,
                           "discount_amount": 0,
                           "shipping_amount": 4.69,
                           "tax_amount": 9.12,
                           "total_amount": 127.81,
                           "shipping_options": [
                              {
                                 "code": "STANDARD",
                                 "name": "Flat Rate (3-5 business days after fulfillment)",
                                 "amount": 4.69,
                                 "currency": "USD",
                                 "min_delivery_days": 3,
                                 "max_delivery_days": 5
                              },
                              {
                                 "code": "EXPRESS",
                                 "name": "Express (1-3 business days after fulfillment)",
                                 "amount": 12.99,
                                 "currency": "USD",
                                 "min_delivery_days": 1,
                                 "max_delivery_days": 3
                              }
                           ],
                           "metadata": []
                        }
                     }
                  }
               }
            }
         },
         "PrintingOrder": {
            "required": true,
            "content": {
               "application/json": {
                  "schema": {
                     "$ref": "#/components/schemas/PrintingOrder"
                  },
                  "examples": {
                     "printing_order": {
                        "summary": "Sample PrintingOrder",
                        "value": {
                           "id": "e0d61000-4a0a-49ac-b1ed-3eadad79cefa",
                           "created_at": "2022-03-14T11:16:15.147Z",
                           "updated_at": "2025-01-27T21:02:52.051Z",
                           "status": "OTHER",
                           "currency": "USD",
                           "shipping_address": {
                              "name": "Angelita Denesik",
                              "email": "gary_leffler28@gmail.com",
                              "telephone": "808-831-6489 x62979",
                              "address1": "651 Main Street",
                              "city": "Euclid",
                              "region": "Colorado",
                              "region_code": "AR",
                              "postal_code": "80301",
                              "country": "United States",
                              "country_code": "US"
                           },
                           "shipping_method": "STANDARD",
                           "lineitems": [
                              {
                                 "id": "1",
                                 "name": "Bespoke Marble Chair",
                                 "sku": "IBDIE3XR",
                                 "quantity": 2,
                                 "unit_price_amount": 26.37,
                                 "retail_price_amount": 54.89,
                                 "files": [
                                    {
                                       "placement": "default",
                                       "url": "https://picsum.photos/seed/y54e6o9hYi/191/3357"
                                    }
                                 ]
                              },
                              {
                                 "id": "2",
                                 "name": "Electronic Cotton Hat",
                                 "quantity": 1,
                                 "unit_price_amount": 10.04,
                                 "retail_price_amount": 23.94,
                                 "files": [
                                    {
                                       "placement": "default",
                                       "url": "https://picsum.photos/seed/T7S5xf/3521/1221"
                                    }
                                 ]
                              }
                           ],
                           "subtotal_amount": 62.78,
                           "discount_amount": 0,
                           "shipping_amount": 4.69,
                           "tax_amount": 5.02,
                           "total_amount": 72.49,
                           "shipments": [],
                           "metadata": []
                        }
                     }
                  }
               }
            }
         }
      },
      "schemas": {
         "property_PrintingProduct_image_urls": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "Sample image URLs"
         },
         "PrintingTechnique": {
            "type": "object",
            "properties": {
               "code": {
                  "type": "string",
                  "description": "Technique key used in the API (eg. dtg, embroidery)"
               },
               "name": {
                  "type": "string",
                  "description": "Display name"
               },
               "is_default": {
                  "type": "boolean"
               }
            },
            "description": "A print technique or decoration method"
         },
         "property_PrintingProduct_techniques": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingTechnique"
            },
            "description": "Print techniques available for this product"
         },
         "PrintingPlacement": {
            "type": "object",
            "properties": {
               "code": {
                  "type": "string",
                  "description": "Placement key used when attaching a print file (eg. front, back)"
               },
               "name": {
                  "type": "string",
                  "description": "Display name"
               },
               "technique": {
                  "type": "string",
                  "description": "Print technique or decoration method code for this placement (eg. dtg, embroidery)"
               },
               "width": {
                  "type": "number",
                  "description": "Width of the print area, in `unit`"
               },
               "height": {
                  "type": "number",
                  "description": "Height of the print area, in `unit`"
               },
               "unit": {
                  "type": "string",
                  "description": "Unit of `width` and `height`",
                  "enum": [
                     "PIXEL",
                     "MILLIMETER",
                     "CENTIMETER",
                     "INCH",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "dpi": {
                  "type": "number",
                  "description": "Print resolution for the given width and height"
               },
               "additional_price_amount": {
                  "type": "number",
                  "description": "Extra cost when this placement is printed"
               }
            },
            "description": "A print area on a product (eg. front, back, sleeve)"
         },
         "property_PrintingProduct_placements": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingPlacement"
            },
            "description": "Print areas available on this product"
         },
         "property_PrintingProductVariant_placements": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingPlacement"
            },
            "description": "Print areas of this variant, when they differ per variant"
         },
         "PrintingProductVariant": {
            "type": "object",
            "properties": {
               "identifier": {
                  "type": "string",
                  "description": "Variant identifier, used as `variant_identifier` on order and quote line items"
               },
               "name": {
                  "type": "string",
                  "description": "Display name"
               },
               "size": {
                  "type": "string"
               },
               "color": {
                  "type": "string"
               },
               "color_code": {
                  "type": "string",
                  "description": "Hexadecimal RGB color code"
               },
               "image_url": {
                  "type": "string"
               },
               "price_amount": {
                  "type": "number",
                  "description": "Base production price of the blank variant"
               },
               "is_available": {
                  "type": "boolean",
                  "description": "Variant is in stock and can be ordered"
               },
               "placements": {
                  "$ref": "#/components/schemas/property_PrintingProductVariant_placements",
                  "description": "Print areas of this variant, when they differ per variant"
               }
            },
            "description": "A size / color variant of a blank catalog product"
         },
         "property_PrintingProduct_variants": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingProductVariant"
            }
         },
         "PrintingMetadata": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "The ID of the custom field definition (from the metadata/metadata endpoint)."
               },
               "slug": {
                  "type": "string",
                  "description": "The integration's API name (key) of an existing custom field."
               },
               "value": {
                  "description": "The field's value, typed by `format`.",
                  "additionalProperties": true,
                  "anyOf": [
                     {
                        "type": "object"
                     },
                     {
                        "type": "string"
                     },
                     {
                        "type": "number"
                     },
                     {
                        "type": "boolean"
                     },
                     {
                        "type": "array",
                        "items": {
                           "anyOf": [
                              {
                                 "type": "object"
                              },
                              {
                                 "type": "string"
                              },
                              {
                                 "type": "number"
                              },
                              {
                                 "type": "boolean"
                              }
                           ]
                        }
                     }
                  ]
               },
               "namespace": {
                  "type": "string"
               },
               "format": {
                  "type": "string",
                  "description": "The data type of the custom field, which determines how `value` is formatted.",
                  "enum": [
                     "TEXT",
                     "NUMBER",
                     "DATE",
                     "BOOLEAN",
                     "FILE",
                     "TEXTAREA",
                     "SINGLE_SELECT",
                     "MULTIPLE_SELECT",
                     "MEASUREMENT",
                     "PRICE",
                     "YES_NO",
                     "CURRENCY",
                     "URL"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "extra_data": {
                  "additionalProperties": true,
                  "anyOf": [
                     {
                        "type": "object"
                     },
                     {
                        "type": "string"
                     },
                     {
                        "type": "number"
                     },
                     {
                        "type": "boolean"
                     },
                     {
                        "type": "array",
                        "items": {
                           "anyOf": [
                              {
                                 "type": "object"
                              },
                              {
                                 "type": "string"
                              },
                              {
                                 "type": "number"
                              },
                              {
                                 "type": "boolean"
                              }
                           ]
                        }
                     }
                  ]
               }
            }
         },
         "property_PrintingProduct_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingMetadata"
            }
         },
         "PrintingProduct": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "name": {
                  "type": "string"
               },
               "description": {
                  "type": "string"
               },
               "brand": {
                  "type": "string"
               },
               "model": {
                  "type": "string",
                  "description": "Manufacturer model name or number"
               },
               "category": {
                  "type": "string",
                  "description": "Product type name (eg. T-Shirt, Poster)"
               },
               "image_urls": {
                  "$ref": "#/components/schemas/property_PrintingProduct_image_urls",
                  "description": "Sample image URLs"
               },
               "currency": {
                  "type": "string",
                  "description": "ISO 4217 currency code of the variant prices"
               },
               "production_days": {
                  "type": "number",
                  "description": "Average number of days to produce an order of this product"
               },
               "is_active": {
                  "type": "boolean",
                  "description": "False when the product is discontinued"
               },
               "techniques": {
                  "$ref": "#/components/schemas/property_PrintingProduct_techniques",
                  "description": "Print techniques available for this product"
               },
               "placements": {
                  "$ref": "#/components/schemas/property_PrintingProduct_placements",
                  "description": "Print areas available on this product"
               },
               "variants": {
                  "$ref": "#/components/schemas/property_PrintingProduct_variants"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_PrintingProduct_metadata"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            },
            "description": "A blank product in the print vendor catalog that artwork can be printed on"
         },
         "PrintingProducts": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingProduct"
            }
         },
         "property_PrintingTemplate_variant_identifiers": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "Identifiers of the product variants this template is available for"
         },
         "property_PrintingTemplate_placements": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingPlacement"
            },
            "description": "Print areas used by this template"
         },
         "property_PrintingTemplate_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingMetadata"
            }
         },
         "PrintingTemplate": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "name": {
                  "type": "string"
               },
               "description": {
                  "type": "string"
               },
               "product_id": {
                  "type": "string",
                  "description": "The PrintingProduct ID of the blank product"
               },
               "preview_url": {
                  "type": "string",
                  "description": "Mockup or preview image URL"
               },
               "variant_identifiers": {
                  "$ref": "#/components/schemas/property_PrintingTemplate_variant_identifiers",
                  "description": "Identifiers of the product variants this template is available for"
               },
               "placements": {
                  "$ref": "#/components/schemas/property_PrintingTemplate_placements",
                  "description": "Print areas used by this template"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_PrintingTemplate_metadata"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            },
            "description": "A saved design template: a blank product with artwork placed on it"
         },
         "PrintingTemplates": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingTemplate"
            }
         },
         "property_PrintingFile_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingMetadata"
            }
         },
         "PrintingFile": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "name": {
                  "type": "string",
                  "description": "File name"
               },
               "url": {
                  "type": "string",
                  "description": "Source URL the file is downloaded from"
               },
               "preview_url": {
                  "type": "string",
                  "description": "Preview image URL"
               },
               "mime_type": {
                  "type": "string"
               },
               "size": {
                  "type": "number",
                  "description": "Size in bytes"
               },
               "width": {
                  "type": "number",
                  "description": "Width in pixels"
               },
               "height": {
                  "type": "number",
                  "description": "Height in pixels"
               },
               "dpi": {
                  "type": "number",
                  "description": "Resolution in DPI"
               },
               "status": {
                  "type": "string",
                  "description": "Processing status of the file",
                  "enum": [
                     "PENDING",
                     "READY",
                     "FAILED",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_PrintingFile_metadata"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            },
            "description": "An artwork or print file in the print vendor file library"
         },
         "PrintingFiles": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingFile"
            }
         },
         "property_PrintingQuote_shipping_address": {
            "type": "object",
            "properties": {
               "name": {
                  "type": "string",
                  "description": "Recipient full name"
               },
               "company_name": {
                  "type": "string"
               },
               "email": {
                  "type": "string"
               },
               "telephone": {
                  "type": "string"
               },
               "address1": {
                  "type": "string",
                  "description": "first line of the street address"
               },
               "address2": {
                  "type": "string",
                  "description": "second line of the street address"
               },
               "city": {
                  "type": "string",
                  "description": "city or locality"
               },
               "region": {
                  "type": "string",
                  "description": "state, province or regional area"
               },
               "region_code": {
                  "type": "string",
                  "description": "state, province or regional area code"
               },
               "postal_code": {
                  "type": "string",
                  "description": "postal or ZIP code"
               },
               "country": {
                  "type": "string",
                  "description": "country name"
               },
               "country_code": {
                  "type": "string",
                  "description": "ISO 3166-1 alpha-2 country code"
               }
            },
            "description": "Recipient and delivery address"
         },
         "PrintingLineitemFile": {
            "type": "object",
            "properties": {
               "placement": {
                  "type": "string",
                  "description": "Placement code the file is printed on (eg. front, back)"
               },
               "file_id": {
                  "type": "string",
                  "description": "The PrintingFile ID"
               },
               "url": {
                  "type": "string",
                  "description": "URL of the print file"
               }
            },
            "description": "A print file attached to a line item for one placement"
         },
         "property_PrintingLineitem_files": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingLineitemFile"
            },
            "description": "Print files, one per placement"
         },
         "PrintingLineitem": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Line item identifier"
               },
               "product_id": {
                  "type": "string",
                  "description": "The PrintingProduct ID of the blank product"
               },
               "variant_identifier": {
                  "type": "string",
                  "description": "Identifier of the product variant"
               },
               "name": {
                  "type": "string",
                  "description": "Display name"
               },
               "sku": {
                  "type": "string",
                  "description": "Product identifier (SKU) from the ordering system"
               },
               "quantity": {
                  "type": "number"
               },
               "unit_price_amount": {
                  "type": "number",
                  "description": "Production price per unit charged by the print vendor"
               },
               "retail_price_amount": {
                  "type": "number",
                  "description": "Retail price per unit paid by the end customer"
               },
               "files": {
                  "$ref": "#/components/schemas/property_PrintingLineitem_files",
                  "description": "Print files, one per placement"
               }
            },
            "description": "A line item on a print order or quote"
         },
         "property_PrintingQuote_lineitems": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingLineitem"
            }
         },
         "PrintingShippingoption": {
            "type": "object",
            "properties": {
               "code": {
                  "type": "string",
                  "description": "Shipping method code, used as `shipping_method` on an order"
               },
               "name": {
                  "type": "string",
                  "description": "Display name"
               },
               "amount": {
                  "type": "number",
                  "description": "Shipping price"
               },
               "currency": {
                  "type": "string",
                  "description": "ISO 4217 currency code"
               },
               "min_delivery_days": {
                  "type": "number",
                  "description": "Estimated minimum number of days to delivery"
               },
               "max_delivery_days": {
                  "type": "number",
                  "description": "Estimated maximum number of days to delivery"
               }
            },
            "description": "A shipping method available for a quote, with its price"
         },
         "property_PrintingQuote_shipping_options": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingShippingoption"
            },
            "description": "Available shipping methods and their prices"
         },
         "property_PrintingQuote_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingMetadata"
            }
         },
         "PrintingQuote": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "currency": {
                  "type": "string",
                  "description": "ISO 4217 currency code"
               },
               "shipping_address": {
                  "$ref": "#/components/schemas/property_PrintingQuote_shipping_address",
                  "description": "Recipient and delivery address"
               },
               "shipping_method": {
                  "type": "string",
                  "description": "Shipping method code the costs are calculated for"
               },
               "lineitems": {
                  "$ref": "#/components/schemas/property_PrintingQuote_lineitems"
               },
               "subtotal_amount": {
                  "type": "number",
                  "description": "Total production cost of all line items"
               },
               "discount_amount": {
                  "type": "number"
               },
               "shipping_amount": {
                  "type": "number",
                  "description": "Shipping cost"
               },
               "tax_amount": {
                  "type": "number",
                  "description": "Taxes, including VAT"
               },
               "total_amount": {
                  "type": "number",
                  "description": "Grand total charged by the print vendor"
               },
               "shipping_options": {
                  "$ref": "#/components/schemas/property_PrintingQuote_shipping_options",
                  "description": "Available shipping methods and their prices"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_PrintingQuote_metadata"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            },
            "description": "A cost and shipping estimate for a prospective print order"
         },
         "property_PrintingOrder_shipping_address": {
            "type": "object",
            "properties": {
               "name": {
                  "type": "string",
                  "description": "Recipient full name"
               },
               "company_name": {
                  "type": "string"
               },
               "email": {
                  "type": "string"
               },
               "telephone": {
                  "type": "string"
               },
               "address1": {
                  "type": "string",
                  "description": "first line of the street address"
               },
               "address2": {
                  "type": "string",
                  "description": "second line of the street address"
               },
               "city": {
                  "type": "string",
                  "description": "city or locality"
               },
               "region": {
                  "type": "string",
                  "description": "state, province or regional area"
               },
               "region_code": {
                  "type": "string",
                  "description": "state, province or regional area code"
               },
               "postal_code": {
                  "type": "string",
                  "description": "postal or ZIP code"
               },
               "country": {
                  "type": "string",
                  "description": "country name"
               },
               "country_code": {
                  "type": "string",
                  "description": "ISO 3166-1 alpha-2 country code"
               }
            },
            "description": "Recipient and delivery address"
         },
         "property_PrintingOrder_lineitems": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingLineitem"
            }
         },
         "PrintingShipment": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Shipment identifier"
               },
               "carrier": {
                  "type": "string",
                  "description": "Carrier name"
               },
               "service": {
                  "type": "string",
                  "description": "Delivery service name"
               },
               "tracking_number": {
                  "type": "string"
               },
               "tracking_url": {
                  "type": "string"
               },
               "shipped_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "delivered_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               }
            },
            "description": "A shipment of a print order"
         },
         "property_PrintingOrder_shipments": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingShipment"
            }
         },
         "property_PrintingOrder_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingMetadata"
            }
         },
         "PrintingOrder": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "external_identifier": {
                  "type": "string",
                  "description": "Order identifier from the ordering system"
               },
               "customer_identifier": {
                  "type": "string",
                  "description": "Identifier of the end customer in the ordering system"
               },
               "status": {
                  "type": "string",
                  "enum": [
                     "DRAFT",
                     "PENDING",
                     "ON_HOLD",
                     "IN_PRODUCTION",
                     "PARTIALLY_SHIPPED",
                     "SHIPPED",
                     "DELIVERED",
                     "CANCELLED",
                     "FAILED",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "currency": {
                  "type": "string",
                  "description": "ISO 4217 currency code"
               },
               "shipping_address": {
                  "$ref": "#/components/schemas/property_PrintingOrder_shipping_address",
                  "description": "Recipient and delivery address"
               },
               "shipping_method": {
                  "type": "string",
                  "description": "Shipping method code"
               },
               "lineitems": {
                  "$ref": "#/components/schemas/property_PrintingOrder_lineitems"
               },
               "subtotal_amount": {
                  "type": "number",
                  "description": "Total production cost of all line items"
               },
               "discount_amount": {
                  "type": "number"
               },
               "shipping_amount": {
                  "type": "number",
                  "description": "Shipping cost"
               },
               "tax_amount": {
                  "type": "number",
                  "description": "Taxes, including VAT"
               },
               "total_amount": {
                  "type": "number",
                  "description": "Grand total charged by the print vendor"
               },
               "shipments": {
                  "$ref": "#/components/schemas/property_PrintingOrder_shipments"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_PrintingOrder_metadata"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            },
            "description": "A production order placed with the print vendor"
         },
         "PrintingOrders": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/PrintingOrder"
            }
         }
      }
   },
   "paths": {
      "/printing/{connection_id}/product/{id}": {
         "get": {
            "summary": "Retrieve a product",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "description",
                           "brand",
                           "model",
                           "category",
                           "image_urls",
                           "currency",
                           "production_days",
                           "is_active",
                           "techniques",
                           "placements",
                           "variants",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Product",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "printing",
               "product"
            ],
            "description": "Retrieves a single PrintingProduct by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/PrintingProduct"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getPrintingProduct"
         }
      },
      "/printing/{connection_id}/product": {
         "get": {
            "summary": "List all products",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "description",
                           "brand",
                           "model",
                           "category",
                           "image_urls",
                           "currency",
                           "production_days",
                           "is_active",
                           "techniques",
                           "placements",
                           "variants",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "printing",
               "product"
            ],
            "description": "Returns a list of PrintingProducts. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/PrintingProducts"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listPrintingProducts"
         }
      },
      "/printing/{connection_id}/template/{id}": {
         "get": {
            "summary": "Retrieve a template",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "description",
                           "product_id",
                           "preview_url",
                           "variant_identifiers",
                           "placements",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Template",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "printing",
               "template"
            ],
            "description": "Retrieves a single PrintingTemplate by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/PrintingTemplate"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getPrintingTemplate"
         }
      },
      "/printing/{connection_id}/template": {
         "get": {
            "summary": "List all templates",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "description",
                           "product_id",
                           "preview_url",
                           "variant_identifiers",
                           "placements",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "printing",
               "template"
            ],
            "description": "Returns a list of PrintingTemplates. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/PrintingTemplates"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listPrintingTemplates"
         }
      },
      "/printing/{connection_id}/file": {
         "post": {
            "summary": "Create a file",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "url",
                           "preview_url",
                           "mime_type",
                           "size",
                           "width",
                           "height",
                           "dpi",
                           "status",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "printing",
               "file"
            ],
            "description": "Creates a PrintingFile. Provide the unified PrintingFile fields in the request body; they are mapped to the provider's API. Returns the created PrintingFile.",
            "requestBody": {
               "description": "An artwork or print file in the print vendor file library",
               "required": true,
               "content": {
                  "application/json": {
                     "schema": {
                        "$ref": "#/components/schemas/PrintingFile"
                     },
                     "examples": {
                        "printing_file": {
                           "summary": "Sample PrintingFile",
                           "value": {
                              "id": "722c7c76-1b39-4d56-afbb-df00bbf38952",
                              "created_at": "2020-10-22T04:25:39.825Z",
                              "updated_at": "2020-10-22T04:25:39.825Z",
                              "name": "blond-ecliptic.jpg",
                              "url": "https://picsum.photos/seed/XBj97B/2783/172",
                              "preview_url": "https://picsum.photos/seed/aATvhmNA/400/400",
                              "mime_type": "image/jpeg",
                              "size": 1956654,
                              "width": 4500,
                              "height": 5400,
                              "dpi": 300,
                              "status": "READY",
                              "metadata": []
                           }
                        }
                     }
                  }
               }
            },
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/PrintingFile"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "createPrintingFile"
         },
         "get": {
            "summary": "List all files",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "url",
                           "preview_url",
                           "mime_type",
                           "size",
                           "width",
                           "height",
                           "dpi",
                           "status",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "printing",
               "file"
            ],
            "description": "Returns a list of PrintingFiles. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/PrintingFiles"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listPrintingFiles"
         }
      },
      "/printing/{connection_id}/file/{id}": {
         "get": {
            "summary": "Retrieve a file",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "url",
                           "preview_url",
                           "mime_type",
                           "size",
                           "width",
                           "height",
                           "dpi",
                           "status",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the File",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "printing",
               "file"
            ],
            "description": "Retrieves a single PrintingFile by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/PrintingFile"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getPrintingFile"
         }
      },
      "/printing/{connection_id}/quote": {
         "post": {
            "summary": "Create a quote",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "currency",
                           "shipping_address",
                           "shipping_method",
                           "lineitems",
                           "subtotal_amount",
                           "discount_amount",
                           "shipping_amount",
                           "tax_amount",
                           "total_amount",
                           "shipping_options",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "printing",
               "quote"
            ],
            "description": "Creates a PrintingQuote. Provide the unified PrintingQuote fields in the request body; they are mapped to the provider's API. Returns the created PrintingQuote.",
            "requestBody": {
               "description": "A cost and shipping estimate for a prospective print order",
               "required": true,
               "content": {
                  "application/json": {
                     "schema": {
                        "$ref": "#/components/schemas/PrintingQuote"
                     },
                     "examples": {
                        "printing_quote": {
                           "summary": "Sample PrintingQuote",
                           "value": {
                              "id": "6e20b989-9d10-4aae-b152-4a95bf8bfd95",
                              "created_at": "2019-01-02T03:42:06.944Z",
                              "updated_at": "2019-01-02T03:42:06.944Z",
                              "currency": "USD",
                              "shipping_address": {
                                 "name": "Heaven Crist",
                                 "company_name": "Kris and Sons",
                                 "email": "jada73@hotmail.com",
                                 "telephone": "653.412.8900 x9387",
                                 "address1": "4290 Garden Street",
                                 "address2": "Suite 874",
                                 "city": "Cartwrightshire",
                                 "region": "North Carolina",
                                 "region_code": "KY",
                                 "postal_code": "92871",
                                 "country": "United States",
                                 "country_code": "US"
                              },
                              "shipping_method": "STANDARD",
                              "lineitems": [
                                 {
                                    "id": "1",
                                    "name": "Practical Wooden Salad",
                                    "quantity": 2,
                                    "unit_price_amount": 21.72,
                                    "retail_price_amount": 50.83,
                                    "files": [
                                       {
                                          "placement": "default",
                                          "url": "https://picsum.photos/seed/0Y5Bjnoiwx/3057/3113"
                                       }
                                    ]
                                 },
                                 {
                                    "id": "2",
                                    "name": "Handmade Gold Car",
                                    "sku": "I79GIBCK",
                                    "quantity": 4,
                                    "unit_price_amount": 17.64,
                                    "retail_price_amount": 35.47,
                                    "files": [
                                       {
                                          "placement": "default",
                                          "url": "https://picsum.photos/seed/rcPUF/2295/1801"
                                       }
                                    ]
                                 }
                              ],
                              "subtotal_amount": 114,
                              "discount_amount": 0,
                              "shipping_amount": 4.69,
                              "tax_amount": 9.12,
                              "total_amount": 127.81,
                              "shipping_options": [
                                 {
                                    "code": "STANDARD",
                                    "name": "Flat Rate (3-5 business days after fulfillment)",
                                    "amount": 4.69,
                                    "currency": "USD",
                                    "min_delivery_days": 3,
                                    "max_delivery_days": 5
                                 },
                                 {
                                    "code": "EXPRESS",
                                    "name": "Express (1-3 business days after fulfillment)",
                                    "amount": 12.99,
                                    "currency": "USD",
                                    "min_delivery_days": 1,
                                    "max_delivery_days": 3
                                 }
                              ],
                              "metadata": []
                           }
                        }
                     }
                  }
               }
            },
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/PrintingQuote"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "createPrintingQuote"
         }
      },
      "/printing/{connection_id}/order": {
         "post": {
            "summary": "Create an order",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "external_identifier",
                           "customer_identifier",
                           "status",
                           "currency",
                           "shipping_address",
                           "shipping_method",
                           "lineitems",
                           "subtotal_amount",
                           "discount_amount",
                           "shipping_amount",
                           "tax_amount",
                           "total_amount",
                           "shipments",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "printing",
               "order"
            ],
            "description": "Creates a PrintingOrder. Provide the unified PrintingOrder fields in the request body; they are mapped to the provider's API. Returns the created PrintingOrder.",
            "requestBody": {
               "description": "A production order placed with the print vendor",
               "required": true,
               "content": {
                  "application/json": {
                     "schema": {
                        "$ref": "#/components/schemas/PrintingOrder"
                     },
                     "examples": {
                        "printing_order": {
                           "summary": "Sample PrintingOrder",
                           "value": {
                              "id": "a7922a30-e2a3-4ce9-8097-cbef2589f1d9",
                              "created_at": "2022-03-14T11:16:15.147Z",
                              "updated_at": "2025-01-27T21:02:52.044Z",
                              "status": "OTHER",
                              "currency": "USD",
                              "shipping_address": {
                                 "name": "Angelita Denesik",
                                 "email": "gary_leffler28@gmail.com",
                                 "telephone": "808-831-6489 x62979",
                                 "address1": "651 Main Street",
                                 "city": "Euclid",
                                 "region": "Colorado",
                                 "region_code": "AR",
                                 "postal_code": "80301",
                                 "country": "United States",
                                 "country_code": "US"
                              },
                              "shipping_method": "STANDARD",
                              "lineitems": [
                                 {
                                    "id": "1",
                                    "name": "Bespoke Marble Chair",
                                    "sku": "IBDIE3XR",
                                    "quantity": 2,
                                    "unit_price_amount": 26.37,
                                    "retail_price_amount": 54.89,
                                    "files": [
                                       {
                                          "placement": "default",
                                          "url": "https://picsum.photos/seed/y54e6o9hYi/191/3357"
                                       }
                                    ]
                                 },
                                 {
                                    "id": "2",
                                    "name": "Electronic Cotton Hat",
                                    "quantity": 1,
                                    "unit_price_amount": 10.04,
                                    "retail_price_amount": 23.94,
                                    "files": [
                                       {
                                          "placement": "default",
                                          "url": "https://picsum.photos/seed/T7S5xf/3521/1221"
                                       }
                                    ]
                                 }
                              ],
                              "subtotal_amount": 62.78,
                              "discount_amount": 0,
                              "shipping_amount": 4.69,
                              "tax_amount": 5.02,
                              "total_amount": 72.49,
                              "shipments": [],
                              "metadata": []
                           }
                        }
                     }
                  }
               }
            },
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/PrintingOrder"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "createPrintingOrder"
         },
         "get": {
            "summary": "List all orders",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "status",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "external_identifier",
                           "customer_identifier",
                           "status",
                           "currency",
                           "shipping_address",
                           "shipping_method",
                           "lineitems",
                           "subtotal_amount",
                           "discount_amount",
                           "shipping_amount",
                           "tax_amount",
                           "total_amount",
                           "shipments",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "printing",
               "order"
            ],
            "description": "Returns a list of PrintingOrders. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/PrintingOrders"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listPrintingOrders"
         }
      },
      "/printing/{connection_id}/order/{id}": {
         "get": {
            "summary": "Retrieve an order",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "external_identifier",
                           "customer_identifier",
                           "status",
                           "currency",
                           "shipping_address",
                           "shipping_method",
                           "lineitems",
                           "subtotal_amount",
                           "discount_amount",
                           "shipping_amount",
                           "tax_amount",
                           "total_amount",
                           "shipments",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Order",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "printing",
               "order"
            ],
            "description": "Retrieves a single PrintingOrder by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/PrintingOrder"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getPrintingOrder"
         },
         "put": {
            "summary": "Update an order",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "external_identifier",
                           "customer_identifier",
                           "status",
                           "currency",
                           "shipping_address",
                           "shipping_method",
                           "lineitems",
                           "subtotal_amount",
                           "discount_amount",
                           "shipping_amount",
                           "tax_amount",
                           "total_amount",
                           "shipments",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Order",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "printing",
               "order"
            ],
            "description": "Updates the PrintingOrder identified by `id`. Provide the unified PrintingOrder fields to change in the request body.",
            "requestBody": {
               "description": "A production order placed with the print vendor",
               "required": true,
               "content": {
                  "application/json": {
                     "schema": {
                        "$ref": "#/components/schemas/PrintingOrder"
                     },
                     "examples": {
                        "printing_order": {
                           "summary": "Sample PrintingOrder",
                           "value": {
                              "id": "e0d61000-4a0a-49ac-b1ed-3eadad79cefa",
                              "created_at": "2022-03-14T11:16:15.147Z",
                              "updated_at": "2025-01-27T21:02:52.051Z",
                              "status": "OTHER",
                              "currency": "USD",
                              "shipping_address": {
                                 "name": "Angelita Denesik",
                                 "email": "gary_leffler28@gmail.com",
                                 "telephone": "808-831-6489 x62979",
                                 "address1": "651 Main Street",
                                 "city": "Euclid",
                                 "region": "Colorado",
                                 "region_code": "AR",
                                 "postal_code": "80301",
                                 "country": "United States",
                                 "country_code": "US"
                              },
                              "shipping_method": "STANDARD",
                              "lineitems": [
                                 {
                                    "id": "1",
                                    "name": "Bespoke Marble Chair",
                                    "sku": "IBDIE3XR",
                                    "quantity": 2,
                                    "unit_price_amount": 26.37,
                                    "retail_price_amount": 54.89,
                                    "files": [
                                       {
                                          "placement": "default",
                                          "url": "https://picsum.photos/seed/y54e6o9hYi/191/3357"
                                       }
                                    ]
                                 },
                                 {
                                    "id": "2",
                                    "name": "Electronic Cotton Hat",
                                    "quantity": 1,
                                    "unit_price_amount": 10.04,
                                    "retail_price_amount": 23.94,
                                    "files": [
                                       {
                                          "placement": "default",
                                          "url": "https://picsum.photos/seed/T7S5xf/3521/1221"
                                       }
                                    ]
                                 }
                              ],
                              "subtotal_amount": 62.78,
                              "discount_amount": 0,
                              "shipping_amount": 4.69,
                              "tax_amount": 5.02,
                              "total_amount": 72.49,
                              "shipments": [],
                              "metadata": []
                           }
                        }
                     }
                  }
               }
            },
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/PrintingOrder"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "updatePrintingOrder"
         },
         "patch": {
            "summary": "Update an order",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "external_identifier",
                           "customer_identifier",
                           "status",
                           "currency",
                           "shipping_address",
                           "shipping_method",
                           "lineitems",
                           "subtotal_amount",
                           "discount_amount",
                           "shipping_amount",
                           "tax_amount",
                           "total_amount",
                           "shipments",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Order",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "printing",
               "order"
            ],
            "description": "Updates the PrintingOrder identified by `id`. Provide the unified PrintingOrder fields to change in the request body.",
            "requestBody": {
               "description": "A production order placed with the print vendor",
               "required": true,
               "content": {
                  "application/json": {
                     "schema": {
                        "$ref": "#/components/schemas/PrintingOrder"
                     },
                     "examples": {
                        "printing_order": {
                           "summary": "Sample PrintingOrder",
                           "value": {
                              "id": "e0d61000-4a0a-49ac-b1ed-3eadad79cefa",
                              "created_at": "2022-03-14T11:16:15.147Z",
                              "updated_at": "2025-01-27T21:02:52.051Z",
                              "status": "OTHER",
                              "currency": "USD",
                              "shipping_address": {
                                 "name": "Angelita Denesik",
                                 "email": "gary_leffler28@gmail.com",
                                 "telephone": "808-831-6489 x62979",
                                 "address1": "651 Main Street",
                                 "city": "Euclid",
                                 "region": "Colorado",
                                 "region_code": "AR",
                                 "postal_code": "80301",
                                 "country": "United States",
                                 "country_code": "US"
                              },
                              "shipping_method": "STANDARD",
                              "lineitems": [
                                 {
                                    "id": "1",
                                    "name": "Bespoke Marble Chair",
                                    "sku": "IBDIE3XR",
                                    "quantity": 2,
                                    "unit_price_amount": 26.37,
                                    "retail_price_amount": 54.89,
                                    "files": [
                                       {
                                          "placement": "default",
                                          "url": "https://picsum.photos/seed/y54e6o9hYi/191/3357"
                                       }
                                    ]
                                 },
                                 {
                                    "id": "2",
                                    "name": "Electronic Cotton Hat",
                                    "quantity": 1,
                                    "unit_price_amount": 10.04,
                                    "retail_price_amount": 23.94,
                                    "files": [
                                       {
                                          "placement": "default",
                                          "url": "https://picsum.photos/seed/T7S5xf/3521/1221"
                                       }
                                    ]
                                 }
                              ],
                              "subtotal_amount": 62.78,
                              "discount_amount": 0,
                              "shipping_amount": 4.69,
                              "tax_amount": 5.02,
                              "total_amount": 72.49,
                              "shipments": [],
                              "metadata": []
                           }
                        }
                     }
                  }
               }
            },
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/PrintingOrder"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "patchPrintingOrder"
         },
         "delete": {
            "summary": "Remove an order",
            "parameters": [
               {
                  "schema": {
                     "type": "boolean"
                  },
                  "name": "notify",
                  "in": "query",
                  "required": false,
                  "description": "Whether to notify the people or systems attached to this resource (e.g. a calendar event's attendees) about its deletion. Only applies where the integration supports it; ignored otherwise. When omitted, the integration's default applies."
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Order",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "printing",
               "order"
            ],
            "description": "Deletes the PrintingOrder identified by `id`.",
            "responses": {
               "200": {
                  "description": "Successful"
               },
               "default": {
                  "headers": {
                     "Content-Type": {
                        "required": false,
                        "schema": {
                           "type": "string"
                        }
                     }
                  },
                  "content": {},
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "removePrintingOrder"
         }
      }
   }
}