Update a Shopping List

post
Update

https://api.whisk.com/list/v2{id}
Update name or set/reset list as a primary.
Request
Response
Request
Path Parameters
id
required
string
Body Parameters
Model
optional
object
Response
200: OK

Model

{
"id": "string",
"fields": {
"name": "string",
"primary": true
},
"mask": {
"paths": [
"string"
]
}
}

Request

curl -X POST "https://api.whisk.com/list/v2/{id}"
-H "accept: application/json"
-H "Content-Type: application/json"
-d "{ \"id\": \"string\", \"fields\": { \"name\": \"string\", \"primary\": true }, \"mask\": { \"paths\": [ \"string\" ] }}"