shoppingListLineItemsRemove
Remove specific items from a shopping list
Arguments
| Argument | Type | Description |
|---|---|---|
id | ID! | |
lineItemIds | [String!]! |
Returns
ShoppingListLineItemsRemoveResponse!
| Field | Type | Description |
|---|---|---|
shoppingList | ShoppingList | Updated shopping list information after line item operation |
shoppingListErrors | [ShoppingListLineItemsRemoveError!] | Error details if line item operation failed |
Example
mutation { shoppingListLineItemsRemove( id: "sl-123" lineItemIds: ["li-456", "li-789"] ) { shoppingList { id lineItems { id slug } } } }{ "data": { "shoppingListLineItemsRemove": { "shoppingList": { "id": "id-1", "lineItems": [ { "id": "id-1", "slug": "/example" } ] } } }}The query is the example the schema documents. The response shows its shape with placeholder values.
Served by
| @evolve-framework/commercetools | Resolved |
| @evolve-framework/medusa | Resolved |
| @evolve-framework/sfcc | Stub: answers Not implemented |
Used by
The storefront packages that send it, in these GraphQL documents:
- @evolve-storefront/feature-shopping-list:
ShoppingListLineItemsRemove

