Anchor to CollectionReorderToPositionInputCollection
input_objectCollection Reorder To Position Input
The input fields for moving a block of products to one place in the collection.
The block keeps the order of . Products that the request doesn't list keep their relative order
around the block. Products that aren't in the collection are skipped.
Anchor to FieldsFields
- at (CollectionReorderTargetInput!)
- productIds ([ID!]!)
- •Collection
Reorder Target Input! required The place where the block goes.
Show input fields
- Anchor to productIdsproduct•[ID!]!
Ids non-null The IDs of the products in the block, in the order they display. Up to 1,000 products are supported; a longer list fails the request with a top-level error. A product that is listed more than once returns
DUPLICATE_PRODUCT.
Was this section helpful?
Anchor to Input objects using this inputInput objects using this input
- •INPUT OBJECT
The input fields for a declarative reorder: the request says where products end up, not how to move them one at a time. Specify exactly one of
or.The reorder is resolved against the collection's order when the job runs.
Was this section helpful?