Website logo

Delete a note

Removes the note from a listing.

URL: https://api.trademe.co.nz/v1/MyTradeMe/Notes/{listingId}/{noteId}/{offerId}.{file_format}
HTTP Method: DELETE
Requires Authentication? Yes
Permission Required: MyTradeMeWrite: Maintain your watchlist, answer questions and post comments.
Supported Formats: XML, JSON
Rate Limited? Yes

URL parameters

listingId Integer (required)

The ID of the listing the note is associated with.

noteId Integer (required)

The ID of the note.

offerId Integer (required)

The ID of the offer the note is associated with. Should be 0 if the note is not associated with a fixed price offer.

file_format Enumeration (required) The format of the response.
xml Serialize responses into XML.
json Serialize responses into JSON.

Returns

<NoteResponse>

Whether the operation was successful and the note details.

Success Boolean Success
Description String or null Description
NoteId Integer NoteId
OfferId Integer OfferId

Example XML Response (switch to JSON)

<NoteResponse xmlns="http://api.trademe.co.nz/v1">
  <Success>false</Success>
  <Description>ABC</Description>
  <NoteId>123</NoteId>
  <OfferId>123</OfferId>
</NoteResponse>

Example JSON Response (switch to XML)

{
  "Success": false,
  "Description": "ABC",
  "NoteId": 123,
  "OfferId": 123
}