Developers Program

I include the field IncludeFinalValueFee in my GetOrders request, why don't I see any FinalValueFee?

Published: August 05 2011, 4:59:00 PMยทUpdated: September 10 2022, 12:30:18 AM

Products

Question

I include the field IncludeFinalValueFee in my GetOrders request, why don't I see any FinalValueFee?

Answer

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
Additional Comments
How well did this answer your question?