create_product
Create a standalone product from a design, applying correct fields, pricing floor, embroidery routing, and face-goods fill defaults. Add mockups and variants before listing on a store.
Instructions
Create a STANDALONE product from a design (split primitive) — it is NOT placed on any store yet. Applies the correct field names + pricing floor, routes EMBROIDERY garments (caps/beanies) to their real embroidery placement with Printful thread colors (derived or explicit), and defaults face goods (canvas/backpacks/bags/socks/towels/blankets/pillows/cases...) to print_style "fill" (design recomposed onto a matching background, printed edge-to-edge). Set generate_mockup: true to render a garment mockup as the display image (it auto-derives representative variants from the catalog, so you do NOT need mockup_variant_ids) — otherwise the raw design is used as the display image. To get it onto a store and listed, the required sequence is: add_variants -> sync_to_fulfillment(product_uuid, store_uuid) [associates it with the store + syncs to Printful/Printify] -> sync_to_channel [sales channel]. To run that whole pipeline in one call instead, use ship_product.
[#e8704a]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| garment | Yes | ||
| pricing | Yes | ||
| workspace | No | ||
| design_url | No | ||
| design_uuid | Yes | The design to print. Comes from generate_image / design_apparel, OR from upload_design when the merchant already owns the artwork (a logo, a brand mark, a cleared cover). Never regenerate a mark you were given as a file. | |
| print_style | No | How the design sits on the print face. "fill": recompose onto a matching background and print edge-to-edge (default for face goods). "placed": transparency preserved (default for apparel and embroidery). "auto" (default) picks by garment. | |
| product_meta | Yes | ||
| thread_colors | No | EMBROIDERY garments only: explicit Printful thread palette colors. Omit to auto-derive from the design. | |
| generate_mockup | No | ||
| mockup_variant_ids | No | Representative variant ids for the mockup preview (numeric on Printful/Printify, string productUids on Gelato). |