Skip to main content
Anchor to productVariantsBulkReorder

productVariantsBulkReorder

mutation

Requires write_products access scope. Also: The user must have a permission to reorder product variants.

Reorders multiple variants in a single product. This mutation can be called directly or via the bulkOperation.

•[ProductVariantPositionInput!]!
required

An array of variant positions.

•ID!
required

The product ID of the variants to be reordered.


Was this section helpful?

Anchor to ProductVariantsBulkReorderPayload returnsProductVariantsBulkReorderPayload returns

•Product

The updated product.

•[ProductVariantsBulkReorderUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?