Shopify Custom icon

Shopify Custom

Shopify Admin GraphQL node with metafields and definitions support

Product Variant → Create

AI-generated

Summary

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.

Links

Discussion