Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

productVariantCreate Mutation

Creates a new variant for a product.

Requires one of the following permissions:MANAGE_PRODUCTS
productVariantCreate(input: ProductVariantCreateInput!): ProductVariantCreate

Returns

ProductVariantCreate

Show return type
type ProductVariantCreate {
  productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [ProductError!]!
  productVariant: ProductVariant
}

Arguments

input

input · ProductVariantCreateInput!

Fields required to create a product variant.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?