Add a listing to your watchlist with options
Adds a listing to the authenticated user's watchlist with the option to control when and if an email is sent to the member warning that the auction is closing soon.
URL: | https://api.trademe.co.nz/v1/MyTradeMe/WatchList/Add.{file_format} |
---|---|
HTTP Method: | POST |
Requires Authentication? | Yes |
Permission Required: | MyTradeMeWrite: Maintain your watchlist, answer questions and post comments. |
Supported Formats: | XML, JSON |
Rate Limited? | Yes |
URL parameters
file_format | Enumeration (required) | The format of the response. | ||||
---|---|---|---|---|---|---|
|
POST Data
<SaveToWatchlistRequest>
ListingId | Long Integer (required) |
The ID of the listing to add to the watchlist. |
|||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SavedFavourite | Enumeration (optional) |
The amount of time before the auction closes to email the member. |
|||||||||||||||
|
|||||||||||||||||
SaveEmailOption | Boolean (optional) |
Indicates whether to save the email preference as the member's default choice. |
|||||||||||||||
ReferringSearchQueryId | String (optional) |
The search query ID for the search which referred the user to the listing. |
Returns
<WatchListResponse>
Details on whether the operation succeeded.
Success | Boolean |
Indicates whether the operation was successful. |
---|---|---|
Description | String or null |
The description of the error, if the operation failed. |