orderlistAddItems
Add products and clusters to an order list.
Associates individual products and/or product clusters with the specified order list, enabling bulk ordering and streamlined purchasing processes.
Possible errors:
- ORDERLIST_NOT_FOUND_ERROR: Order list with the specified ID does not exist
- PRODUCT_NOT_FOUND_ERROR: One or more specified products do not exist
- ORDERLIST_ADD_ITEMS_ERROR: Failed to add items to order list
- FORBIDDEN: Insufficient permissions to update order lists
AUTH: Role=[shop.OWNER,shop.EDITOR]
orderlistAddItems(
id: Int!
input: OrderlistItemsInput!
): Orderlist!
Arguments
orderlistAddItems.id
● Int!
non-null scalar
Unique identifier of the order list to modify.
Must be a positive integer representing a valid order list ID in the system.
orderlistAddItems.input
● OrderlistItemsInput!
non-null input
Items to add to the order list.
Contains arrays of product IDs and/or cluster IDs to associate with the order list for bulk ordering.
Type
Orderlist
object
Orderlist entity for GraphQL federation.
Represents a curated list of products and clusters that customers are authorized to view and purchase. Used for implementing customer-specific product catalogs, restricted access controls, and personalized product visibility.