Inventory__reorder Collections
Saves the display order of sibling collections: pass their IDs in the new order. Use inventory__updateCollection to move a collection to another parent first. Requires a signed-in staff user. Needs the `inventory__Collection` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).
inventory__reorderCollections(input: ReorderCollectionsInput!): BulkCollectionsMutationResult!Saves the display order of sibling collections: pass their IDs in the new order. Use inventory__updateCollection to move a collection to another parent first. Requires a signed-in staff user. Needs the inventory__Collection update permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
input*Returns
- inventory__reorderCollections
affectedCount*Int!requestedCount*Int!mutation Inventory__reorderCollections($input: ReorderCollectionsInput!) { inventory__reorderCollections(input: $input) { affectedCount requestedCount }}{ "input": { "ids": [ "1" ] }}{ "data": { "inventory__reorderCollections": { "affectedCount": 10, "requestedCount": 10 } }}Inventory__remove Variant Template MUTATION
Variant template will delete on which tenant user has access to. Requires a signed-in staff user. Needs the `inventory__VariantTemplate` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Inventory__set Review Hidden MUTATION
Requires a signed-in staff user. Needs the `inventory__ProductReview` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).