Website logo

Retrieve your won items

Retrieves a list of purchases for the authenticated user. Multiple-quantity auctions can be purchased multiple times.

URL: https://api.trademe.co.nz/v1/mytrademe/won/{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.

AllReturn all won items in the last 45 days.
Last30DaysReturns items won in the last 30 days.
Last7DaysReturns items won in the last 7 days.
Last24HoursReturns items won in the last 24 hours.

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

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.

Thumbnail Thumbnail
List List
Medium Medium
Gallery Gallery
Large Large
FullSize FullSize
JobSearchCard JobSearchCard
rows Integer (optional)

The number of results per page; also the maximum number of results to return. Defaults to 50.

Returns

<WonItems>

A list of items the authenticated user has purchased.

TotalCount Integer TotalCount
Page Integer Page
PageSize Integer PageSize
List Collection of <WonItem> or null InnerList
ListingId Integer ListingId
Title String or null Title
Category String or null Category
StartPrice Number StartPrice
StartDate DateTime StartDate
EndDate DateTime EndDate
AsAt DateTime AsAt
CategoryPath String or null CategoryPath
PictureHref String or null PictureHref
PhotoId Integer PhotoId
Seller <Member> or null Seller
MemberId Integer MemberId
Nickname String or null Nickname
DateAddressVerified DateTime DateAddressVerified
DateJoined DateTime DateJoined
Email String or null Email
UniqueNegative Integer UniqueNegative
UniquePositive Integer UniquePositive
FeedbackCount Integer FeedbackCount
IsAddressVerified Boolean IsAddressVerified
IsDealer Boolean IsDealer
HasPayNow Boolean HasPayNow
IsNew Boolean IsNew
BidCount Integer BidCount
IsReserveMet Boolean IsReserveMet
HasReserve Boolean HasReserve
HasBuyNow Boolean HasBuyNow
Note String or null Note
NoteId Integer NoteId
NoteDate DateTime NoteDate
CategoryName String or null CategoryName
ReserveState Enumeration ReserveState
None 0 None
Met 1 Met
NotMet 2 NotMet
NotApplicable 3 NotApplicable
IsClassified Boolean IsClassified
RelistedItemId Integer RelistedItemId
Subtitle String or null Subtitle
IsBuyNowOnly Boolean IsBuyNowOnly
Quantity Integer Quantity
IsFlatShippingCharge Boolean IsFlatShippingCharge
RemainingGalleryPlusRelists Integer or null RemainingGalleryPlusRelists
IsClearance Boolean IsClearance
WasPrice Number or null WasPrice
PercentageOff Integer or null PercentageOff
Options Collection of <Option> or null Options
(This type has already been defined)
ListingGroupId Integer or null ListingGroupId
HasPing Boolean HasPing
StatusDate DateTime StatusDate
AuctionAttribute String or null AuctionAttribute
BuyerFeedbackPlaced Integer BuyerFeedbackPlaced
SellerFeedbackPlaced Integer SellerFeedbackPlaced
DeliveryId Integer DeliveryId
FpoDecisionViaMobile Boolean FpoDecisionViaMobile
HasPaidByCreditCard Boolean HasPaidByCreditCard
InvoiceId Integer InvoiceId
OfferId Integer OfferId
PaymentInfo String or null PaymentInfo
Price Number Price
SelectedShipping String or null SelectedShipping
ShippingPrice Number ShippingPrice
ShippingType Enumeration ShippingType
None 0 None
Unknown 0 Unknown
Undecided 1 Undecided
Pickup 2 Pickup
Free 3 Free
Custom 4 Custom
TradeMe 5 TradeMe
SoldDate DateTime SoldDate
SoldType String or null SoldType
PaymentInstructions String or null PaymentInstructions
PurchaseId Integer PurchaseId
ReferenceNumber String or null ReferenceNumber
SubtotalPrice Number SubtotalPrice
TotalShippingPrice Number TotalShippingPrice
TotalSalePrice Number TotalSalePrice
CreditCardLastFourDigits String or null CreditCardLastFourDigits
OrderId Integer or null OrderId
TrackedParcels Collection of <TrackedParcel> or null TrackedParcels
CourierParcelId Integer CourierParcelId
CourierCompanyName String or null CourierCompanyName
TrackingReference String or null TrackingReference
TrackingUrl String or null TrackingUrl
Status Enumeration or null Status
Unknown 0 Unknown
PickedUp 1 PickedUp
InTransit 2 InTransit
InternationalTransit 3 InternationalTransit
Info 4 Info
OnBoardForDelivery 5 OnBoardForDelivery
Delivered 6 Delivered
CustomsReleased 8 CustomsReleased
Failed 9 Failed
Exception 10 Exception
DateAdded DateTime or null DateAdded
TaxSubTotal Number TaxSubTotal
HasPaidByDeferredPayment Boolean HasPaidByDeferredPayment

