Shopify - Create Product
Description
Section titled “Description”This module allows creating complete products in your Shopify store, including basic information, variants with differentiated prices, images, and SEO configuration.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
credentials_id | string | Yes | Shopify credentials ID |
title | string | Yes | Product title |
body_html | string | No | HTML description |
vendor | string | No | Vendor/brand |
product_type | string | No | Product type |
tags | string | No | Tags separated by comma |
status | string | No | draft, active, archived (default: draft) |
published | boolean | No | Publish immediately |
price | string | No | Main variant price |
compare_at_price | string | No | Previous price (strikethrough) |
sku | string | No | Main variant SKU |
barcode | string | No | Barcode |
weight | number | No | Product weight |
weight_unit | string | No | Unit: kg, g, lb, oz (default: kg) |
inventory_quantity | number | No | Inventory quantity |
image_url | string | No | Main image URL |
seo_title | string | No | SEO title (meta title) |
seo_description | string | No | SEO description (meta description) |
Advanced Fields (via data)
Section titled “Advanced Fields (via data)”| Field | Type | Description |
|---|---|---|
variants | array | Full variants array |
images | array | Images array |
options | array | Product options (Size, Color, etc.) |
metafields | array | Custom metafields |
Credentials
Section titled “Credentials”This module requires Shopify credentials. The required fields are:
| Field | Description |
|---|---|
shop_domain | Store domain (my-store.myshopify.com) |
access_token | Admin API access token |
Output
Section titled “Output”{ "success": true, "product": { "id": 123456789, "title": "Camiseta Premium", "handle": "camiseta-premium", "variants": [], "images": [] }, "product_id": 123456789, "message": "Product \"Camiseta Premium\" created successfully"}Usage Example
Section titled “Usage Example”Simple product
Section titled “Simple product”{ "credentials_id": "shopify_tienda", "title": "Camiseta Basica", "body_html": "<p>Camiseta 100% algodon</p>", "vendor": "Mi Marca", "product_type": "Ropa", "price": "29.99", "sku": "CAM-001", "status": "active"}Product with image
Section titled “Product with image”{ "credentials_id": "shopify_tienda", "title": "Zapatillas Running", "body_html": "<p>Zapatillas deportivas ultraligeras</p>", "vendor": "SportBrand", "product_type": "Calzado", "price": "89.99", "compare_at_price": "119.99", "image_url": "https://ejemplo.com/zapatillas.jpg", "tags": "running, deportes, oferta"}Product with variants
Section titled “Product with variants”{ "credentials_id": "shopify_tienda", "title": "Camiseta Multicolor", "body_html": "<p>Disponible en varios colores y tallas</p>", "vendor": "Mi Marca", "variants": [ { "option1": "S", "option2": "Rojo", "price": "29.99", "sku": "CAM-S-RED", "inventory_quantity": 10 }, { "option1": "M", "option2": "Rojo", "price": "29.99", "sku": "CAM-M-RED", "inventory_quantity": 15 } ], "options": [ { "name": "Talla", "values": ["S", "M", "L"] }, { "name": "Color", "values": ["Rojo", "Azul", "Verde"] } ]}Product with SEO
Section titled “Product with SEO”{ "credentials_id": "shopify_tienda", "title": "Bolso de Cuero Premium", "body_html": "<h2>Bolso artesanal</h2><p>Hecho a mano con cuero italiano...</p>", "price": "199.99", "seo_title": "Bolso de Cuero Italiano | Envio Gratis", "seo_description": "Descubre nuestro bolso de cuero italiano hecho a mano. Calidad premium con envio gratis en pedidos +100."}- By default, products are created as draft
- If you don’t specify variants, a default variant is created
- The
handle(URL slug) is automatically generated from the title - Images must be publicly accessible URLs
- Tags must be separated by comma
Related Nodes
Section titled “Related Nodes”- ShopifyGetProducts - Get and search existing products
- ShopifyUpdateProduct - Update an existing product’s data
- ShopifyGetOrders - Get orders that contain products