Skip to main content
Anchor to productVariantUpdate

productVariantUpdate

mutation

Requires write_products access scope. Also: The user must have a permission to update a product variant.

Deprecated. Use productVariantsBulkUpdate instead.

Updates a product variant.

•ProductVariantInput!required

The updated properties for the product variant.


Was this section helpful?

Anchor to ProductVariantUpdatePayload returnsProductVariantUpdatePayload returns

•Product

The product associated with the variant.

•ProductVariant

The updated variant.

•[UserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?