Reserve a gift on a wishlist
reserve_giftMarks one product on a shared wishlist as taken by the giver, given the list's share link, so that nobody else buys the same gift. Takes the share link, the product's Plendio id and optionally the giver's first name (letters only, up to 40 characters; it is shown to other givers on the list's page, and not to the person the list is for). Returns a reservation_token: it undoes the reservation and reserves more products under the same name; one token holds at most 5 reservations on a list. A product somebody else already reserved is reported and not changed. The person who made the list is not shown who reserved what, so the gift stays a surprise. No login is needed. Reserving does not buy the product.
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": {
"share_url": "<share_url>",
"product_id": "<product_id>"
},
"name": "reserve_gift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The giver's first name, shown to other givers on the list's page. Letters, spaces, hyphens, apostrophes and full stops only, up to 40 characters. Default: a neutral word in the market's language. | |
| market | No | Market for the urls in the answer: dk, se, de or no. Default: the market the list was made for. | |
| share_url | Yes | The wishlist's share link, or the share id at the end of it. The edit link is not accepted. | |
| product_id | Yes | Plendio product id of the gift (the id of an item on the list). | |
| reservation_token | No | Token returned by an earlier reservation on this list, to reserve another product under the same name. Empty for the first reservation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The product's page on Plendio, listing all its offers. | |
| notes | No | ||
| title | No | The product's title. | |
| reserved | Yes | True when the product is now reserved under the token; false after an unreserve. | |
| share_url | Yes | The list's page on Plendio. | |
| list_title | Yes | The list's name, written by whoever made it. | |
| product_id | Yes | ||
| reservation_token | No | Keep this: it undoes the reservation and reserves more products under the same name. Anyone holding it can give the product back. |