Skip to main content

ProductVariantReorder Object

Reorder the variants of a product. Mutation updates updated_at on product and triggers PRODUCT_UPDATED webhook.

Requires MANAGE_PRODUCTSpermission.
type ProductVariantReorder {
product: Product
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
}

Fields

ProductVariantReorder.product ● Product object products

ProductVariantReorder.productErrors ● [ProductError!]! deprecated non-null object products

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

ProductVariantReorder.errors ● [ProductError!]! non-null object products

Returned By

productVariantReorder mutation