For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get your Shopping Lists

This endpoint offers you the ability to read reference details of all your shopping lists that exist in your Whisk account.

Get Shopping Lists

GET https://api.studio.whisk.com/list/v2

You can use just the base URL and the authentication header to retrieve basic information of all shopping list stored in your Whisk account:

Headers

Name
Type
Description

Authentication

string

User Access token with shopping_list:read scope to to authorize the API usage. For more information, see Authentication.

{
  "list": [
    {
      "id": "string",
      "name": "string",
      "primary": true
    }
  ],
  "items": [
    {
      "list": {
        "id": "string",
        "name": "string",
        "primary": true
      },
      "item_count": 0,
      "grouped_item_count": 0
    }
  ]
}
{
  "error_code": "REAL_CODES_ARE_IN_ENDPOINT_DESCRIPTION",
  "message": "Additional details about error are not static and can be changed"
}

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.

As shown in this example, the information that gets retrieved is generally grouped into list and items arrays.

list

The list array includes identification details of all your shopping lists.

Attribute

Type

Description

id

string

The unique shopping list identifier.

name

string

The name of the shopping list.

primary

boolean

Indicates if the list is primary.

items

The items array includes the count of items in each shopping list.

Attribute

Type

Description

list

array

The list identification details as explained above.

item_count

number

The total number of items in the shopping list without combining similar items.

grouped_item_count

number

The total number of items in the shopping list after combining similar items.

Last updated

Was this helpful?