Update a saved favourite's label
Updates the label for a specific favourite.
URL: | https://api.trademe.co.nz/v1/favourites/{favouriteId}/{type}/label.{file_format} |
---|---|
HTTP Method: | PUT |
Requires Authentication? | Yes |
Permission Required: | MyTradeMeWrite: Maintain your watchlist, answer questions and post comments. |
Supported Formats: | XML, JSON |
Rate Limited? | Yes |
URL parameters
favouriteId | Integer (required) |
ID of the favourite to update. |
||||
---|---|---|---|---|---|---|
type | String (required) |
Type of favourite to update. |
||||
file_format | Enumeration (required) | The format of the response. | ||||
|
PUT Data
<UpdateFavouriteLabelRequest>
Label | String (required) |
The new label for the favourite. |
---|
Returns
<FavouriteLabelResponse>
A response indicating success.
SearchId | Integer |
The ID of the saved favourite. |
---|---|---|
Label | String or null |
The label of the updated favourite. |