Skip to main content

productVariantBulkUpdate Mutation

Update multiple product variants.

Requires MANAGE_PRODUCTSpermission.
productVariantBulkUpdate(
errorPolicy: ErrorPolicyEnum
product: ID!
variants: [ProductVariantBulkUpdateInput!]!
): ProductVariantBulkUpdate

Arguments

productVariantBulkUpdate.errorPolicy ● ErrorPolicyEnum enum miscellaneous

Policies of error handling. DEFAULT: REJECT_EVERYTHING

productVariantBulkUpdate.product ● ID! non-null scalar miscellaneous

ID of the product to update the variants for.

productVariantBulkUpdate.variants ● [ProductVariantBulkUpdateInput!]! non-null input products

Input list of product variants to update.

Type

ProductVariantBulkUpdate object products

Update multiple product variants.

Requires MANAGE_PRODUCTSpermission.