Skip to content

shoppingListDelete

Mutationin Shopping lists

Delete a shopping list permanently

Arguments

ArgumentTypeDescription
idID!

Returns

ShoppingListDeleteResponse!

FieldTypeDescription
successBoolean!
shoppingListErrors[ShoppingListDeleteError!]Error details if deletion failed

Example

mutation {
shoppingListDelete(id: "sl-123") {
success
shoppingListErrors {
... on ValidationError {
message
}
}
}
}

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: