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.
type ProductVariantBulkUpdate {
count: Int!
results: [ProductVariantBulkResult!]!
errors: [ProductVariantBulkError!]!
}

Fields

ProductVariantBulkUpdate.count ● Int! non-null scalar

Returns how many objects were updated.

ProductVariantBulkUpdate.results ● [ProductVariantBulkResult!]! non-null object

List of the updated variants.

ProductVariantBulkUpdate.errors ● [ProductVariantBulkError!]! non-null object

Returned by

productVariantBulkUpdate mutation