Skip to content

shoppingListUpdate

Mutationin Shopping lists

Update an existing shopping list's information

Arguments

ArgumentTypeDescription
idID!
shoppingListShoppingListInput!

Returns

ShoppingListUpdateResponse!

FieldTypeDescription
shoppingListShoppingListUpdated 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
}
}
}

The query is the example the schema documents. The response shows its shape with placeholder values.

Served by

@evolve-framework/commercetoolsResolved
@evolve-framework/medusaResolved
@evolve-framework/sfccStub: answers Not implemented

Used by

The storefront packages that send it, in these GraphQL documents: