MWS API - XML response file with order example with multiple items

Countries

Read only
Australia
Belgium
Brazil
Canada
Egypt
France
Germany
India
Italy
Japan
Mexico
Netherlands
Poland
Saudi Arabia
Singapore
Spain
Sweden
Turkey
United Arab Emirates
United Kingdom
United States
United Kingdom
imgSign in
user profile
Seller_mabJXCeCeHVWY

MWS API - XML response file with order example with multiple items

Hi all
I’m writing code to read the xml orders response file from the MWS API,but I need an XML example with data showing an order that includes several products sold on the same order. Actually I only have the explanation given in the file XML_Documentation_Intl.V162213417.pdf, but I have trouble to interpret it:

" The amount the buyer paid for the order, broken out by type (component). All amounts are totals for the quantity purchased, not unit prices. For example, an order with 3 products including 2 with the same SKU and a shipping price of 9 USD will show in the report as a single message containing 2 different item sections(SKU), one with shipping of 6 USD (quantity = 2) and the other with shipping amount of 3USD (quantity = 1)… ItemPrice includes the following components:

  • Main
  • Shipping
  • Tax
  • ShippingTax

So an example would be much clearer!
The only example I have is for one item order

> < Item>
>     < ItemPrice>
>        < Component>
>           < Type>Principal</Type>
>           < Amount currency="EUR">26.26</Amount>
>        </ Component>
>        < Component>
>           < Type>Shipping</Type>
>           < Amount currency="EUR">0.00</Amount>
>        </ Component>
>        < Component>
>           < Type>Tax</Type>
>           < Amount currency="EUR">4.38</Amount>
>        </ Component>
>        < Component>
>           < Type>ShippingTax</Type>
>           < Amount currency="EUR">0.00</Amount>
>        </ Component>
>     </ ItemPrice>

Thank you for your precious help

28 views
2 replies
Tags:Shipping
00
Reply
2 replies
user profile
Seller_mabJXCeCeHVWY

Ok thanks for the information. I cannot connect to the US forum. I will post on the Indian forum.

10
Follow this discussion to be notified of new activity