Anchor to CollectionReorderIndexedProductInputCollection
input_objectCollection Reorder Indexed Product Input
The input fields for the final index of one product in the collection.
Anchor to FieldsFields
- index (Int!)
- productId (ID!)
- Anchor to indexindex•Int!non-null
The zero-based index of the product after the reorder. An index past the end of the list puts the product at the bottom. A negative index returns
INVALID_POSITION.- Anchor to productIdproduct•ID!
Id non-null The ID of the product. A product that isn't in the collection is skipped.
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?