Amazon-SP-API-CSharp: Order -> BuyerInfo -> BuyertaxInfo is null

maybe someone can help me.

How can i get the buyer tax informations?

Here is my code. The object is every time null:

AmazonConnection amazonConnection = new AmazonContext().GetConnection();

            ParameterOrderList serachOrderList = new ParameterOrderList();
            serachOrderList.MarketplaceIds = new List<string> { MarketPlace.Germany.ID };
            serachOrderList.AmazonOrderIds = new List<string>();
            serachOrderList.AmazonOrderIds.Add("XXXXX");
 
            var restrictedResource = new RestrictedResource();
            restrictedResource.method = Method.GET.ToString();
            restrictedResource.path = ApiUrls.OrdersApiUrls.Orders;
            restrictedResource.dataElements = new List<string> { "buyerInfo", "shippingAddress" };

            var createRDT = new CreateRestrictedDataTokenRequest()
            {
                restrictedResources = new List<RestrictedResource> { restrictedResource }
            };
            serachOrderList.RestrictedDataTokenRequest = createRDT;
            serachOrderList.IsNeedRestrictedDataToken = true;

            var orders = amazonConnection.Orders.GetOrders(serachOrderList);

Is ther a other function to get the tex informations?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26 (26 by maintainers)

Most upvoted comments

Here some helpful answer from amazon:

Hello,

I understand that you are concerned about not receiving the BuyerTaxInfo when calling the orders API.

I would like to inform you that we have reached out to the engineering team with this issue.

We have come to know that this is a known issue existing in our systems, and the engineering team is aware of it and working on it.

I have provided this particular instance as well.

Unfortunately, we do not have an estimated time for the rectification of the issue.

We regret the inconvenience, and appreciate your understanding in this matter.

Please let us know how we did.

Were you satisfied with the support provided?

since this work with @owenashurst and @gcuadrado

I will close this bug