Clear Items from a Shopping List
This endpoint allows you to remove items from a shopping list.
Clear Items
DELETE
https://api.whisk.com/list/v2/{id}/item
You can use the following path parameter and a body parameter to clear items from a shopping list:
Path Parameters
Name | Type | Description |
---|---|---|
id | string | The unique identifier of the list that contains the items to be cleared. |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Server Token or a User Access token containing |
Request Body
Name | Type | Description |
---|---|---|
body | object | The body object contains an attribute to indicate which items are to be cleared. See the Body Object Example below. |
Request Body Object Example
only_checked
only_checked
This boolean attribute allows you to indicate to remove only checked items from the list by setting it to true
or all items from the list by setting it to false
.
Sample Request and Response
Whisk allows you to discover and understand its API capabilities on the Swagger interface with the ability to try out the API calls directly in your browser. You can call this endpoint here.
Last updated