Retrieve your items currently for sale
Retrieves the authenticated user's active listings. Listings that are in the closing state are included in the list.
| URL: | https://api.trademe.co.nz/v1/mytrademe/sellingitems/{filter}.{file_format} |
|---|---|
| HTTP Method: | GET |
| Requires Authentication? | Yes |
| Permission Required: | MyTradeMeRead: Read your membership & listing data. |
| Supported Formats: | XML, JSON |
| Rate Limited? | Yes |
URL parameters
| filter | String (required) |
A filter on the results.
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| file_format | Enumeration (required) | The format of the response. | ||||||||||||
|
||||||||||||||
Query String parameters
| page | Integer (optional) |
The page number of the set of results to return, starting from 1. Defaults to 1. |
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| photo_size | Enumeration (optional) |
The size of the images to return in the results. Defaults to Thumbnail. |
||||||||||||||
|
||||||||||||||||
| rows | Integer (optional) |
The number of results per page; also the maximum number of results to return. Defaults to 50. |
||||||||||||||
| sort_order | Enumeration (optional) |
The order the results will be sorted. Defaults to ExpiryAsc. |
||||||||||||||
|
||||||||||||||||
Returns
<Items>
A list of items currently being sold.
| TotalCount | Integer |
The total number of results in the collection. Can be larger than the number of returned results. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Page | Integer |
The index of the current page of results (starts at 1). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PageSize | Integer |
The number of results in the current page. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| List | Collection of <Item> or null |
A list of the results in the current page. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||