Example XML Response (switch to JSON)

<WonItems xmlns="http://api.trademe.co.nz/v1">
  <TotalCount>123</TotalCount>
  <Page>123</Page>
  <PageSize>123</PageSize>
  <List>
    <WonItem>
      <ListingId>123</ListingId>
      <Title>ABC</Title>
      <Category>ABC</Category>
      <StartPrice>123.0</StartPrice>
      <StartDate>2018-01-01T00:00:00Z</StartDate>
      <EndDate>2018-01-01T00:00:00Z</EndDate>
      <AsAt>2018-01-01T00:00:00Z</AsAt>
      <CategoryPath>ABC</CategoryPath>
      <PictureHref>ABC</PictureHref>
      <PhotoId>123</PhotoId>
      <Seller>
        <MemberId>123</MemberId>
        <Nickname>ABC</Nickname>
        <DateAddressVerified>2018-01-01T00:00:00Z</DateAddressVerified>
        <DateJoined>2018-01-01T00:00:00Z</DateJoined>
        <Email>ABC</Email>
        <UniqueNegative>123</UniqueNegative>
        <UniquePositive>123</UniquePositive>
        <FeedbackCount>123</FeedbackCount>
        <IsAddressVerified>false</IsAddressVerified>
        <IsDealer>false</IsDealer>
      </Seller>
      <HasPayNow>false</HasPayNow>
      <IsNew>false</IsNew>
      <BidCount>123</BidCount>
      <IsReserveMet>false</IsReserveMet>
      <HasReserve>false</HasReserve>
      <HasBuyNow>false</HasBuyNow>
      <Note>ABC</Note>
      <NoteId>123</NoteId>
      <NoteDate>2018-01-01T00:00:00Z</NoteDate>
      <CategoryName>ABC</CategoryName>
      <ReserveState>None</ReserveState>
      <IsClassified>false</IsClassified>
      <RelistedItemId>123</RelistedItemId>
      <Subtitle>ABC</Subtitle>
      <IsBuyNowOnly>false</IsBuyNowOnly>
      <Quantity>123</Quantity>
      <IsFlatShippingCharge>false</IsFlatShippingCharge>
      <RemainingGalleryPlusRelists>123</RemainingGalleryPlusRelists>
      <IsClearance>false</IsClearance>
      <WasPrice>123.0</WasPrice>
      <PercentageOff>123</PercentageOff>
      <Options>
        <Option />
        <Option />
      </Options>
      <ListingGroupId>123</ListingGroupId>
      <HasPing>false</HasPing>
      <StatusDate>2018-01-01T00:00:00Z</StatusDate>
      <AuctionAttribute>ABC</AuctionAttribute>
      <BuyerFeedbackPlaced>123</BuyerFeedbackPlaced>
      <SellerFeedbackPlaced>123</SellerFeedbackPlaced>
      <DeliveryId>123</DeliveryId>
      <FpoDecisionViaMobile>false</FpoDecisionViaMobile>
      <HasPaidByCreditCard>false</HasPaidByCreditCard>
      <InvoiceId>123</InvoiceId>
      <OfferId>123</OfferId>
      <PaymentInfo>ABC</PaymentInfo>
      <Price>123.0</Price>
      <SelectedShipping>ABC</SelectedShipping>
      <ShippingPrice>123.0</ShippingPrice>
      <ShippingType>None</ShippingType>
      <SoldDate>2018-01-01T00:00:00Z</SoldDate>
      <SoldType>ABC</SoldType>
      <PaymentInstructions>ABC</PaymentInstructions>
      <PurchaseId>123</PurchaseId>
      <ReferenceNumber>ABC</ReferenceNumber>
      <SubtotalPrice>123.0</SubtotalPrice>
      <TotalShippingPrice>123.0</TotalShippingPrice>
      <TotalSalePrice>123.0</TotalSalePrice>
      <CreditCardLastFourDigits>ABC</CreditCardLastFourDigits>
      <OrderId>123</OrderId>
      <TrackedParcels>
        <TrackedParcel>
          <CourierParcelId>123</CourierParcelId>
          <CourierCompanyName>ABC</CourierCompanyName>
          <TrackingReference>ABC</TrackingReference>
          <TrackingUrl>ABC</TrackingUrl>
          <Status>Unknown</Status>
          <DateAdded>2018-01-01T00:00:00Z</DateAdded>
        </TrackedParcel>
        <TrackedParcel>
          <CourierParcelId>123</CourierParcelId>
          <CourierCompanyName>ABC</CourierCompanyName>
          <TrackingReference>ABC</TrackingReference>
          <TrackingUrl>ABC</TrackingUrl>
          <Status>Unknown</Status>
          <DateAdded>2018-01-01T00:00:00Z</DateAdded>
        </TrackedParcel>
      </TrackedParcels>
      <TaxSubTotal>123.0</TaxSubTotal>
      <HasPaidByDeferredPayment>false</HasPaidByDeferredPayment>
    </WonItem>
    <WonItem>
      <ListingId>123</ListingId>
      <Title>ABC</Title>
      <Category>ABC</Category>
      <StartPrice>123.0</StartPrice>
      <StartDate>2018-01-01T00:00:00Z</StartDate>
      <EndDate>2018-01-01T00:00:00Z</EndDate>
      <AsAt>2018-01-01T00:00:00Z</AsAt>
      <CategoryPath>ABC</CategoryPath>
      <PictureHref>ABC</PictureHref>
      <PhotoId>123</PhotoId>
      <Seller>
        <MemberId>123</MemberId>
        <Nickname>ABC</Nickname>
        <DateAddressVerified>2018-01-01T00:00:00Z</DateAddressVerified>
        <DateJoined>2018-01-01T00:00:00Z</DateJoined>
        <Email>ABC</Email>
        <UniqueNegative>123</UniqueNegative>
        <UniquePositive>123</UniquePositive>
        <FeedbackCount>123</FeedbackCount>
        <IsAddressVerified>false</IsAddressVerified>
        <IsDealer>false</IsDealer>
      </Seller>
      <HasPayNow>false</HasPayNow>
      <IsNew>false</IsNew>
      <BidCount>123</BidCount>
      <IsReserveMet>false</IsReserveMet>
      <HasReserve>false</HasReserve>
      <HasBuyNow>false</HasBuyNow>
      <Note>ABC</Note>
      <NoteId>123</NoteId>
      <NoteDate>2018-01-01T00:00:00Z</NoteDate>
      <CategoryName>ABC</CategoryName>
      <ReserveState>None</ReserveState>
      <IsClassified>false</IsClassified>
      <RelistedItemId>123</RelistedItemId>
      <Subtitle>ABC</Subtitle>
      <IsBuyNowOnly>false</IsBuyNowOnly>
      <Quantity>123</Quantity>
      <IsFlatShippingCharge>false</IsFlatShippingCharge>
      <RemainingGalleryPlusRelists>123</RemainingGalleryPlusRelists>
      <IsClearance>false</IsClearance>
      <WasPrice>123.0</WasPrice>
      <PercentageOff>123</PercentageOff>
      <Options>
        <Option />
        <Option />
      </Options>
      <ListingGroupId>123</ListingGroupId>
      <HasPing>false</HasPing>
      <StatusDate>2018-01-01T00:00:00Z</StatusDate>
      <AuctionAttribute>ABC</AuctionAttribute>
      <BuyerFeedbackPlaced>123</BuyerFeedbackPlaced>
      <SellerFeedbackPlaced>123</SellerFeedbackPlaced>
      <DeliveryId>123</DeliveryId>
      <FpoDecisionViaMobile>false</FpoDecisionViaMobile>
      <HasPaidByCreditCard>false</HasPaidByCreditCard>
      <InvoiceId>123</InvoiceId>
      <OfferId>123</OfferId>
      <PaymentInfo>ABC</PaymentInfo>
      <Price>123.0</Price>
      <SelectedShipping>ABC</SelectedShipping>
      <ShippingPrice>123.0</ShippingPrice>
      <ShippingType>None</ShippingType>
      <SoldDate>2018-01-01T00:00:00Z</SoldDate>
      <SoldType>ABC</SoldType>
      <PaymentInstructions>ABC</PaymentInstructions>
      <PurchaseId>123</PurchaseId>
      <ReferenceNumber>ABC</ReferenceNumber>
      <SubtotalPrice>123.0</SubtotalPrice>
      <TotalShippingPrice>123.0</TotalShippingPrice>
      <TotalSalePrice>123.0</TotalSalePrice>
      <CreditCardLastFourDigits>ABC</CreditCardLastFourDigits>
      <OrderId>123</OrderId>
      <TrackedParcels>
        <TrackedParcel>
          <CourierParcelId>123</CourierParcelId>
          <CourierCompanyName>ABC</CourierCompanyName>
          <TrackingReference>ABC</TrackingReference>
          <TrackingUrl>ABC</TrackingUrl>
          <Status>Unknown</Status>
          <DateAdded>2018-01-01T00:00:00Z</DateAdded>
        </TrackedParcel>
        <TrackedParcel>
          <CourierParcelId>123</CourierParcelId>
          <CourierCompanyName>ABC</CourierCompanyName>
          <TrackingReference>ABC</TrackingReference>
          <TrackingUrl>ABC</TrackingUrl>
          <Status>Unknown</Status>
          <DateAdded>2018-01-01T00:00:00Z</DateAdded>
        </TrackedParcel>
      </TrackedParcels>
      <TaxSubTotal>123.0</TaxSubTotal>
      <HasPaidByDeferredPayment>false</HasPaidByDeferredPayment>
    </WonItem>
  </List>
