Website logo

Ask the seller to create an FPO

Sends an email to the seller of a listing asking that they make a fixed price offer.

URL: https://api.trademe.co.nz/v1/MyTradeMe/RequestOffer.{file_format}
HTTP Method: POST
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.

POST Data

<RequestOfferRequest>

ListingId Long Integer (required)

The ID of the listing that should be offered.

Returns

<RequestOfferResponse>

A response that indicates whether the operation succeeded.

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)

<RequestOfferRequest xmlns="http://api.trademe.co.nz/v1">
  <ListingId>123</ListingId>
</RequestOfferRequest>

Example JSON Request (switch to XML)

{
  "ListingId": 123
}

Example XML Response (switch to JSON)

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

Example JSON Response (switch to XML)

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