Skip to main content
Version: 3.x

productVariantUpdate

Updates an existing variant for product.

Requires one of the following permissions: MANAGE_PRODUCTS.

productVariantUpdate(
id: ID!
input: ProductVariantInput!
): ProductVariantUpdate

Arguments

id (ID!)

ID of a product variant to update.

input (ProductVariantInput!)

Fields required to update a product variant.

Type

ProductVariantUpdate

Updates an existing variant for product.

Requires one of the following permissions: MANAGE_PRODUCTS.