Delete a draft listing
Delete an existing saved draft listing
Authentication: requires an OAuth access token with the MyTradeMeWrite permission. Drafts are private to the member who owns the token. A draft that does not exist or belongs to another member returns HTTP 400 with the message "The draft with this ID could not be found.".
| URL: | https://api.trademe.co.nz/v1/Selling/Drafts/{draftId}.{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
| draftId | Integer (required) |
The ID of the draft to delete, as a whole number in the URL path. |
||||
|---|---|---|---|---|---|---|
| file_format | Enumeration (required) | The format of the response. | ||||
|
||||||
Returns
<DraftListingResponse>
A DraftListingResponse with Success true when the draft was removed.
| Success | Boolean |
Indicates whether the operation was successful. |
||||||
|---|---|---|---|---|---|---|---|---|
| Description | String or null |
The description of the error, if the operation failed. |
||||||
| StatusCode | Enumeration |
The draft listing request status. |
||||||
|
||||||||