Skip to main content

productReorderVariants

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

productReorderVariants(
moves: [ReorderInput!]!
productId: ID!
): ProductReorderVariants

Arguments

productReorderVariants.moves ● [ReorderInput!]! non-null input

The list of variant reordering operations.

productReorderVariants.productId ● ID! non-null scalar

Id of product that variants order will be altered.

Type

ProductReorderVariants object

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

Was this page helpful?