Save a seller to your favourites
Saves a seller to the currently authenticated user's list of favourite sellers.
| URL: | https://api.trademe.co.nz/v1/favourites/seller.{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
<SaveSellerRequest>
| Enumeration (required) |
The frequency that emails should be sent. |
|||||||||||||
|
||||||||||||||
| Push | Enumeration (optional) |
The frequency that push notifications should be sent. |
||||||||||||
|
||||||||||||||
| Label | String (optional) |
The label of the favourite should be sent. |
||||||||||||
| SellerId | Integer (required) |
The member ID of the seller to save. |
||||||||||||
Returns
<SavedFavouriteResponse>
Details of the saved favourite, including the ID.
| SearchId | Integer |
The ID of the saved favourite. |
|||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Response | String or null |
A description of the error, if the operation failed. |
|||||||||||||||
| Saved | Boolean |
Indicates whether the favourite was saved. |
|||||||||||||||
| FavouriteType | Enumeration |
Indicates what type of favourite was saved. |
|||||||||||||||
|
|||||||||||||||||
| Label | String or null |
Display Label of favourite was saved. |
|||||||||||||||