Anchor to productVariantsBulkReorderproduct
mutationproduct Variants Bulk Reorder
Requires 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.
Anchor to Arguments
Arguments
- Anchor to positionspositions•[Product
Variant Position Input!]!required An array of variant positions.
- Anchor to productIdproduct•ID!required
Id The product ID of the variants to be reordered.
Was this section helpful?
- Anchor to productproduct•Product
The updated product.
- Anchor to userErrorsuser•[Product
Errors Variants Bulk Reorder User Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?