Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

productVariantReorder Mutation

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

Requires one of the following permissions:MANAGE_PRODUCTS
productVariantReorder(moves: [ReorderInput!]!, productId: ID!): ProductVariantReorder

Returns

ProductVariantReorder

Show return type
type ProductVariantReorder {
  product: Product
  productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [ProductError!]!
}

Arguments

moves

moves · [ReorderInput!]!

The list of variant reordering operations.

productId

productId · ID!

Id of product that variants order will be altered.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?