An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Bulk create product variants.
Arguments
productId ● ID!non-null
The product's ID for which the variants will be created.
variants ● [ProductVariantsBulkInput!]!non-null
A list of variants that will be created.
More
Return
product ● Product
The revised product object.
More
productVariants ● [ProductVariant!]non-null
Newly created variant.
More
userErrors ● [UserError]!non-null
List of errors returned during mutation execution.
More
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?