Find the answer to your question
Advanced Search
I include the field IncludeFinalValueFee in my GetOrders request, why don't I see any FinalValueFee?
Summary
IncludeFinalValueFee is in my GetOrders request, but FinalValueFee is not in the response.
Detailed Description
There are a couple of reasons why GetOrders may not return FinalValueFee. Here are a few examples:
- The version passed in the 'X-EBAY-API-COMPATIBILITY-LEVEL' may be less than 705
- IncludeFinalValueFees was included in the request instead of IncludeFinalValueFee, IncludeFinalValueFees was deprecated on version 705, and no longer is permitted as a valid request field.
Here is an example of an GetOrders response with the IncludeFinalValueFees tag:
<?xml version="1.0" encoding="utf-8"?>
<GetOrdersRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<DetailLevel>ReturnAll</DetailLevel>
<ErrorLanguage>en_US</ErrorLanguage>
<Version>673</Version>
<OrderIDArray>
<OrderID>212312689271-815748865012</OrderID>
</OrderIDArray>
<IncludeFinalValueFees>true</IncludeFinalValueFees>
<RequesterCredentials>
<eBayAuthToken>xxxxx</eBayAuthToken>
</RequesterCredentials>
</GetOrdersRequest>
You should see the following in the response:
<FinalValueFee>4.55</FinalValueFee>
As a best practice, you should always keep track of the latest eBay API version.
Additional Resources
- GetOrders Call Reference page: http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/GetOrders.html