# Clear Shopping List

Use `clearShoppingList` to remove all items, independently of their state, from the shopping list.

{% tabs %}
{% tab title="Mutation" %}

```graphql
mutation {
  clearShoppingList {
    success
  }
}
```

{% endtab %}

{% tab title="Response" %}

```graphql
{
  "data": {
    "clearShoppingList": {
      "success": true
    }
  }
}
```

{% endtab %}
{% endtabs %}

#### UI/UX example

In the same way, we have code examples, this is an implementation example in which see results of the API execution in the Suggestic App.&#x20;

Login to the App, tap on the **Meal Plan** option, and tap on the <img src="https://920729701-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LwqSnBDpAb6mFZYLsuB%2F-MkJ0j98q9gdDacGYf7u%2F-MkJ7tzZGCrCk6vFSuKk%2Fimage.png?alt=media&#x26;token=1c74db95-97ca-4909-a816-d175e26565cd" alt="" data-size="line"> icon to access the **Shopping List**, Tap on **By Recipe** tab, the action to clear the entire shopping list is the same as explained as follows:

![](https://920729701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LwqSnBDpAb6mFZYLsuB%2Fuploads%2FMJoWgkCR8qnh2WhbxjB8%2FClearAllSP.gif?alt=media\&token=d29152a2-b63e-45e3-92ca-ba5d74f6dffc)
