Template data model
A saved design template: a blank product with artwork placed on it
View field support, webhooks, and list parameters for each integration on the Supported Integrations page.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | |
created_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
updated_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
name | string | No | |
description | string | No | |
product_id | string | No | The PrintingProduct ID of the blank product |
preview_url | string | No | Mockup or preview image URL |
variant_identifiers | string[] | No | Identifiers of the product variants this template is available for |
placements | PrintingPlacement[] | No | Print areas used by this template |
placements[].code | string | No | Placement key used when attaching a print file (eg. front, back) |
placements[].name | string | No | Display name |
placements[].technique | string | No | Print technique or decoration method code for this placement (eg. dtg, embroidery) |
placements[].width | number | No | Width of the print area, in unit |
placements[].height | number | No | Height of the print area, in unit |
placements[].unit | enum | No | Unit of width and height Values: PIXEL, MILLIMETER, CENTIMETER, INCH, OTHER |
placements[].dpi | number | No | Print resolution for the given width and height |
placements[].additional_price_amount | number | No | Extra cost when this placement is printed |
metadata | PrintingMetadata[] | No | |
metadata[].id | string | No | The ID of the custom field definition (from the metadata/metadata endpoint). |
metadata[].slug | string | No | The integration's API name (key) of an existing custom field. |
metadata[].value | object | No | The field's value, typed by format. |
metadata[].namespace | string | No | |
metadata[].format | enum | No | The data type of the custom field, which determines how value is formatted. Values: TEXT, NUMBER, DATE, BOOLEAN, FILE, TEXTAREA, SINGLE_SELECT, MULTIPLE_SELECT, MEASUREMENT, PRICE, YES_NO, CURRENCY, URL |
metadata[].extra_data | object | No |
Are we missing anything? Let us know
Was this page helpful?