Update basic details of a Shopping List
This endpoint allows you to update the shopping list name or set/reset it as primary.
Last updated
This endpoint allows you to update the shopping list name or set/reset it as primary.
Last updated
POST
https://api.whisk.com/list/v2/{id}
You can use a body parameter to update a shopping list:
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
The fields
object allows you to specify new values for the shopping list attributes. Currently, we only support updating the name
and primary
attributes.
The mask
object allows you to specify the attributes that you want to update specifically. For example, in each update request, you need to specify values for both name
and primary
attributes regardless of whether you want to update both or only one of them. Hence, the mask
object determines which attributes are to be updated exactly.
The mask
object contains the path
array that allows you to add a comma-separated list of attributes to update.
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.
id
string
The shopping list identifier.
Authentication
string
Server Token or a User Access token containing shopping_list:write
scope to authorize the API usage. For more information, see Authentication.
body
object
The body object contains the attributes to update the general shopping list details. See the Body Object Example below.