shoppingListUpdate
Update an existing shopping list's information
Arguments
| Argument | Type | Description |
|---|---|---|
id | ID! | |
shoppingList | ShoppingListInput! |
Returns
| Field | Type | Description |
|---|---|---|
shoppingList | ShoppingList | Updated shopping list information |
shoppingListErrors | [ShoppingListUpdateError!] | Error details if update failed |
Example
mutation { shoppingListUpdate( id: "sl-123" shoppingList: { name: "Updated Office Supplies" description: "Updated items needed for the office" } ) { shoppingList { id name description } } }{ "data": { "shoppingListUpdate": { "shoppingList": { "id": "id-1", "name": "Example", "description": "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:
ShoppingListUpdate

