Skip to main content

productVariantUpdate Mutation

Updates an existing variant for product.

Requires MANAGE_PRODUCTSpermission.
productVariantUpdate(
externalReference: String
id: ID
input: ProductVariantInput!
sku: String
): ProductVariantUpdate

Arguments

productVariantUpdate.externalReference ● String scalar miscellaneous

External ID of a product variant to update.

productVariantUpdate.id ● ID scalar miscellaneous

ID of a product to update.

productVariantUpdate.input ● ProductVariantInput! non-null input products

Fields required to update a product variant.

productVariantUpdate.sku ● String scalar miscellaneous

SKU of a product variant to update.

Type

ProductVariantUpdate object products

Updates an existing variant for product.

Requires MANAGE_PRODUCTSpermission.