Actions83
- Product Actions
- Product Variant Actions
- Collection Actions
- Article Actions
- Blog Actions
- Customer Actions
- Order Actions
- Draft Order Actions
- Inventory Actions
- File Actions
- Publication Actions
- Translation Actions
- Taxonomy Actions
- Metaobject Actions
- Metaobject Definition Actions
- Metafield Value Actions
- Metafield Definition Actions
- Service Actions
Product Variant → Create
AI-generatedSummary
Create a Shopify product variant under an existing product, with pricing, SKU, barcode, and tax settings. Use Title Option Value for the default option named "Title"; multi-option products require a dedicated option-values implementation.
Inputs
- authentication — Choose Admin API Credentials (default) or OAuth2 to authenticate with Shopify.
- productId (required) — Shopify global ID of the product to add the variant to, such as gid://shopify/Product/123.
- title — Value for the product's default variant option named "Title".
- sku — SKU for the new variant.
- barcode — Barcode for the new variant.
- price — Variant price, with two-decimal precision; defaults to 0.
- compareAtPrice — Compare-at price, with two-decimal precision; defaults to 0.
- taxable — Whether the variant is taxable; defaults to true.
- outputMode — Choose Simplified (default), Raw, or Selected Fields output.
- selectedFields — Fields to include when Output Mode is Selected Fields.
Output shape
Creation result formatted according to the selected output mode.
The signature-only source does not reveal the exact returned fields, item count, or error envelope.