INPUT_OBJECT

ReorderCollectionItemInput

ReorderCollectionItemInput accepts a collectionID and item ID and parameters to update the item order of a collection.

link GraphQL Schema definition

1input ReorderCollectionItemInput {
4
2# The id of the collection.
3collectionID: ID!
7
5# The id of the item of which will be moved in the collection.
6itemID: ID!
10
8# The type of item ie. video.
9itemType: String!
13
11# The new position of the item.
12position: Int!
14}