{"info":{"_postman_id":"1f8fb378-888e-4395-99b2-7a87ff9d822c","name":"ecomm-orders-api","description":"<html><head></head><body><p>UNOapp eComm Orders API allows clients and partners to get the order details for orders that are processed through the UNOapp eComm system.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"2370093","collectionId":"1f8fb378-888e-4395-99b2-7a87ff9d822c","publishedId":"SVYnQzkk","public":true,"customColor":{"top-bar":"303030","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-07-30T23:27:24.000Z"},"item":[{"name":"locations","item":[{"name":"get all locations","id":"b1db54ad-5027-4eca-8200-91373829b32c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>required | provided by UNOapp</p>\n","key":"api-token","type":"text","value":"123456abcdefg"}],"url":"/api/v1/locations?page=1&limit=4","urlObject":{"path":["api","v1","locations"],"query":[{"description":{"content":"<p>optional | defaults to 1</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>optional | defaults to 50 | max value = 100</p>\n","type":"text/plain"},"key":"limit","value":"4"}],"variable":[]}},"response":[{"id":"ccbde491-471b-41e5-81e3-db9c774d7c2f","name":"get all locations","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"api-token","type":"text","value":"{{api-token}}"}],"url":{"raw":"{{url}}/api/v1/locations?page=1&limit=4","host":["{{url}}"],"path":["api","v1","locations"],"query":[{"key":"page","value":"1","description":"optional | defaults to 1"},{"key":"limit","value":"4","description":"optional | defaults to 50 | max value = 100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1455"},{"key":"ETag","value":"W/\"5af-41OG2bjxoyTivXZ3PKOO9XeLzVY\""},{"key":"Date","value":"Tue, 30 Jul 2019 23:07:16 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"api_ver\": \"1.0\",\n    \"msg\": \"locations found\",\n    \"payload\": {\n        \"total_locations\": 9,\n        \"total_pages\": 3,\n        \"page\": 1,\n        \"per_page\": 4,\n        \"locations\": [\n\t\t    {\n\t\t      \"address_line_1\": \"123 somewhere street\",\n\t\t      \"address_line_2\": \"unit 123\",\n\t\t      \"city\": \"somecity\",\n\t\t      \"province\": \"someprovince\",\n\t\t      \"country\": \"someCountry\",\n\t\t      \"postal_code\": \"123456\",\n\t\t      \"id\": 123,\n\t\t      \"internal_id\": \"123456\",\n\t\t      \"name\": \"123 - real location\",\n\t\t      \"display_name\": \"Real Location\",\n\t\t      \"slug\": \"real_location\",\n\t\t      \"email\": \"help@reallocation.com\",\n\t\t      \"phone\": \"1234567890\"\n\t\t    },\n\t\t    {\n\t\t      \"address_line_1\": \"123 somewhere street\",\n\t\t      \"address_line_2\": \"unit 123\",\n\t\t      \"city\": \"somecity\",\n\t\t      \"province\": \"someprovince\",\n\t\t      \"country\": \"someCountry\",\n\t\t      \"postal_code\": \"123456\",\n\t\t      \"id\": 123,\n\t\t      \"internal_id\": \"123456\",\n\t\t      \"name\": \"123 - real location\",\n\t\t      \"display_name\": \"Real Location\",\n\t\t      \"slug\": \"real_location\",\n\t\t      \"email\": \"help@reallocation.com\",\n\t\t      \"phone\": \"1234567890\"\n\t\t    },\n\t\t    {\n\t\t      \"address_line_1\": \"123 somewhere street\",\n\t\t      \"address_line_2\": \"unit 123\",\n\t\t      \"city\": \"somecity\",\n\t\t      \"province\": \"someprovince\",\n\t\t      \"country\": \"someCountry\",\n\t\t      \"postal_code\": \"123456\",\n\t\t      \"id\": 123,\n\t\t      \"internal_id\": \"123456\",\n\t\t      \"name\": \"123 - real location\",\n\t\t      \"display_name\": \"Real Location\",\n\t\t      \"slug\": \"real_location\",\n\t\t      \"email\": \"help@reallocation.com\",\n\t\t      \"phone\": \"1234567890\"\n\t\t    },\n\t\t    {\n\t\t      \"address_line_1\": \"123 somewhere street\",\n\t\t      \"address_line_2\": \"unit 123\",\n\t\t      \"city\": \"somecity\",\n\t\t      \"province\": \"someprovince\",\n\t\t      \"country\": \"someCountry\",\n\t\t      \"postal_code\": \"123456\",\n\t\t      \"id\": 123,\n\t\t      \"internal_id\": \"123456\",\n\t\t      \"name\": \"123 - real location\",\n\t\t      \"display_name\": \"Real Location\",\n\t\t      \"slug\": \"real_location\",\n\t\t      \"email\": \"help@reallocation.com\",\n\t\t      \"phone\": \"1234567890\"\n\t\t    }\n\t\t]\n    }\n}"}],"_postman_id":"b1db54ad-5027-4eca-8200-91373829b32c"},{"name":"get location by id","id":"e0033183-2f60-44b8-a6a0-5b815fb043f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>required | provided by UNOapp</p>\n","key":"api-token","type":"text","value":"123456abcdefg"}],"url":"/api/v1/locations/:location","urlObject":{"path":["api","v1","locations",":location"],"query":[],"variable":[{"description":{"content":"<p>required | number |the location ID</p>\n","type":"text/plain"},"type":"string","value":"123","key":"location"}]}},"response":[{"id":"92330fd0-f2cc-4e7c-a386-2a0f4dd8d675","name":"get location by id","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"api-token","type":"text","value":"{{api-token}}"}],"url":{"raw":"{{url}}/api/v1/locations/:location","host":["{{url}}"],"path":["api","v1","locations",":location"],"variable":[{"key":"location","value":"387"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"402"},{"key":"ETag","value":"W/\"192-fp4T+LsIERUxRfloLrPVpXvBzPs\""},{"key":"Date","value":"Tue, 30 Jul 2019 23:09:09 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"api_ver\": \"1.0\",\n    \"msg\": \"location found\",\n    \"payload\": {\n\t  \"address_line_1\": \"123 somewhere street\",\n\t  \"address_line_2\": \"unit 123\",\n\t  \"city\": \"somecity\",\n\t  \"province\": \"someprovince\",\n\t  \"country\": \"someCountry\",\n\t  \"postal_code\": \"123456\",\n\t  \"id\": 123,\n\t  \"internal_id\": \"123456\",\n\t  \"name\": \"123 - real location\",\n\t  \"display_name\": \"Real Location\",\n\t  \"slug\": \"real_location\",\n\t  \"email\": \"help@reallocation.com\",\n\t  \"phone\": \"1234567890\"\n\t}\n}"}],"_postman_id":"e0033183-2f60-44b8-a6a0-5b815fb043f3"}],"id":"3645a3b4-2940-4a55-8f39-6577c658170f","description":"<p>Get details about the locations that are part of the UNOapp eComm platform.</p>\n","event":[{"listen":"prerequest","script":{"id":"12bc86e0-6aea-40d7-9c5d-14103b5a3c6b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1518df72-6f49-493e-a1e5-e69942e1b5ae","type":"text/javascript","exec":[""]}}],"_postman_id":"3645a3b4-2940-4a55-8f39-6577c658170f"},{"name":"users","item":[{"name":"get all users","id":"17ccd82a-9914-4076-bbfc-a4433ce8c38e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>required | provided by UNOapp</p>\n","key":"api-token","type":"text","value":"123456abcdefg"}],"url":"/api/v1/users?page=1&limit=4","urlObject":{"path":["api","v1","users"],"query":[{"description":{"content":"<p>optional | defaults to 1</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>optional | defaults to 50 | max value = 100</p>\n","type":"text/plain"},"key":"limit","value":"4"}],"variable":[]}},"response":[{"id":"9a1ece8e-7708-4f87-b064-0b138cd52253","name":"get all users","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"api-token","type":"text","value":"{{api-token}}"}],"url":{"raw":"{{url}}/api/v1/users?page=1&limit=4","host":["{{url}}"],"path":["api","v1","users"],"query":[{"key":"page","value":"1","description":"optional | defaults to 1"},{"key":"limit","value":"4","description":"optional | defaults to 50 | max value = 100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"808"},{"key":"ETag","value":"W/\"328-9H4NGcbiceYvE/UYeHTPdxjv+Ls\""},{"key":"Date","value":"Tue, 30 Jul 2019 23:10:09 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"api_ver\": \"1.0\",\n  \"msg\": \"users found\",\n  \"payload\": {\n    \"total_users\": 10,\n    \"total_pages\": 3,\n    \"page\": 1,\n    \"per_page\": 4,\n    \"users\": [\n      {\n        \"date_of_birth\": \"1975-01-04\",\n        \"id\": 123456,\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"johndoe@email.com\",\n        \"phone\": \"1234567890\",\n        \"sign_up_date\": \"2012-10-10T19:03:15.000Z\"\n      },\n      {\n        \"date_of_birth\": \"1975-01-04\",\n        \"id\": 123456,\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"johndoe@email.com\",\n        \"phone\": \"1234567890\",\n        \"sign_up_date\": \"2012-10-10T19:03:15.000Z\"\n      },\n      {\n        \"date_of_birth\": \"1975-01-04\",\n        \"id\": 123456,\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"johndoe@email.com\",\n        \"phone\": \"1234567890\",\n        \"sign_up_date\": \"2012-10-10T19:03:15.000Z\"\n      },\n      {\n        \"date_of_birth\": \"1975-01-04\",\n        \"id\": 123456,\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"johndoe@email.com\",\n        \"phone\": \"1234567890\",\n        \"sign_up_date\": \"2012-10-10T19:03:15.000Z\"\n      }\n    ]\n  }\n}"}],"_postman_id":"17ccd82a-9914-4076-bbfc-a4433ce8c38e"},{"name":"get user by id","id":"80a1f4a7-1483-4e8f-be94-d09062031cb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>required | provided by UNOapp</p>\n","key":"api-token","type":"text","value":"123456abcdefg"}],"url":"/api/v1/users/:user","urlObject":{"path":["api","v1","users",":user"],"query":[],"variable":[{"description":{"content":"<p>required | number |the user ID</p>\n","type":"text/plain"},"type":"string","value":"123","key":"user"}]}},"response":[{"id":"50260c14-29d6-4631-ac82-27d460b1ca6c","name":"get user by id","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"api-token","type":"text","value":"{{api-token}}"}],"url":{"raw":"{{url}}/api/v1/users/:user","host":["{{url}}"],"path":["api","v1","users",":user"],"variable":[{"key":"user","value":"123456"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"254"},{"key":"ETag","value":"W/\"fe-zjntm6G1sKPoxEdCD8ASPOnfI1A\""},{"key":"Date","value":"Tue, 30 Jul 2019 23:10:52 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"api_ver\": \"1.0\",\n  \"msg\": \"user found\",\n  \"payload\": {\n    \"date_of_birth\": \"1975-01-04\",\n    \"id\": 123456,\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"email\": \"johndoe@email.com\",\n    \"phone\": \"1234567890\",\n    \"sign_up_date\": \"2012-10-10T19:03:15.000Z\"\n  }\n}"}],"_postman_id":"80a1f4a7-1483-4e8f-be94-d09062031cb9"}],"id":"f99590e9-0819-4b7c-9317-0426e29703a8","description":"<p>Get details about your users.</p>\n","event":[{"listen":"prerequest","script":{"id":"28103b6e-e8fe-40da-870f-2077a65f1f25","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ff6f56dd-bbcc-4aed-9723-948a3171b5b6","type":"text/javascript","exec":[""]}}],"_postman_id":"f99590e9-0819-4b7c-9317-0426e29703a8"},{"name":"orders","item":[{"name":"get all orders","id":"f263460c-a45d-49cb-9641-7a2ca22ad3b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"api-token","type":"text","value":"123456abcdefg"}],"url":"/api/v1/orders?page=1&limit=4","urlObject":{"path":["api","v1","orders"],"query":[{"description":{"content":"<p>optional | defaults to 1</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>optional | defaults to 50 | max value = 100</p>\n","type":"text/plain"},"key":"limit","value":"4"}],"variable":[]}},"response":[{"id":"2245c487-ce43-453f-a8e9-a1ceb5ec0d72","name":"get all orders","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"api-token","type":"text","value":"{{api-token}}"}],"url":{"raw":"{{url}}/api/v1/orders?page=1&limit=4","host":["{{url}}"],"path":["api","v1","orders"],"query":[{"key":"page","value":"1","description":"optional | defaults to 1"},{"key":"limit","value":"4","description":"optional | defaults to 50 | max value = 100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6427"},{"key":"ETag","value":"W/\"191b-1wAsrIhpiEzjC+oiWUNcBjQ5NJk\""},{"key":"Date","value":"Tue, 30 Jul 2019 22:55:11 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"api_ver\": \"1.0\",\n    \"msg\": \"orders found\",\n    \"payload\": {\n        \"total_orders\": 10,\n        \"total_pages\": 3,\n        \"page\": 1,\n        \"per_page\": 4,\n        \"orders\": [\n            {\n                \"order_items\": [\n                    {\n                        \"modifiers\": [],\n                        \"id\": 123456,\n                        \"item_sku\": \"SKU123\",\n                        \"category_sku\": \"SKU123\",\n                        \"category\": \"Category\",\n                        \"name\": \"Item Name\",\n                        \"item_id\": 123,\n                        \"item_qty\": 1,\n                        \"item_price\": 10.99,\n                        \"item_base_price\": 10.99,\n                        \"note\": null\n                    }\n                ],\n                \"order_id\": \"abc1234\",\n                \"grouporder_id\": 0,\n                \"order_guest_profile_id\": null,\n                \"receive_time\": \"2012-07-30T20:50:00.000Z\",\n                \"estimated_store_pickup_time\": null,\n                \"receive_later\": 1,\n                \"status\": \"submitted\",\n                \"order_type\": \"regular\",\n                \"order_receive_method\": \"future\",\n                \"sub_total\": 10.99,\n                \"tax_amount\": 0,\n                \"total\": 10.99,\n                \"note\": \"\",\n                \"delivery_fee\": 0,\n                \"points_earned\": 1,\n                \"giftcard_amount\": 0,\n                \"promocode_amount\": 0,\n                \"reward_amount\": 0,\n                \"total_reward\": 0,\n                \"reward_points\": 0,\n                \"ip_address\": \"123.123.123.123\",\n                \"paid\": 0,\n                \"points_could_have_earned\": null,\n                \"platform\": \"ios\",\n                \"order_date\": \"2012-12-31T00:33:25.000Z\",\n                \"order_updated_at\": \"2012-12-31T00:33:26.000Z\",\n                \"deleted_at\": null,\n                \"tip_amount\": 0,\n                \"delivery_tax\": 0,\n                \"user\": {\n                    \"date_of_birth\": \"1975-01-04\",\n                    \"id\": 123456,\n                    \"first_name\": \"John\",\n                    \"last_name\": \"Doe\",\n                    \"email\": \"johndoe@email.com\",\n                    \"phone\": \"1234567890\",\n                    \"sign_up_date\": \"2012-10-10T19:03:15.000Z\"\n                },\n                \"location\": {\n                    \"address_line_1\": \"123 somewhere street\",\n                    \"address_line_2\": \"unit 123\",\n                    \"city\": \"somecity\",\n                    \"province\": \"someprovince\",\n                    \"country\": \"someCountry\",\n                    \"postal_code\": \"123456\",\n                    \"id\": 123,\n                    \"internal_id\": \"123456\",\n                    \"name\": \"123 - real location\",\n                    \"display_name\": \"Real Location\",\n                    \"slug\": \"real_location\",\n                    \"email\": \"help@reallocation.com\",\n                    \"phone\": \"1234567890\"\n                }\n            },\n            {\n                \"order_items\": [\n                    {\n                        \"modifiers\": [],\n                        \"id\": 123456,\n                        \"item_sku\": \"SKU123\",\n                        \"category_sku\": \"SKU123\",\n                        \"category\": \"Category\",\n                        \"name\": \"Item Name\",\n                        \"item_id\": 123,\n                        \"item_qty\": 1,\n                        \"item_price\": 10.99,\n                        \"item_base_price\": 10.99,\n                        \"note\": null\n                    }\n                ],\n                \"order_id\": \"abc1234\",\n                \"grouporder_id\": 0,\n                \"order_guest_profile_id\": null,\n                \"receive_time\": \"2012-07-30T20:50:00.000Z\",\n                \"estimated_store_pickup_time\": null,\n                \"receive_later\": 1,\n                \"status\": \"submitted\",\n                \"order_type\": \"regular\",\n                \"order_receive_method\": \"future\",\n                \"sub_total\": 10.99,\n                \"tax_amount\": 0,\n                \"total\": 10.99,\n                \"note\": \"\",\n                \"delivery_fee\": 0,\n                \"points_earned\": 1,\n                \"giftcard_amount\": 0,\n                \"promocode_amount\": 0,\n                \"reward_amount\": 0,\n                \"total_reward\": 0,\n                \"reward_points\": 0,\n                \"ip_address\": \"123.123.123.123\",\n                \"paid\": 0,\n                \"points_could_have_earned\": null,\n                \"platform\": \"ios\",\n                \"order_date\": \"2012-12-31T00:33:25.000Z\",\n                \"order_updated_at\": \"2012-12-31T00:33:26.000Z\",\n                \"deleted_at\": null,\n                \"tip_amount\": 0,\n                \"delivery_tax\": 0,\n                \"user\": {\n                    \"date_of_birth\": \"1975-01-04\",\n                    \"id\": 123456,\n                    \"first_name\": \"John\",\n                    \"last_name\": \"Doe\",\n                    \"email\": \"johndoe@email.com\",\n                    \"phone\": \"1234567890\",\n                    \"sign_up_date\": \"2012-10-10T19:03:15.000Z\"\n                },\n                \"location\": {\n                    \"address_line_1\": \"123 somewhere street\",\n                    \"address_line_2\": \"unit 123\",\n                    \"city\": \"somecity\",\n                    \"province\": \"someprovince\",\n                    \"country\": \"someCountry\",\n                    \"postal_code\": \"123456\",\n                    \"id\": 123,\n                    \"internal_id\": \"123456\",\n                    \"name\": \"123 - real location\",\n                    \"display_name\": \"Real Location\",\n                    \"slug\": \"real_location\",\n                    \"email\": \"help@reallocation.com\",\n                    \"phone\": \"1234567890\"\n                }\n            },\n            {\n                \"order_items\": [\n                    {\n                        \"modifiers\": [\n                            {\n                                \"id\": 123456,\n                                \"mod_sku\": \"sku1234\",\n                                \"mod_category_sku\": \"sku1234\",\n                                \"name\": \"super food\",\n                                \"modifier_category\": \"food item\",\n                                \"mod_qty\": 1,\n                                \"price_per_mod\": 1.99,\n                                \"included\": 0\n                            }\n                        ],\n                        \"id\": 123456,\n                        \"item_sku\": \"SKU123\",\n                        \"category_sku\": \"SKU123\",\n                        \"category\": \"Category\",\n                        \"name\": \"Item Name\",\n                        \"item_id\": 123,\n                        \"item_qty\": 1,\n                        \"item_price\": 10.99,\n                        \"item_base_price\": 10.99,\n                        \"note\": null\n                    }\n                ],\n                \"order_id\": \"abc1234\",\n                \"grouporder_id\": 0,\n                \"order_guest_profile_id\": null,\n                \"receive_time\": \"2012-07-30T20:50:00.000Z\",\n                \"estimated_store_pickup_time\": null,\n                \"receive_later\": 1,\n                \"status\": \"submitted\",\n                \"order_type\": \"regular\",\n                \"order_receive_method\": \"future\",\n                \"sub_total\": 10.99,\n                \"tax_amount\": 0,\n                \"total\": 10.99,\n                \"note\": \"\",\n                \"delivery_fee\": 0,\n                \"points_earned\": 1,\n                \"giftcard_amount\": 0,\n                \"promocode_amount\": 0,\n                \"reward_amount\": 0,\n                \"total_reward\": 0,\n                \"reward_points\": 0,\n                \"ip_address\": \"123.123.123.123\",\n                \"paid\": 0,\n                \"points_could_have_earned\": null,\n                \"platform\": \"ios\",\n                \"order_date\": \"2012-12-31T00:33:25.000Z\",\n                \"order_updated_at\": \"2012-12-31T00:33:26.000Z\",\n                \"deleted_at\": null,\n                \"tip_amount\": 0,\n                \"delivery_tax\": 0,\n                \"user\": {\n                    \"date_of_birth\": \"1975-01-04\",\n                    \"id\": 123456,\n                    \"first_name\": \"John\",\n                    \"last_name\": \"Doe\",\n                    \"email\": \"johndoe@email.com\",\n                    \"phone\": \"1234567890\",\n                    \"sign_up_date\": \"2012-10-10T19:03:15.000Z\"\n                },\n                \"location\": {\n                    \"address_line_1\": \"123 somewhere street\",\n                    \"address_line_2\": \"unit 123\",\n                    \"city\": \"somecity\",\n                    \"province\": \"someprovince\",\n                    \"country\": \"someCountry\",\n                    \"postal_code\": \"123456\",\n                    \"id\": 123,\n                    \"internal_id\": \"123456\",\n                    \"name\": \"123 - real location\",\n                    \"display_name\": \"Real Location\",\n                    \"slug\": \"real_location\",\n                    \"email\": \"help@reallocation.com\",\n                    \"phone\": \"1234567890\"\n                }\n            },\n            {\n                \"order_items\": [\n                    {\n                        \"modifiers\": [\n                            {\n                                \"id\": 123456,\n                                \"mod_sku\": \"sku1234\",\n                                \"mod_category_sku\": \"sku1234\",\n                                \"name\": \"super food\",\n                                \"modifier_category\": \"food item\",\n                                \"mod_qty\": 1,\n                                \"price_per_mod\": 1.99,\n                                \"included\": 0\n                            }\n                        ],\n                        \"id\": 123456,\n                        \"item_sku\": \"SKU123\",\n                        \"category_sku\": \"SKU123\",\n                        \"category\": \"Category\",\n                        \"name\": \"Item Name\",\n                        \"item_id\": 123,\n                        \"item_qty\": 1,\n                        \"item_price\": 10.99,\n                        \"item_base_price\": 10.99,\n                        \"note\": null\n                    },\n                    {\n                        \"modifiers\": [\n                            {\n                                \"id\": 123456,\n                                \"mod_sku\": \"sku1234\",\n                                \"mod_category_sku\": \"sku1234\",\n                                \"name\": \"super food\",\n                                \"modifier_category\": \"food item\",\n                                \"mod_qty\": 1,\n                                \"price_per_mod\": 1.99,\n                                \"included\": 0\n                            }\n                        ],\n                        \"id\": 123456,\n                        \"item_sku\": \"SKU123\",\n                        \"category_sku\": \"SKU123\",\n                        \"category\": \"Category\",\n                        \"name\": \"Item Name\",\n                        \"item_id\": 123,\n                        \"item_qty\": 1,\n                        \"item_price\": 10.99,\n                        \"item_base_price\": 10.99,\n                        \"note\": null\n                    }\n                ],\n                \"order_id\": \"abc1234\",\n                \"grouporder_id\": 0,\n                \"order_guest_profile_id\": null,\n                \"receive_time\": \"2012-07-30T20:50:00.000Z\",\n                \"estimated_store_pickup_time\": null,\n                \"receive_later\": 1,\n                \"status\": \"submitted\",\n                \"order_type\": \"regular\",\n                \"order_receive_method\": \"future\",\n                \"sub_total\": 10.99,\n                \"tax_amount\": 0,\n                \"total\": 10.99,\n                \"note\": \"\",\n                \"delivery_fee\": 0,\n                \"points_earned\": 1,\n                \"giftcard_amount\": 0,\n                \"promocode_amount\": 0,\n                \"reward_amount\": 0,\n                \"total_reward\": 0,\n                \"reward_points\": 0,\n                \"ip_address\": \"123.123.123.123\",\n                \"paid\": 0,\n                \"points_could_have_earned\": null,\n                \"platform\": \"ios\",\n                \"order_date\": \"2012-12-31T00:33:25.000Z\",\n                \"order_updated_at\": \"2012-12-31T00:33:26.000Z\",\n                \"deleted_at\": null,\n                \"tip_amount\": 0,\n                \"delivery_tax\": 0,\n                \"user\": {\n                    \"date_of_birth\": \"1975-01-04\",\n                    \"id\": 123456,\n                    \"first_name\": \"John\",\n                    \"last_name\": \"Doe\",\n                    \"email\": \"johndoe@email.com\",\n                    \"phone\": \"1234567890\",\n                    \"sign_up_date\": \"2012-10-10T19:03:15.000Z\"\n                },\n                \"location\": {\n                    \"address_line_1\": \"123 somewhere street\",\n                    \"address_line_2\": \"unit 123\",\n                    \"city\": \"somecity\",\n                    \"province\": \"someprovince\",\n                    \"country\": \"someCountry\",\n                    \"postal_code\": \"123456\",\n                    \"id\": 123,\n                    \"internal_id\": \"123456\",\n                    \"name\": \"123 - real location\",\n                    \"display_name\": \"Real Location\",\n                    \"slug\": \"real_location\",\n                    \"email\": \"help@reallocation.com\",\n                    \"phone\": \"1234567890\"\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"f263460c-a45d-49cb-9641-7a2ca22ad3b6"},{"name":"get all orders for a location","id":"1d95d943-e3b5-4bca-ba3a-b8aad9ae40c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>required | provided by UNOapp</p>\n","key":"api-token","type":"text","value":"123456abcdefg"}],"url":"/api/v1/orders/locations/:location?page=1&limit=1","urlObject":{"path":["api","v1","orders","locations",":location"],"query":[{"description":{"content":"<p>optional | defaults to 1</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>optional | defaults to 50 | max value = 100</p>\n","type":"text/plain"},"key":"limit","value":"1"}],"variable":[{"description":{"content":"<p>required | number |the location ID</p>\n","type":"text/plain"},"type":"string","value":"123","key":"location"}]}},"response":[{"id":"a6507020-b0d0-484f-a77a-4650a9c458ac","name":"get all orders for a location","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"api-token","type":"text","value":"{{api-token}}"}],"url":{"raw":"{{url}}/api/v1/orders/locations/:location?page=1&limit=1","host":["{{url}}"],"path":["api","v1","orders","locations",":location"],"query":[{"key":"page","value":"1","description":"optional | defaults to 1"},{"key":"limit","value":"1","description":"optional | defaults to 50 | max value = 100"}],"variable":[{"key":"location","value":"233"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1173"},{"key":"ETag","value":"W/\"495-yc6xDs3d20Ay0Vesoa9k4XJZJWU\""},{"key":"Date","value":"Tue, 30 Jul 2019 23:03:46 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"api_ver\": \"1.0\",\n    \"msg\": \"orders found\",\n    \"payload\": {\n        \"total_orders\": 1,\n        \"total_pages\": 1,\n        \"page\": 1,\n        \"per_page\": 1,\n        \"orders\": [\n            {\n                \"order_items\": [\n                    {\n                        \"modifiers\": [\n\t\t            \t{\n\t\t\t                \"id\": 123456,\n\t\t\t                \"mod_sku\": \"sku1234\",\n\t\t\t                \"mod_category_sku\": \"sku1234\",\n\t\t\t                \"name\": \"super food\",\n\t\t\t                \"modifier_category\": \"food item\",\n\t\t\t                \"mod_qty\": 1,\n\t\t\t                \"price_per_mod\": 1.99,\n\t\t\t                \"included\": 0\n\t\t\t              }\n\t\t\t            ],\n\t\t\t            \"id\": 123456,\n\t\t\t            \"item_sku\": \"SKU123\",\n\t\t\t            \"category_sku\": \"SKU123\",\n\t\t\t            \"category\": \"Category\",\n\t\t\t            \"name\": \"Item Name\",\n\t\t\t            \"item_id\": 123,\n\t\t\t            \"item_qty\": 1,\n\t\t\t            \"item_price\": 10.99,\n\t\t\t            \"item_base_price\": 10.99,\n\t\t\t            \"note\": null\n                    }\n                ],\n                \"order_id\": \"abc1234\",\n\t\t        \"grouporder_id\": 0,\n\t\t        \"order_guest_profile_id\": null,\n\t\t        \"receive_time\": \"2012-07-30T20:50:00.000Z\",\n\t\t        \"estimated_store_pickup_time\": null,\n\t\t        \"receive_later\": 1,\n\t\t        \"status\": \"submitted\",\n\t\t        \"order_type\": \"regular\",\n\t\t        \"order_receive_method\": \"future\",\n\t\t        \"sub_total\": 10.99,\n\t\t        \"tax_amount\": 0,\n\t\t        \"total\": 10.99,\n\t\t        \"note\": \"\",\n\t\t        \"delivery_fee\": 0,\n\t\t        \"points_earned\": 1,\n\t\t        \"giftcard_amount\": 0,\n\t\t        \"promocode_amount\": 0,\n\t\t        \"reward_amount\": 0,\n\t\t        \"total_reward\": 0,\n\t\t        \"reward_points\": 0,\n\t\t        \"ip_address\": \"123.123.123.123\",\n\t\t        \"paid\": 0,\n\t\t        \"points_could_have_earned\": null,\n\t\t        \"platform\": \"ios\",\n\t\t        \"order_date\": \"2012-12-31T00:33:25.000Z\",\n\t\t        \"order_updated_at\": \"2012-12-31T00:33:26.000Z\",\n\t\t        \"deleted_at\": null,\n\t\t        \"tip_amount\": 0,\n\t\t        \"delivery_tax\": 0,\n                \"user\": {\n\t\t          \"date_of_birth\": \"1975-01-04\",\n\t\t          \"id\": 123456,\n\t\t          \"first_name\": \"John\",\n\t\t          \"last_name\": \"Doe\",\n\t\t          \"email\": \"johndoe@email.com\",\n\t\t          \"phone\": \"1234567890\",\n\t\t          \"sign_up_date\": \"2012-10-10T19:03:15.000Z\"\n\t\t        }\n            }\n        ]\n    }\n}"}],"_postman_id":"1d95d943-e3b5-4bca-ba3a-b8aad9ae40c4"},{"name":"get all orders for a user","id":"5e844818-8184-42c0-9c37-69b5a4487153","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>required | provided by UNOapp</p>\n","key":"api-token","type":"text","value":"123456abcdefg"}],"url":"/api/v1/orders/users/:user?page=1&limit=1","urlObject":{"path":["api","v1","orders","users",":user"],"query":[{"description":{"content":"<p>optional | defaults to 1</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>optional | defaults to 50 | max value = 100</p>\n","type":"text/plain"},"key":"limit","value":"1"}],"variable":[{"description":{"content":"<p>required | number |the user ID</p>\n","type":"text/plain"},"type":"string","value":"123456","key":"user"}]}},"response":[{"id":"4c638d0c-5f2a-4d09-b9dc-b08dbe7b868d","name":"get all orders for a user","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"api-token","type":"text","value":"{{api-token}}"}],"url":{"raw":"{{url}}/api/v1/orders/users/:user?page=1&limit=1","host":["{{url}}"],"path":["api","v1","orders","users",":user"],"query":[{"key":"page","value":"1","description":"optional | defaults to 1"},{"key":"limit","value":"1","description":"optional | defaults to 50 | max value = 100"}],"variable":[{"key":"user","value":"45984"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1173"},{"key":"ETag","value":"W/\"495-yc6xDs3d20Ay0Vesoa9k4XJZJWU\""},{"key":"Date","value":"Tue, 30 Jul 2019 23:05:57 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"api_ver\": \"1.0\",\n    \"msg\": \"orders found\",\n    \"payload\": {\n        \"total_orders\": 1,\n        \"total_pages\": 1,\n        \"page\": 1,\n        \"per_page\": 1,\n        \"orders\": [\n            {\n                \"order_items\": [\n\t\t          {\n\t\t            \"modifiers\": [\n\t\t              {\n\t\t                \"id\": 123456,\n\t\t                \"mod_sku\": \"sku1234\",\n\t\t                \"mod_category_sku\": \"sku1234\",\n\t\t                \"name\": \"super food\",\n\t\t                \"modifier_category\": \"food item\",\n\t\t                \"mod_qty\": 1,\n\t\t                \"price_per_mod\": 1.99,\n\t\t                \"included\": 0\n\t\t              }\n\t\t            ],\n\t\t            \"id\": 123456,\n\t\t            \"item_sku\": \"SKU123\",\n\t\t            \"category_sku\": \"SKU123\",\n\t\t            \"category\": \"Category\",\n\t\t            \"name\": \"Item Name\",\n\t\t            \"item_id\": 123,\n\t\t            \"item_qty\": 1,\n\t\t            \"item_price\": 10.99,\n\t\t            \"item_base_price\": 10.99,\n\t\t            \"note\": null\n\t\t          },\n\t\t          {\n\t\t            \"modifiers\": [\n\t\t              {\n\t\t                \"id\": 123456,\n\t\t                \"mod_sku\": \"sku1234\",\n\t\t                \"mod_category_sku\": \"sku1234\",\n\t\t                \"name\": \"super food\",\n\t\t                \"modifier_category\": \"food item\",\n\t\t                \"mod_qty\": 1,\n\t\t                \"price_per_mod\": 1.99,\n\t\t                \"included\": 0\n\t\t              }\n\t\t            ],\n\t\t            \"id\": 123456,\n\t\t            \"item_sku\": \"SKU123\",\n\t\t            \"category_sku\": \"SKU123\",\n\t\t            \"category\": \"Category\",\n\t\t            \"name\": \"Item Name\",\n\t\t            \"item_id\": 123,\n\t\t            \"item_qty\": 1,\n\t\t            \"item_price\": 10.99,\n\t\t            \"item_base_price\": 10.99,\n\t\t            \"note\": null\n\t\t          }\n\t\t        ],\n                \"order_id\": \"abc1234\",\n\t\t        \"grouporder_id\": 0,\n\t\t        \"order_guest_profile_id\": null,\n\t\t        \"receive_time\": \"2012-07-30T20:50:00.000Z\",\n\t\t        \"estimated_store_pickup_time\": null,\n\t\t        \"receive_later\": 1,\n\t\t        \"status\": \"submitted\",\n\t\t        \"order_type\": \"regular\",\n\t\t        \"order_receive_method\": \"future\",\n\t\t        \"sub_total\": 10.99,\n\t\t        \"tax_amount\": 0,\n\t\t        \"total\": 10.99,\n\t\t        \"note\": \"\",\n\t\t        \"delivery_fee\": 0,\n\t\t        \"points_earned\": 1,\n\t\t        \"giftcard_amount\": 0,\n\t\t        \"promocode_amount\": 0,\n\t\t        \"reward_amount\": 0,\n\t\t        \"total_reward\": 0,\n\t\t        \"reward_points\": 0,\n\t\t        \"ip_address\": \"123.123.123.123\",\n\t\t        \"paid\": 0,\n\t\t        \"points_could_have_earned\": null,\n\t\t        \"platform\": \"ios\",\n\t\t        \"order_date\": \"2012-12-31T00:33:25.000Z\",\n\t\t        \"order_updated_at\": \"2012-12-31T00:33:26.000Z\",\n\t\t        \"deleted_at\": null,\n\t\t        \"tip_amount\": 0,\n\t\t        \"delivery_tax\": 0,\n\t\t        \"user\": {\n\t\t          \"date_of_birth\": \"1975-01-04\",\n\t\t          \"id\": 123456,\n\t\t          \"first_name\": \"John\",\n\t\t          \"last_name\": \"Doe\",\n\t\t          \"email\": \"johndoe@email.com\",\n\t\t          \"phone\": \"1234567890\",\n\t\t          \"sign_up_date\": \"2012-10-10T19:03:15.000Z\"\n\t\t        }\n            }\n        ]\n    }\n}"}],"_postman_id":"5e844818-8184-42c0-9c37-69b5a4487153"}],"id":"c58d62e5-857f-4257-8681-bb45951bdd9e","description":"<p>Get Order details and filter by locations and users.</p>\n","event":[{"listen":"prerequest","script":{"id":"36a4e552-8f71-46e6-bb75-1465b6b5b3f1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1f62d438-463a-4853-836c-c2c3bf250cab","type":"text/javascript","exec":[""]}}],"_postman_id":"c58d62e5-857f-4257-8681-bb45951bdd9e"}],"event":[{"listen":"prerequest","script":{"id":"4659320f-8562-44e8-acdb-b4537b84b2b5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b81d2d83-0d18-46be-9525-9b437fad26f2","type":"text/javascript","exec":[""]}}]}