Skip to navigation

addShoppingListItems

Deprecated

Add products to a shopping list. Adding an item that already exists (same product, variant and options) increases its quantity.

Deprecated: Alpha version. Do not use in production.

Arguments

The list to add to and the products to add.

Returns

an optional AddShoppingListItemsResult
Errors encountered by the mutation, empty on success.
entityIdslist of IntegersOptional
The ids of the items, in the same order as the input items, or null if the mutation failed. An item merged into an existing one returns the existing item's id, so an id can repeat.