Skip to main content

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 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.

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