Website logo

Retrieve member selling preferences

Retrieves the selling preferences of the authenticated member

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

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

Returns

<SellingPreferences>

The selling preferences.

OnlyAuthenticatedMembersCanBid Boolean OnlyAuthenticatedMembersCanBid
DonationRecipient Integer or null DonationRecipient
ShowPickUpLocation Boolean ShowPickUpLocation
PickUpLocation <SellingPreferencesPickUpLocation> or null PickUpLocation
SuburbId Integer SuburbId
SuburbName String or null SuburbName
DistrictId Integer DistrictId
DistrictName String or null DistrictName
RegionId Integer RegionId
RegionName String or null RegionName
DefaultEnabledSellingMethods Collection of Enumeration or null DefaultEnabledSellingMethods
None 0 None
BankDeposit 1 NZ Bank Deposit
CreditCard 2 Credit Card
Cash 4 Cash
SafeTrader 8 SafeTrader
Other 16 Other
Ping 32 Ping
Afterpay 64 Afterpay

Example XML Response (switch to JSON)

<SellingPreferences xmlns="http://api.trademe.co.nz/v1">
  <OnlyAuthenticatedMembersCanBid>false</OnlyAuthenticatedMembersCanBid>
  <DonationRecipient>123</DonationRecipient>
  <ShowPickUpLocation>false</ShowPickUpLocation>
  <PickUpLocation>
    <SuburbId>123</SuburbId>
    <SuburbName>ABC</SuburbName>
    <DistrictId>123</DistrictId>
    <DistrictName>ABC</DistrictName>
    <RegionId>123</RegionId>
    <RegionName>ABC</RegionName>
  </PickUpLocation>
  <DefaultEnabledSellingMethods>
    <PaymentMethod>None</PaymentMethod>
    <PaymentMethod>None</PaymentMethod>
  </DefaultEnabledSellingMethods>
</SellingPreferences>

Example JSON Response (switch to XML)

{
  "OnlyAuthenticatedMembersCanBid": false,
  "DonationRecipient": 123,
  "ShowPickUpLocation": false,
  "PickUpLocation": {
    "SuburbId": 123,
    "SuburbName": "ABC",
    "DistrictId": 123,
    "DistrictName": "ABC",
    "RegionId": 123,
    "RegionName": "ABC"
  },
  "DefaultEnabledSellingMethods": [
    0,
    0
  ]
}