Magidoc

productReorderVariants
Mutation

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

Arguments

#

moves

Non-null

The list of variant reordering operations.

productId

ID !
Non-null

Id of product that variants order will be altered.

Response

#

Returns ProductReorderVariants .

Example

#