Update a wishlist's details
update_wishlistChanges a wishlist's title, who it is for (recipient) and the day of the occasion (occasion_date, YYYY-MM-DD, today or later), given its edit link or the token at the end of it. Only the fields given are changed; clear_recipient and clear_occasion_date empty those two. The products on the list are not touched. Returns the list as it is now. The token stops working once the list has been saved to a Plendio account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"edit_token": "<edit_token>"
},
"name": "update_wishlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New name of the list. Up to 80 characters; markup and links are removed. | |
| market | No | Market for the urls in the answer: dk, se, de or no. Default: the market the list was made for. | |
| recipient | No | Who the list is for. Up to 80 characters; markup and links are removed. | |
| edit_token | Yes | The wishlist's edit link as returned when it was created, or just the token at the end of it. | |
| occasion_date | No | The day of the occasion as YYYY-MM-DD, today or later. | |
| clear_recipient | No | True to remove the recipient. | |
| clear_occasion_date | No | True to remove the occasion date. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| notes | No | ||
| title | Yes | The list's name, written by whoever made it. | |
| market | Yes | ||
| currency | No | Currency of total_from. | |
| recipient | No | Who the list is for, written by whoever made it. | |
| share_url | Yes | The list's page on Plendio, read-only. | |
| item_count | Yes | ||
| total_from | No | Sum of price_from over the available items; absent when their currencies differ or none has a price. | |
| occasion_date | No | Day of the occasion, YYYY-MM-DD. |