</WonItems>

Example JSON Response (switch to XML)

{
  "TotalCount": 123,
  "Page": 123,
  "PageSize": 123,
  "List": [
    {
      "ListingId": 123,
      "Title": "ABC",
      "Category": "ABC",
      "StartPrice": 123.0,
      "StartDate": "\/Date(1514764800)\/",
      "EndDate": "\/Date(1514764800)\/",
      "AsAt": "\/Date(1514764800)\/",
      "CategoryPath": "ABC",
      "PictureHref": "ABC",
      "PhotoId": 123,
      "Seller": {
        "MemberId": 123,
        "Nickname": "ABC",
        "DateAddressVerified": "\/Date(1514764800)\/",
        "DateJoined": "\/Date(1514764800)\/",
        "Email": "ABC",
        "UniqueNegative": 123,
        "UniquePositive": 123,
        "FeedbackCount": 123,
        "IsAddressVerified": false,
        "IsDealer": false
      },
      "HasPayNow": false,
      "IsNew": false,
      "BidCount": 123,
      "IsReserveMet": false,
      "HasReserve": false,
      "HasBuyNow": false,
      "Note": "ABC",
      "NoteId": 123,
      "NoteDate": "\/Date(1514764800)\/",
      "CategoryName": "ABC",
      "ReserveState": 0,
      "IsClassified": false,
      "RelistedItemId": 123,
      "Subtitle": "ABC",
      "IsBuyNowOnly": false,
      "Quantity": 123,
      "IsFlatShippingCharge": false,
      "RemainingGalleryPlusRelists": 123,
      "IsClearance": false,
      "WasPrice": 123.0,
      "PercentageOff": 123,
      "Options": [
        {
        },
        {
        }
      ],
      "ListingGroupId": 123,
      "HasPing": false,
      "StatusDate": "\/Date(1514764800)\/",
      "AuctionAttribute": "ABC",
      "BuyerFeedbackPlaced": 123,
      "SellerFeedbackPlaced": 123,
      "DeliveryId": 123,
      "FpoDecisionViaMobile": false,
      "HasPaidByCreditCard": false,
      "InvoiceId": 123,
      "OfferId": 123,
      "PaymentInfo": "ABC",
      "Price": 123.0,
      "SelectedShipping": "ABC",
      "ShippingPrice": 123.0,
      "ShippingType": 0,
      "SoldDate": "\/Date(1514764800)\/",
      "SoldType": "ABC",
      "PaymentInstructions": "ABC",
      "PurchaseId": 123,
      "ReferenceNumber": "ABC",
      "SubtotalPrice": 123.0,
      "TotalShippingPrice": 123.0,
      "TotalSalePrice": 123.0,
      "CreditCardLastFourDigits": "ABC",
      "OrderId": 123,
      "TrackedParcels": [
        {
          "CourierParcelId": 123,
          "CourierCompanyName": "ABC",
          "TrackingReference": "ABC",
          "TrackingUrl": "ABC",
          "Status": 0,
          "DateAdded": "\/Date(1514764800)\/"
        },
        {
          "CourierParcelId": 123,
          "CourierCompanyName": "ABC",
          "TrackingReference": "ABC",
          "TrackingUrl": "ABC",
          "Status": 0,
          "DateAdded": "\/Date(1514764800)\/"
        }
      ],
      "TaxSubTotal": 123.0,
      "HasPaidByDeferredPayment": false
    },
    {
      "ListingId": 123,
      "Title": "ABC",
      "Category": "ABC",
      "StartPrice": 123.0,
      "StartDate": "\/Date(1514764800)\/",
      "EndDate": "\/Date(1514764800)\/",
      "AsAt": "\/Date(1514764800)\/",
      "CategoryPath": "ABC",
      "PictureHref": "ABC",
      "PhotoId": 123,
      "Seller": {
        "MemberId": 123,
        "Nickname": "ABC",
        "DateAddressVerified": "\/Date(1514764800)\/",
        "DateJoined": "\/Date(1514764800)\/",
        "Email": "ABC",
        "UniqueNegative": 123,
        "UniquePositive": 123,
        "FeedbackCount": 123,
        "IsAddressVerified": false,
        "IsDealer": false
      },
      "HasPayNow": false,
      "IsNew": false,
      "BidCount": 123,
      "IsReserveMet": false,
      "HasReserve": false,
      "HasBuyNow": false,
      "Note": "ABC",
      "NoteId": 123,
      "NoteDate": "\/Date(1514764800)\/",
      "CategoryName": "ABC",
      "ReserveState": 0,
      "IsClassified": false,
      "RelistedItemId": 123,
      "Subtitle": "ABC",
      "IsBuyNowOnly": false,
      "Quantity": 123,
      "IsFlatShippingCharge": false,
      "RemainingGalleryPlusRelists": 123,
      "IsClearance": false,
      "WasPrice": 123.0,
      "PercentageOff": 123,
      "Options": [
        {
        },
        {
        }
      ],
      "ListingGroupId": 123,
      "HasPing": false,
      "StatusDate": "\/Date(1514764800)\/",
      "AuctionAttribute": "ABC",
      "BuyerFeedbackPlaced": 123,
      "SellerFeedbackPlaced": 123,
      "DeliveryId": 123,
      "FpoDecisionViaMobile": false,
      "HasPaidByCreditCard": false,
      "InvoiceId": 123,
      "OfferId": 123,
      "PaymentInfo": "ABC",
      "Price": 123.0,
      "SelectedShipping": "ABC",
      "ShippingPrice": 123.0,
      "ShippingType": 0,
      "SoldDate": "\/Date(1514764800)\/",
      "SoldType": "ABC",
      "PaymentInstructions": "ABC",
      "PurchaseId": 123,
      "ReferenceNumber": "ABC",
      "SubtotalPrice": 123.0,
      "TotalShippingPrice": 123.0,
      "TotalSalePrice": 123.0,
      "CreditCardLastFourDigits": "ABC",
      "OrderId": 123,
      "TrackedParcels": [
        {
          "CourierParcelId": 123,
          "CourierCompanyName": "ABC",
          "TrackingReference": "ABC",
          "TrackingUrl": "ABC",
          "Status": 0,
          "DateAdded": "\/Date(1514764800)\/"
        },
        {
          "CourierParcelId": 123,
          "CourierCompanyName": "ABC",
          "TrackingReference": "ABC",
          "TrackingUrl": "ABC",
          "Status": 0,
          "DateAdded": "\/Date(1514764800)\/"
        }
      ],
      "TaxSubTotal": 123.0,
      "HasPaidByDeferredPayment": false
    }
  ]
}