Create a mockup generation task
printful_create_mockup_taskStart generating product mockups for a design on a catalog product — returns a task_key; poll printful_get_mockup_task for the images. Heavily rate-limited (about 10/min for established stores, 2/min for new ones). Printful: POST /mockup-generator/create-task/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Design files per placement. Give files or product_template_id. | |
| width | No | Mockup width in px, 50-2000 (default 1000). | |
| format | No | Output format (png is transparent). | |
| options | No | Mockup option names to generate (see printfiles). | |
| store_id | No | Store id (numeric) for an ACCOUNT-level token; overrides PRINTFUL_STORE_ID. Not needed with a store-level token. | |
| product_id | Yes | Catalog product id. | |
| variant_ids | Yes | Catalog variant ids to render. | |
| option_groups | No | Mockup option groups to generate. | |
| product_options | No | Product options, e.g. embroidery thread colors. | |
| product_template_id | No | Use a saved Product Template instead of files. |