create_product
Creates a new product with title and optional details, defaulting to DRAFT status. After creation, attaches provided image URLs. Returns product GID and handle.
Instructions
Create a new product. The product is created first, then any image_urls (publicly fetchable) are attached as a follow-up call — Shopify pulls each URL and hosts the image on its CDN. The default status is DRAFT to prevent accidentally publishing half-configured products to the storefront; pass status=ACTIVE only when you're ready to go live. New products start with a single hidden 'Default Title' variant; to add real variants with options, call create_variants with strategy='REMOVE_STANDALONE_VARIANT'. Returns the new product's GID and handle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| description | No | Description as HTML | |
| vendor | No | ||
| product_type | No | ||
| tags | No | ||
| status | No | DRAFT | |
| image_urls | No | Image URLs to attach after creation |