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
- ORDERLIST_REFERENCE_NOT_FOUND_ERROR: A product or cluster does not exist, given by id or by source; the message names the unknown ids or sources
- ORDERLIST_CROSS_SERVICE_ERROR: The service that owns the products and clusters failed to answer
- 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.