Add products to a wishlist
add_to_wishlistAdds products to a wishlist made earlier, given its edit link or the token at the end of it. A product already on the list keeps its place and takes the new note. A list holds at most 50 products; unknown or unavailable products, and products that no longer fit, are reported and not added. Returns the list's items with their best current prices. The token stops working once the list has been saved to a Plendio account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The products to add: 1 to 50. A product already on the list keeps its place and takes the new note. | |
| market | No | Market for the urls in the answer: dk, se, de or no. Default: the market the list was made for. | |
| edit_token | Yes | The wishlist's edit link as returned when it was created, or just the token at the end of it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | No | Product ids put on the list. | |
| items | Yes | ||
| notes | No | ||
| title | Yes | The list's name, written by whoever made it. | |
| market | Yes | ||
| removed | No | Product ids taken off the list. | |
| currency | No | Currency of total_from. | |
| share_url | Yes | The list's page on Plendio, read-only. | |
| item_count | Yes | ||
| not_stored | No | Products that could not be added, with the reason. | |
| total_from | No | Sum of price_from over the available items; absent when their currencies differ or none has a price. | |
| not_on_list | No | Product ids that were not on the list. | |
| already_on_list | No | Product ids that were already on the list (their note was updated). |