productVariantReorder Mutation
Reorder the variants of a product. Mutation updates updated_at on product and triggers PRODUCT_UPDATED webhook.
productVariantReorder(
moves: [ReorderInput!]!
productId: ID!
): ProductVariantReorder
Arguments
productVariantReorder.moves
● [ReorderInput!]!
non-null input miscellaneous
The list of variant reordering operations.
productVariantReorder.productId
● ID!
non-null scalar miscellaneous
Id of product that variants order will be altered.
Type
ProductVariantReorder
object products
Reorder the variants of a product. Mutation updates updated_at on product and triggers PRODUCT_UPDATED webhook.