Website logo

Remove the status from a listing using a listing ID and offer ID

Deletes the status from a listing in the authenticated user's Sold Items list.

This API cannot handle multiple quantity listings. Use the delete status API that takes a purchase ID instead.

URL: https://api.trademe.co.nz/v1/MyTradeMe/Status/{listingId}/{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 to modify.

offerId String (required)

The ID of the fixed price offer, or 0 if none.

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

Returns

<StatusResponse>

Details of whether the operation was successful.

Success Boolean

Indicates whether the operation was successful.

Description String or null

The description of the error, if the operation failed.

Example XML Response (switch to JSON)

<StatusResponse xmlns="http://api.trademe.co.nz/v1">
  <Success>false</Success>
  <Description>ABC</Description>
</StatusResponse>

Example JSON Response (switch to XML)

{
  "Success": false,
  "Description": "ABC"
}