Advertisement
Guest User

Untitled

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