Home
Find the answer to your question
Why is the BuyerMessage field not returned in the response of this GetBestOffers call?
<?xml version="1.0" encoding="utf-8"?>
<GetBestOffersRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<Version>509</Version>
<ItemID>xxx</ItemID>
<<RequesterCredentials>
<eBayAuthToken>token</eBayAuthToken>
</RequesterCredentials>
</GetBestOffersRequest>
Detailed Description
When a best offer is made, the perspective buyer has the opportunity to "Add additional terms" to the offer.
These "terms" are defined on the eBay.com site as "clear and detailed contract terms to your offer".
The seller will receive the best offer and the terms set by the perspective buyer.
The response of the GetBestOffers call will not return these terms by default.
In order to get these terms in the response, the request must include
ReturnAll
as in this example:
<?xml version="1.0" encoding="utf-8"?>
<GetBestOffersRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<DetailLevel>ReturnAll</DetailLevel>
<Version>509</Version>
<ItemID>xxx</ItemID>
<<RequesterCredentials>
<eBayAuthToken>token</eBayAuthToken>
</RequesterCredentials>
</GetBestOffersRequest>
This call will return the terms in the BuyerMessage field of the response as in this snippet of a GetBestOffers response:
<BestOffer>
<BestOfferID>8901</BestOfferID>
...
<Price currencyID="USD">22222.0</Price>
<Status>Pending</Status>
<Quantity>1</Quantity>
<BuyerMessage>terms are good</BuyerMessage>
<BestOfferCodeType>BuyerBestOffer</BestOfferCodeType>
</BestOffer>