orderlistRemoveItems
Remove products and clusters from an order list.
Disassociates individual products and/or product clusters from the specified order list, removing them from bulk ordering operations.
Possible errors:
- ORDERLIST_NOT_FOUND_ERROR: Order list with the specified ID does not exist
- ORDERLIST_REFERENCE_NOT_FOUND_ERROR: A product or cluster source matches nothing; the message names the unknown sources. Ids are removed without being checked
- ORDERLIST_CROSS_SERVICE_ERROR: The service that resolves the product and cluster sources failed to answer
- ORDERLIST_REMOVE_ITEMS_ERROR: Failed to remove items from order list
- FORBIDDEN: Insufficient permissions to modify order lists
AUTH: Role=[shop.OWNER,shop.EDITOR]
orderlistRemoveItems(
id: Int!
input: OrderlistItemsInput!
): Orderlist!
Arguments
orderlistRemoveItems.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.
orderlistRemoveItems.input ● OrderlistItemsInput! non-null input
Items to remove from the order list.
Contains arrays of product IDs and/or cluster IDs to disassociate from the order list.