Create store product from template
gelato_create_product_from_templateDestructive
Create a product in a connected store from a template, with your own images in the template's placeholders. Gelato creates the product, then publishes variants and mockups in the background (track it with gelato_get_store_product). Hidden in the online store unless visible_in_online_store is true. POST /v1/stores/{storeId}/products:create-from-template.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Product tags, at most 13 (Etsy stores: 20 characters each). | |
| title | Yes | Product title. | |
| vendor | No | Vendor shown in the store. | |
| store_id | Yes | Gelato e-commerce store id. | |
| variants | No | Variants to create (omit for all template variants), each with the images for its placeholders. | |
| description | Yes | Product description (HTML allowed by most stores). | |
| template_id | Yes | Template id (see gelato_get_template). | |
| product_type | No | Product type shown in the store. | |
| sales_channels | No | Sales channels: "web" (default) or "global" (Shopify Point of Sale). | |
| visible_in_online_store | No | Show the product in the online store (default false). |