Anchor to collectionReorderProductscollection
collection Reorder Products
mutation
Requires access scope. Also: The user must have a permission to reorder products within a collection.
Asynchronously reorders a set of products within a specified collection. Instead of returning an updated collection, this mutation returns a job, which should be polled. The must be
. Displaced products will have their position altered in a consistent manner, with no gaps.
Anchor to Arguments
Arguments
- •ID!required
The ID of the collection on which to reorder products.
- Anchor to movesmoves•[Move
Input!]!required A list of moves to perform, which will be evaluated in order. Up to 250 moves are supported, the
does not have to be unique.
Was this section helpful?
- •
The asynchronous job reordering the products.
- Anchor to userErrorsuser•
Errors [UserError!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?