Skip to main content
Version: 3.x

productVariantBulkUpdate

Update multiple product variants.

Added in Saleor 3.11
This API is currently in Feature Preview and can be subject to changes at later point.
Requires MANAGE_PRODUCTSpermission.
productVariantBulkUpdate(
errorPolicy: ErrorPolicyEnum
product: ID!
variants: [ProductVariantBulkUpdateInput!]!
): ProductVariantBulkUpdate

Arguments

productVariantBulkUpdate.errorPolicy ● ErrorPolicyEnum enum

Policies of error handling. DEFAULT: REJECT_EVERYTHING

productVariantBulkUpdate.product ● ID! non-null scalar

ID of the product to update the variants for.

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

Input list of product variants to update.

Type

ProductVariantBulkUpdate object

Update multiple product variants.

Added in Saleor 3.11
This API is currently in Feature Preview and can be subject to changes at later point.
Requires MANAGE_PRODUCTSpermission.

Was this page helpful?