Advertisement
Guest User

Untitled

a guest
May 20th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. <!-- All totals and qtys defined exclude cancelled items total and qty -->
  2. <!-- Ignore values in tag it does not contain right caluclation -->
  3. <?xml version="1.0" encoding="UTF-8"?>
  4. <orders>
  5. <order>
  6. <order_id>000000042</order_id>
  7. <ecometry_order_id>000000042</ecometry_order_id>
  8. <status>complete</status>
  9. <customer_email>test@accorin.com</customer_email>
  10. <discount_amount>0</discount_amount>
  11. <shipping_amount>4.99</shipping_amount><!-- shipping_surcharge will be included in shipping amount -->
  12. <shipping_tax_amount>0.47</shipping_tax_amount>
  13. <subtotal>500</subtotal>
  14. <subtotal_incl_tax>547.5</subtotal_incl_tax>
  15. <tax_amount>47.97</tax_amount>
  16. <grand_total>552.96</grand_total>
  17.  
  18. <address><!-- TBD this information could probably be at item level as ship information may differ item to item, -->
  19. <billing>
  20. <street1>5 Northeastern Blvd</street1>
  21. <street2>Suite 100</street2>
  22. <city>Bedford</city>
  23. <postcode>90012</postcode>
  24. <region>California</region>
  25. <country>US</country>
  26. <firstname>test</firstname>
  27. <lastname>test</lastname>
  28. <telephone>XXXXXX</telephone>
  29. </billing>
  30. <shipping>
  31. <street1>5 Northeastern Blvd</street1>
  32. <street2>Suite 100</street2>
  33. <city>Bedford</city>
  34. <postcode>90012</postcode>
  35. <region>California</region>
  36. <country>US</country>
  37. <firstname>test</firstname>
  38. <lastname>test</lastname>
  39. <telephone>XXXXXX</telephone>
  40. </shipping>
  41. </address>
  42.  
  43. <items>
  44. <item>
  45. <item_id>ITEM_ID</item_id>
  46. <name>PRODUCT_NAME</name>
  47. <sku>PRODUCT_SKU</sku>
  48.  
  49. <price>100</price>
  50. <price_incl_tax>109.5</price_incl_tax><!-- Tim to confirm wheather he can send this info or not -->
  51.  
  52. <qty_ordered>5</qty_ordered>
  53.  
  54. <row_total>500</row_total>
  55. <discount_amount>0</discount_amount>
  56. <shipping_amount>4.99</shipping_amount>
  57. <tax_amount>47.5</tax_amount>
  58. <row_total_incl_tax>547.5</row_total_incl_tax><!-- If Tim can pass fine otherwise we can calculate -->
  59. </item>
  60. </items>
  61. <shipments><!--Taken out this section from item section-->
  62. <shipment><!--each shipment can have multiple tracking number and multiple items, so we dont need to do any grouping it will come from you only-->
  63. <shipping_method>ups/fedex/dhl</shipping_method>
  64. <tracking_no>1111111</tracking_no>
  65. <tracking_link>https://fedex.com/?trackingid=1111111</tracking_link>
  66.  
  67. <shipping_method>ups/fedex/dhl</shipping_method>
  68. <tracking_no>22222222</tracking_no>
  69. <tracking_link>https://fedex.com/?trackingid=22222222</tracking_link>
  70.  
  71. <item>
  72. <item_id>ITEM_ID</item_id>
  73. <qty>3</qty>
  74. <date>XXXXXXXXX</date>
  75. </item>
  76. <item>
  77. <item_id>ITEM_ID</item_id>
  78. <qty>2</qty>
  79. <date>XXXXXXXXX</date>
  80. </item>
  81. <shipment>
  82. <shipment>
  83. <shipping_method>ups/fedex/dhl</shipping_method>
  84. <tracking_no>3333333</tracking_no>
  85. <tracking_link>https://fedex.com/?trackingid=3333333</tracking_link>
  86. <item>
  87. <item_id>ITEM_ID</item_id>
  88. <qty>1</qty>
  89. <date>XXXXXXXXX</date>
  90. </item>
  91. <shipment>
  92. </shipments>
  93.  
  94. <cancellations><!--No cancellation sub tag needed as we dont need to group by cancellations-->
  95. <item>
  96. <item_id>ITEM_ID</item_id>
  97. <qty>1</qty>
  98. <reason>ordered by mistake</reason>
  99. <date>XXXXXXXXX</date>
  100. </item>
  101. <item>
  102. <item_id>ITEM_ID</item_id>
  103. <qty>2</qty>
  104. <reason>color not available</reason>
  105. <date>XXXXXXXXX</date>
  106. </item>
  107. </cancellations>
  108. </order>
  109. </orders>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement