Skip to content

Instantly share code, notes, and snippets.

@theinventor
Created December 11, 2015 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theinventor/a01b466bee0525a2351d to your computer and use it in GitHub Desktop.
Save theinventor/a01b466bee0525a2351d to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<order>
<number>123ABC</number>
<shipping-method>UPS Ground</shipping-method>
<shipping-price type="float">34.15</shipping-price>
<status>Processed</status>
<entries type="array">
<entry>
<123123>
<quantity-requested type="integer">5</quantity-requested>
<quantity-backordered type="integer">0</quantity-backordered>
<quantity-processed type="integer">5</quantity-processed>
<price-each type="float">44.99</price-each>
</123123>
</entry>
<entry>
<123111>
<quantity-requested type="integer">5</quantity-requested>
<quantity-backordered type="integer">2</quantity-backordered>
<quantity-processed type="integer">3</quantity-processed>
<price-each type="float">19.99</price-each>
</123111>
</entry>
</entries>
</order>
=> nil
@theinventor
Copy link
Author

the keys like 123123 are the SKU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment