Website logo

Submit a new enquiry message to Trade Me customer support

Submits a new enquiry message to Trade Me customer support.

URL: https://api.trademe.co.nz/v1/MyTradeMe/CustomerSupportEnquiry.{file_format}
HTTP Method: POST
Requires Authentication? Yes
Permission Required: MyTradeMeWrite: Maintain your watchlist, answer questions and post comments.
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.

POST Data

<CustomerSupportRequest>

Topic Enumeration (required)

The topic that the message belongs under.

AppFeedback 0

General feedback about the app

AccountInfo 1

Account info

PaymentsAndRefunds 2

Payments and refunds

TradeDisputes 3

Trade disputes

Buying 4

Buying

Selling 5

Selling

Policies 6

Policies

MessageBoard 7

Message board

FinancialDisputes 8

Financial disputes

InappropriateBehaviour 9

Inappropriate behaviour

SuspiciousBehaviour 10

Suspicious behaviour

CorporateEnquiries 11

Corporate enquiries

Message String (required)

The message submitted.

Returns

<CustomerSupportResponse>

Details on whether the enquiry message was submitted successfully.

Success Boolean

Indicates whether the operation was successful.

Description String or null

The description of the error, if the operation failed.

Example XML Request (switch to JSON)

<CustomerSupportRequest xmlns="http://api.trademe.co.nz/v1">
  <Topic>AppFeedback</Topic>
  <Message>ABC</Message>
</CustomerSupportRequest>

Example JSON Request (switch to XML)

{
  "Topic": 0,
  "Message": "ABC"
}

Example XML Response (switch to JSON)

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

Example JSON Response (switch to XML)

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