Get All Orders October 06 2015
GET a list of all your orders...
/api/v2/orders /api/v2/orders.xml /api/v2/orders.xml?status=<type>&per_page=25&page=2
Status can be open or expired. If not specified then all orders (open and expired) will be returned. Example result...
<?xml version="1.0" encoding="UTF-8"?> <orders type="array"> <order> <id>1001</id> <vendor_id>1554898798</vendor_id> <first_name>Donald</first_name> <last_name>Duck</last_name> <email>donald@duck.com</email> <total type="float">44.50</total> <currency>USD</currency> <status>open</status> <product_count type="integer">1</product_count> <download_count type="integer">1</download_count> <expiration_date type="datetime">2008-12-28T18:47:56+00:00</expiration_date> <download_limit type="integer">3</download_limit> <custom_1 nil="true"></custom_1> <custom_2 nil="true"></custom_2> <custom_3 nil="true"></custom_3> <created_at type="datetime">2008-11-28T18:47:56+00:00</created_at> <link href="http://demo.fetchapp.com/get/tydjdje">/get/tydjdje</link> <order_items_uri>https://demo.fetchapp.com/api/v2/orders/1001/order_items</order_items_uri> <downloads_uri>https://demo.fetchapp.com/api/v2/orders/1001/downloads</downloads_uri> </order> <order> <id>1002</id> <vendor_id>1554898799</vendor_id> <first_name>Bugs</first_name> <last_name>Bunny</last_name> <email>bugs@bunny.com</email> <total type="float">12.99</total> <currency>GBP</currency> <status>open</status> <product_count type="integer">2</product_count> <download_count type="integer">5</download_count> <expiration_date nil="true"></expiration_date> <download_limit type="integer">3</download_limit> <custom_1 nil="true"></custom_1> <custom_2 nil="true"></custom_2> <custom_3 nil="true"></custom_3> <created_at type="datetime">2008-11-28T18:47:56+00:00</created_at> <link href="http://demo.fetchapp.com/get/tydjdje">/get/tydjdje</link> <order_items_uri>https://demo.fetchapp.com/api/v2/orders/1002/order_items</order_items_uri> <downloads_uri>https://demo.fetchapp.com/api/v2/orders/1002/downloads</downloads_uri> </order> </orders>