Created
December 11, 2015 22:26
-
-
Save theinventor/f5f3d6ecf56074bedeff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"number": "123ABC", | |
"shipping_method": "UPS Ground", | |
"shipping_price": 34.15, | |
"status": "Processed", | |
"entries": [ | |
{ | |
"123123": { | |
"quantity_requested": 5, | |
"quantity_backordered": 0, | |
"quantity_processed": 5, | |
"price_each": 44.99 | |
} | |
}, | |
{ | |
"123111": { | |
"quantity_requested": 5, | |
"quantity_backordered": 2, | |
"quantity_processed": 3, | |
"price_each": 19.99 | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
They keys like 123123 are the SKU, in ruby i can easily do order.keys.each to loop over the lines. this is a good response format..