UNPKG

@shareactor/shareactor-sdk

Version:
1,668 lines (1,667 loc) 44.3 kB
[ { "items": [], "earliest_collection_at": { "$date": 1496049616000 }, "_cls": "Delivery", "created": { "$date": 1496049555817 }, "service": "quiqup", "external_reference_id": "20170529-7dd12f4f", "_id": { "$oid": "592be793b738ff0013adf5cd" }, "quote": { "metadata": { "last_name": "Doe", "order_id": "592bde24b738ff0013adf5c7", "order_human_id": "Y8RDPJ", "first_name": "John" }, "transport_mode": "car", "earliest_collection_at": "2017-05-29T09:20:17Z", "quiqee_accepted_at": null, "state_updated_at": "2017-05-29T10:19:16.801+01:00", "created_at": "2017-05-29T10:19:16.801+01:00", "submitted_at": null, "billing_identifier": null, "state": "pending", "orders": [ { "items": [], "pickup": { "contact_name": "Test User", "item_quantity_count": 0, "id": "o-2007184", "notes": "", "contact_phone": "+470011223344", "location": { "coords": [ -0.2117389, 51.5071134 ], "address2": null, "postcode": "W11 4QF", "notes": null, "county": null, "partner_location_id": null, "town": "London", "address1": "Queensdale Road 11" }, "waypoint_type": "pickup" }, "dropoff": { "contact_name": "test User", "item_quantity_count": 0, "id": "o-9666455", "notes": "", "contact_phone": "07447158412", "location": { "coords": [ -0.195134, 51.491921 ], "address2": null, "postcode": "SW5 9NF", "notes": null, "county": null, "partner_location_id": null, "town": "London", "address1": "25C Trebovir Road" }, "waypoint_type": "dropoff" }, "partner_order_id": null } ], "estimated_costs": { "total_vat_inclusive_cost": "8.84", "fixed_cost": "5.2", "period_cost": "", "adjustment_cost": "0.0", "total_vat_exclusive_cost": "7.37", "kilometer_cost": "2.17", "vat_cost": "1.47", "waypoint_cost": "0.0" }, "kind": "partner_on_demand", "courier": null, "id": "20170529-7dd12f4f", "delivery_window_minutes": null, "known_costs": { "pickups_cost": "0", "service_fee_percent": "0", "total_cost": "8.84", "adjustment_cost": "0.0", "delivery_cost": "8.84", "subtotal_cost": "8.84", "surcharge_cost": "0", "service_fee": "0.0" }, "scheduled_for": null }, "status": "DONE", "tracking": { "geo": [ -1, -1 ], "eta_minutes": -1, "courier_avatar": "", "next_way_point": "unknown", "courier_name": "", "courier_phone": "" }, "pickup_time": { "$date": 1496047145000 }, "pickups": [ { "state": "London", "zip_code": "W11 4QF", "city": "London", "service_address_id": "ChIJD-mMgN0PdkgRQCtrt42ZVTU", "geo": [ 51.5071134, -0.2117389 ], "street_name": "Queensdale Road 11", "service": "google", "alias": "", "raw": { "geometry": { "viewport": { "northeast": { "lat": 51.5084623802915, "lng": -0.210389919708498 }, "southwest": { "lat": 51.5057644197085, "lng": -0.213087880291502 } }, "location": { "lat": 51.5071134, "lng": -0.2117389 }, "location_type": "ROOFTOP" }, "place_id": "ChIJD-mMgN0PdkgRQCtrt42ZVTU", "formatted_address": "11 Queensdale Rd, London W11 4QF, UK", "types": [ "street_address" ], "address_components": [ { "types": [ "street_number" ], "short_name": "11", "long_name": "11" }, { "types": [ "route" ], "short_name": "Queensdale Rd", "long_name": "Queensdale Road" }, { "types": [ "postal_town" ], "short_name": "London", "long_name": "London" }, { "types": [ "administrative_area_level_2", "political" ], "short_name": "Greater London", "long_name": "Greater London" }, { "types": [ "administrative_area_level_1", "political" ], "short_name": "England", "long_name": "England" }, { "types": [ "country", "political" ], "short_name": "GB", "long_name": "United Kingdom" }, { "types": [ "postal_code" ], "short_name": "W11 4QF", "long_name": "W11 4QF" } ], "partial_match": true }, "country": "United Kingdom" } ], "company": { "$oid": "586faf7445ed910006373513" }, "order": { "$oid": "592bde24b738ff0013adf5c7" }, "drop_offs": [ { "street_name":"Johanne Dybwads plass 1", "zip_code":"0161", "city":"Oslo", "country":"Norway", "geo":[ 59.9143583, 10.7342622 ], "raw":{ "address_components":[ { "types":[ "street_number" ], "long_name":"1", "short_name":"1" }, { "types":[ "route" ], "long_name":"Johanne Dybwads plass", "short_name":"Johanne Dybwads plass" }, { "types":[ "political", "sublocality", "sublocality_level_1" ], "long_name":"Sentrum", "short_name":"Sentrum" }, { "types":[ "postal_town" ], "long_name":"Oslo", "short_name":"Oslo" }, { "types":[ "administrative_area_level_2", "political" ], "long_name":"Oslo kommune", "short_name":"Oslo kommune" }, { "types":[ "administrative_area_level_1", "political" ], "long_name":"Oslo", "short_name":"Oslo" }, { "types":[ "country", "political" ], "long_name":"Norway", "short_name":"NO" }, { "types":[ "postal_code" ], "long_name":"0161", "short_name":"0161" } ], "place_id":"ChIJi85T731uQUYRadaFsHVZxU4", "partial_match":true, "types":[ "premise" ], "formatted_address":"Johanne Dybwads plass 1, 0161 Oslo, Norway", "geometry":{ "bounds":{ "southwest":{ "lng":10.7334951, "lat":59.91406189999999 }, "northeast":{ "lng":10.7350292, "lat":59.91465470000001 } }, "location_type":"ROOFTOP", "viewport":{ "southwest":{ "lng":10.7329131697085, "lat":59.91300931970849 }, "northeast":{ "lng":10.7356111302915, "lat":59.91570728029151 } }, "location":{ "lng":10.7342622, "lat":59.9143583 } } }, "alias":"", "service":"google", "service_address_id":"ChIJi85T731uQUYRadaFsHVZxU4" } ] }, { "items": [], "earliest_collection_at": { "$date": 1496049323000 }, "_cls": "Delivery", "created": { "$date": 1496049262981 }, "service": "quiqup", "external_reference_id": "20170529-6e193300", "_id": { "$oid": "592be66eb738ff0013adf5cc" }, "quote": { "metadata": { "last_name": "Doe", "order_id": "592bde24b738ff0013adf5c7", "order_human_id": "Y8RDPJ", "first_name": "John" }, "transport_mode": "car", "earliest_collection_at": "2017-05-29T09:15:24Z", "quiqee_accepted_at": null, "state_updated_at": "2017-05-29T10:14:24.019+01:00", "created_at": "2017-05-29T10:14:24.020+01:00", "submitted_at": null, "billing_identifier": null, "state": "pending", "orders": [ { "items": [], "pickup": { "contact_name": "Test User", "item_quantity_count": 0, "id": "o-9540257", "notes": "", "contact_phone": "+470011223344", "location": { "coords": [ -0.2117389, 51.50711339999999 ], "address2": null, "postcode": "W11 4QF", "notes": null, "county": null, "partner_location_id": null, "town": "London", "address1": "Queensdale Road 11" }, "waypoint_type": "pickup" }, "dropoff": { "contact_name": "test User", "item_quantity_count": 0, "id": "o-4011557", "notes": "", "contact_phone": "07447158412", "location": { "coords": [ -0.195134, 51.491921 ], "address2": null, "postcode": "SW5 9NF", "notes": null, "county": null, "partner_location_id": null, "town": "London", "address1": "25C Trebovir Road" }, "waypoint_type": "dropoff" }, "partner_order_id": null } ], "estimated_costs": { "total_vat_inclusive_cost": "8.84", "fixed_cost": "5.2", "period_cost": "", "adjustment_cost": "0.0", "total_vat_exclusive_cost": "7.37", "kilometer_cost": "2.17", "vat_cost": "1.47", "waypoint_cost": "0.0" }, "kind": "partner_on_demand", "courier": null, "id": "20170529-6e193300", "delivery_window_minutes": null, "known_costs": { "pickups_cost": "0", "service_fee_percent": "0", "total_cost": "8.84", "adjustment_cost": "0.0", "delivery_cost": "8.84", "subtotal_cost": "8.84", "surcharge_cost": "0", "service_fee": "0.0" }, "scheduled_for": null }, "status": "CREATED", "tracking": { "geo": [ -1, -1 ], "eta_minutes": -1, "courier_avatar": "", "next_way_point": "unknown", "courier_name": "", "courier_phone": "" }, "pickup_time": { "$date": 1496047145000 }, "pickups": [ { "state": "London", "zip_code": "W11 4QF", "city": "London", "service_address_id": "ChIJD-mMgN0PdkgRQCtrt42ZVTU", "geo": [ 51.50711339999999, -0.2117389 ], "street_name": "Queensdale Road 11", "service": "google", "alias": "", "raw": { "geometry": { "viewport": { "northeast": { "lat": 51.5084623802915, "lng": -0.210389919708498 }, "southwest": { "lat": 51.5057644197085, "lng": -0.2130878802915021 } }, "location": { "lat": 51.50711339999999, "lng": -0.2117389 }, "location_type": "ROOFTOP" }, "place_id": "ChIJD-mMgN0PdkgRQCtrt42ZVTU", "formatted_address": "11 Queensdale Rd, London W11 4QF, UK", "types": [ "street_address" ], "address_components": [ { "types": [ "street_number" ], "short_name": "11", "long_name": "11" }, { "types": [ "route" ], "short_name": "Queensdale Rd", "long_name": "Queensdale Road" }, { "types": [ "postal_town" ], "short_name": "London", "long_name": "London" }, { "types": [ "administrative_area_level_2", "political" ], "short_name": "Greater London", "long_name": "Greater London" }, { "types": [ "administrative_area_level_1", "political" ], "short_name": "England", "long_name": "England" }, { "types": [ "country", "political" ], "short_name": "GB", "long_name": "United Kingdom" }, { "types": [ "postal_code" ], "short_name": "W11 4QF", "long_name": "W11 4QF" } ], "partial_match": true }, "country": "United Kingdom" } ], "company": { "$oid": "586faf7445ed910006373513" }, "order": { "$oid": "592bde24b738ff0013adf5c7" }, "drop_offs": [ { "street_name":"Johanne Dybwads plass 1", "zip_code":"0161", "city":"Oslo", "country":"Norway", "geo":[ 59.9143583, 10.7342622 ], "raw":{ "address_components":[ { "types":[ "street_number" ], "long_name":"1", "short_name":"1" }, { "types":[ "route" ], "long_name":"Johanne Dybwads plass", "short_name":"Johanne Dybwads plass" }, { "types":[ "political", "sublocality", "sublocality_level_1" ], "long_name":"Sentrum", "short_name":"Sentrum" }, { "types":[ "postal_town" ], "long_name":"Oslo", "short_name":"Oslo" }, { "types":[ "administrative_area_level_2", "political" ], "long_name":"Oslo kommune", "short_name":"Oslo kommune" }, { "types":[ "administrative_area_level_1", "political" ], "long_name":"Oslo", "short_name":"Oslo" }, { "types":[ "country", "political" ], "long_name":"Norway", "short_name":"NO" }, { "types":[ "postal_code" ], "long_name":"0161", "short_name":"0161" } ], "place_id":"ChIJi85T731uQUYRadaFsHVZxU4", "partial_match":true, "types":[ "premise" ], "formatted_address":"Johanne Dybwads plass 1, 0161 Oslo, Norway", "geometry":{ "bounds":{ "southwest":{ "lng":10.7334951, "lat":59.91406189999999 }, "northeast":{ "lng":10.7350292, "lat":59.91465470000001 } }, "location_type":"ROOFTOP", "viewport":{ "southwest":{ "lng":10.7329131697085, "lat":59.91300931970849 }, "northeast":{ "lng":10.7356111302915, "lat":59.91570728029151 } }, "location":{ "lng":10.7342622, "lat":59.9143583 } } }, "alias":"", "service":"google", "service_address_id":"ChIJi85T731uQUYRadaFsHVZxU4" } ] }, { "items": [], "earliest_collection_at": { "$date": 1496048870000 }, "_cls": "Delivery", "created": { "$date": 1496048809576 }, "service": "quiqup", "external_reference_id": "20170529-32dff683", "_id": { "$oid": "592be4a9b738ff0013adf5cb" }, "quote": { "metadata": { "last_name": "Doe", "order_id": "592bde24b738ff0013adf5c7", "order_human_id": "Y8RDPJ", "first_name": "John" }, "transport_mode": "car", "earliest_collection_at": "2017-05-29T09:07:51Z", "quiqee_accepted_at": null, "state_updated_at": "2017-05-29T10:06:50.539+01:00", "created_at": "2017-05-29T10:06:50.539+01:00", "submitted_at": null, "billing_identifier": null, "state": "pending", "orders": [ { "items": [], "pickup": { "contact_name": "Test User", "item_quantity_count": 0, "id": "o-9215864", "notes": "", "contact_phone": "+470011223344", "location": { "coords": [ -0.2117389, 51.50711339999999 ], "address2": null, "postcode": "W11 4QF", "notes": null, "county": null, "partner_location_id": null, "town": "London", "address1": "Queensdale Road 11" }, "waypoint_type": "pickup" }, "dropoff": { "contact_name": "test User", "item_quantity_count": 0, "id": "o-3874450", "notes": "", "contact_phone": "07447158412", "location": { "coords": [ -0.195134, 51.491921 ], "address2": null, "postcode": "SW5 9NF", "notes": null, "county": null, "partner_location_id": null, "town": "London", "address1": "25C Trebovir Road" }, "waypoint_type": "dropoff" }, "partner_order_id": null } ], "estimated_costs": { "total_vat_inclusive_cost": "8.84", "fixed_cost": "5.2", "period_cost": "", "adjustment_cost": "0.0", "total_vat_exclusive_cost": "7.37", "kilometer_cost": "2.17", "vat_cost": "1.47", "waypoint_cost": "0.0" }, "kind": "partner_on_demand", "courier": null, "id": "20170529-32dff683", "delivery_window_minutes": null, "known_costs": { "pickups_cost": "0", "service_fee_percent": "0", "total_cost": "8.84", "adjustment_cost": "0.0", "delivery_cost": "8.84", "subtotal_cost": "8.84", "surcharge_cost": "0", "service_fee": "0.0" }, "scheduled_for": null }, "status": "CREATED", "tracking": { "geo": [ -1, -1 ], "eta_minutes": -1, "courier_avatar": "", "next_way_point": "unknown", "courier_name": "", "courier_phone": "" }, "pickup_time": { "$date": 1496047145000 }, "pickups": [ { "state": "London", "zip_code": "W11 4QF", "city": "London", "service_address_id": "ChIJD-mMgN0PdkgRQCtrt42ZVTU", "geo": [ 51.50711339999999, -0.2117389 ], "street_name": "Queensdale Road 11", "service": "google", "alias": "", "raw": { "geometry": { "viewport": { "northeast": { "lat": 51.5084623802915, "lng": -0.210389919708498 }, "southwest": { "lat": 51.5057644197085, "lng": -0.2130878802915021 } }, "location": { "lat": 51.50711339999999, "lng": -0.2117389 }, "location_type": "ROOFTOP" }, "place_id": "ChIJD-mMgN0PdkgRQCtrt42ZVTU", "formatted_address": "11 Queensdale Rd, London W11 4QF, UK", "types": [ "street_address" ], "address_components": [ { "types": [ "street_number" ], "short_name": "11", "long_name": "11" }, { "types": [ "route" ], "short_name": "Queensdale Rd", "long_name": "Queensdale Road" }, { "types": [ "postal_town" ], "short_name": "London", "long_name": "London" }, { "types": [ "administrative_area_level_2", "political" ], "short_name": "Greater London", "long_name": "Greater London" }, { "types": [ "administrative_area_level_1", "political" ], "short_name": "England", "long_name": "England" }, { "types": [ "country", "political" ], "short_name": "GB", "long_name": "United Kingdom" }, { "types": [ "postal_code" ], "short_name": "W11 4QF", "long_name": "W11 4QF" } ], "partial_match": true }, "country": "United Kingdom" } ], "company": { "$oid": "586faf7445ed910006373513" }, "order": { "$oid": "592bde24b738ff0013adf5c7" }, "drop_offs": [ { "street_name":"Johanne Dybwads plass 1", "zip_code":"0161", "city":"Oslo", "country":"Norway", "geo":[ 59.9143583, 10.7342622 ], "raw":{ "address_components":[ { "types":[ "street_number" ], "long_name":"1", "short_name":"1" }, { "types":[ "route" ], "long_name":"Johanne Dybwads plass", "short_name":"Johanne Dybwads plass" }, { "types":[ "political", "sublocality", "sublocality_level_1" ], "long_name":"Sentrum", "short_name":"Sentrum" }, { "types":[ "postal_town" ], "long_name":"Oslo", "short_name":"Oslo" }, { "types":[ "administrative_area_level_2", "political" ], "long_name":"Oslo kommune", "short_name":"Oslo kommune" }, { "types":[ "administrative_area_level_1", "political" ], "long_name":"Oslo", "short_name":"Oslo" }, { "types":[ "country", "political" ], "long_name":"Norway", "short_name":"NO" }, { "types":[ "postal_code" ], "long_name":"0161", "short_name":"0161" } ], "place_id":"ChIJi85T731uQUYRadaFsHVZxU4", "partial_match":true, "types":[ "premise" ], "formatted_address":"Johanne Dybwads plass 1, 0161 Oslo, Norway", "geometry":{ "bounds":{ "southwest":{ "lng":10.7334951, "lat":59.91406189999999 }, "northeast":{ "lng":10.7350292, "lat":59.91465470000001 } }, "location_type":"ROOFTOP", "viewport":{ "southwest":{ "lng":10.7329131697085, "lat":59.91300931970849 }, "northeast":{ "lng":10.7356111302915, "lat":59.91570728029151 } }, "location":{ "lng":10.7342622, "lat":59.9143583 } } }, "alias":"", "service":"google", "service_address_id":"ChIJi85T731uQUYRadaFsHVZxU4" } ] }, { "items": [], "earliest_collection_at": { "$date": 1496048677000 }, "_cls": "Delivery", "created": { "$date": 1496048616331 }, "service": "quiqup", "external_reference_id": "20170529-1f759185", "_id": { "$oid": "592be3e8b738ff0013adf5ca" }, "quote": { "metadata": { "last_name": "Doe", "order_id": "592bde24b738ff0013adf5c7", "order_human_id": "Y8RDPJ", "first_name": "John" }, "transport_mode": "car", "earliest_collection_at": "2017-05-29T09:04:37Z", "quiqee_accepted_at": null, "state_updated_at": "2017-05-29T10:03:37.291+01:00", "created_at": "2017-05-29T10:03:37.291+01:00", "submitted_at": null, "billing_identifier": null, "state": "pending", "orders": [ { "items": [], "pickup": { "contact_name": "Test User", "item_quantity_count": 0, "id": "o-0889348", "notes": "", "contact_phone": "+470011223344", "location": { "coords": [ -0.2117389, 51.50711339999999 ], "address2": null, "postcode": "W11 4QF", "notes": null, "county": null, "partner_location_id": null, "town": "London", "address1": "Queensdale Road 11" }, "waypoint_type": "pickup" }, "dropoff": { "contact_name": "test User", "item_quantity_count": 0, "id": "o-7522250", "notes": "", "contact_phone": "07447158412", "location": { "coords": [ -0.195134, 51.491921 ], "address2": null, "postcode": "SW5 9NF", "notes": null, "county": null, "partner_location_id": null, "town": "London", "address1": "25C Trebovir Road" }, "waypoint_type": "dropoff" }, "partner_order_id": null } ], "estimated_costs": { "total_vat_inclusive_cost": "8.84", "fixed_cost": "5.2", "period_cost": "", "adjustment_cost": "0.0", "total_vat_exclusive_cost": "7.37", "kilometer_cost": "2.17", "vat_cost": "1.47", "waypoint_cost": "0.0" }, "kind": "partner_on_demand", "courier": null, "id": "20170529-1f759185", "delivery_window_minutes": null, "known_costs": { "pickups_cost": "0", "service_fee_percent": "0", "total_cost": "8.84", "adjustment_cost": "0.0", "delivery_cost": "8.84", "subtotal_cost": "8.84", "surcharge_cost": "0", "service_fee": "0.0" }, "scheduled_for": null }, "status": "CREATED", "tracking": { "geo": [ -1, -1 ], "eta_minutes": -1, "courier_avatar": "", "next_way_point": "unknown", "courier_name": "", "courier_phone": "" }, "pickup_time": { "$date": 1496047145000 }, "pickups": [ { "state": "London", "zip_code": "W11 4QF", "city": "London", "service_address_id": "ChIJD-mMgN0PdkgRQCtrt42ZVTU", "geo": [ 51.50711339999999, -0.2117389 ], "street_name": "Queensdale Road 11", "service": "google", "alias": "", "raw": { "geometry": { "viewport": { "northeast": { "lat": 51.5084623802915, "lng": -0.210389919708498 }, "southwest": { "lat": 51.5057644197085, "lng": -0.2130878802915021 } }, "location": { "lat": 51.50711339999999, "lng": -0.2117389 }, "location_type": "ROOFTOP" }, "place_id": "ChIJD-mMgN0PdkgRQCtrt42ZVTU", "formatted_address": "11 Queensdale Rd, London W11 4QF, UK", "types": [ "street_address" ], "address_components": [ { "types": [ "street_number" ], "short_name": "11", "long_name": "11" }, { "types": [ "route" ], "short_name": "Queensdale Rd", "long_name": "Queensdale Road" }, { "types": [ "postal_town" ], "short_name": "London", "long_name": "London" }, { "types": [ "administrative_area_level_2", "political" ], "short_name": "Greater London", "long_name": "Greater London" }, { "types": [ "administrative_area_level_1", "political" ], "short_name": "England", "long_name": "England" }, { "types": [ "country", "political" ], "short_name": "GB", "long_name": "United Kingdom" }, { "types": [ "postal_code" ], "short_name": "W11 4QF", "long_name": "W11 4QF" } ], "partial_match": true }, "country": "United Kingdom" } ], "company": { "$oid": "586faf7445ed910006373513" }, "order": { "$oid": "592bde24b738ff0013adf5c7" }, "drop_offs": [ { "street_name":"Johanne Dybwads plass 1", "zip_code":"0161", "city":"Oslo", "country":"Norway", "geo":[ 59.9143583, 10.7342622 ], "raw":{ "address_components":[ { "types":[ "street_number" ], "long_name":"1", "short_name":"1" }, { "types":[ "route" ], "long_name":"Johanne Dybwads plass", "short_name":"Johanne Dybwads plass" }, { "types":[ "political", "sublocality", "sublocality_level_1" ], "long_name":"Sentrum", "short_name":"Sentrum" }, { "types":[ "postal_town" ], "long_name":"Oslo", "short_name":"Oslo" }, { "types":[ "administrative_area_level_2", "political" ], "long_name":"Oslo kommune", "short_name":"Oslo kommune" }, { "types":[ "administrative_area_level_1", "political" ], "long_name":"Oslo", "short_name":"Oslo" }, { "types":[ "country", "political" ], "long_name":"Norway", "short_name":"NO" }, { "types":[ "postal_code" ], "long_name":"0161", "short_name":"0161" } ], "place_id":"ChIJi85T731uQUYRadaFsHVZxU4", "partial_match":true, "types":[ "premise" ], "formatted_address":"Johanne Dybwads plass 1, 0161 Oslo, Norway", "geometry":{ "bounds":{ "southwest":{ "lng":10.7334951, "lat":59.91406189999999 }, "northeast":{ "lng":10.7350292, "lat":59.91465470000001 } }, "location_type":"ROOFTOP", "viewport":{ "southwest":{ "lng":10.7329131697085, "lat":59.91300931970849 }, "northeast":{ "lng":10.7356111302915, "lat":59.91570728029151 } }, "location":{ "lng":10.7342622, "lat":59.9143583 } } }, "alias":"", "service":"google", "service_address_id":"ChIJi85T731uQUYRadaFsHVZxU4" } ] }, { "items": [], "earliest_collection_at": { "$date": 1496047442000 }, "_cls": "Delivery", "created": { "$date": 1496047141486 }, "service": "quiqup", "external_reference_id": "20170529-d4ae8a0a", "_id": { "$oid": "592bde25b738ff0013adf5c9" }, "quote": { "metadata": { "last_name": "Doe", "order_id": "592bde24b738ff0013adf5c7", "order_human_id": "Y8RDPJ", "first_name": "John" }, "transport_mode": "car", "earliest_collection_at": "2017-05-29T08:44:03Z", "quiqee_accepted_at": null, "state_updated_at": "2017-05-29T09:39:02.525+01:00", "created_at": "2017-05-29T09:39:02.526+01:00", "submitted_at": null, "billing_identifier": null, "state": "pending", "orders": [ { "items": [], "pickup": { "contact_name": "Test User", "item_quantity_count": 0, "id": "o-9501531", "notes": "", "contact_phone": "+470011223344", "location": { "coords": [ -0.195134, 51.491921 ], "address2": null, "postcode": "SW5 9NF", "notes": null, "county": null, "partner_location_id": null, "town": "London", "address1": "25C Trebovir Road" }, "waypoint_type": "pickup" }, "dropoff": { "contact_name": "test User", "item_quantity_count": 0, "id": "o-0941402", "notes": "", "contact_phone": "07447158412", "location": { "coords": [ -0.2117389, 51.5071134 ], "address2": null, "postcode": "W11 4QF", "notes": null, "county": null, "partner_location_id": null, "town": "London", "address1": "Queensdale Road 11" }, "waypoint_type": "dropoff" }, "partner_order_id": null } ], "estimated_costs": { "total_vat_inclusive_cost": "8.84", "fixed_cost": "5.2", "period_cost": "", "adjustment_cost": "0.0", "total_vat_exclusive_cost": "7.37", "kilometer_cost": "2.17", "vat_cost": "1.47", "waypoint_cost": "0.0" }, "kind": "partner_on_demand", "courier": null, "id": "20170529-d4ae8a0a", "delivery_window_minutes": null, "known_costs": { "pickups_cost": "0", "service_fee_percent": "0", "total_cost": "8.84", "adjustment_cost": "0.0", "delivery_cost": "8.84", "subtotal_cost": "8.84", "surcharge_cost": "0", "service_fee": "0.0" }, "scheduled_for": null }, "status": "DONE", "tracking": { "geo": [ -1, -1 ], "eta_minutes": -1, "courier_avatar": "", "next_way_point": "unknown", "courier_name": "", "courier_phone": "" }, "pickup_time": { "$date": 1496047145000 }, "pickups": [ { "street_name":"Johanne Dybwads plass 1", "zip_code":"0161", "city":"Oslo", "country":"Norway", "geo":[ 59.9143583, 10.7342622 ], "raw":{ "address_components":[ { "types":[ "street_number" ], "long_name":"1", "short_name":"1" }, { "types":[ "route" ], "long_name":"Johanne Dybwads plass", "short_name":"Johanne Dybwads plass" }, { "types":[ "political", "sublocality", "sublocality_level_1" ], "long_name":"Sentrum", "short_name":"Sentrum" }, { "types":[ "postal_town" ], "long_name":"Oslo", "short_name":"Oslo" }, { "types":[ "administrative_area_level_2", "political" ], "long_name":"Oslo kommune", "short_name":"Oslo kommune" }, { "types":[ "administrative_area_level_1", "political" ], "long_name":"Oslo", "short_name":"Oslo" }, { "types":[ "country", "political" ], "long_name":"Norway", "short_name":"NO" }, { "types":[ "postal_code" ], "long_name":"0161", "short_name":"0161" } ], "place_id":"ChIJi85T731uQUYRadaFsHVZxU4", "partial_match":true, "types":[ "premise" ], "formatted_address":"Johanne Dybwads plass 1, 0161 Oslo, Norway", "geometry":{ "bounds":{ "southwest":{ "lng":10.7334951, "lat":59.91406189999999 }, "northeast":{ "lng":10.7350292, "lat":59.91465470000001 } }, "location_type":"ROOFTOP", "viewport":{ "southwest":{ "lng":10.7329131697085, "lat":59.91300931970849 }, "northeast":{ "lng":10.7356111302915, "lat":59.91570728029151 } }, "location":{ "lng":10.7342622, "lat":59.9143583 } } }, "alias":"", "service":"google", "service_address_id":"ChIJi85T731uQUYRadaFsHVZxU4" } ], "company": { "$oid": "586faf7445ed910006373513" }, "order": { "$oid": "592bde24b738ff0013adf5c7" }, "drop_offs": [ { "state": "London", "zip_code": "W11 4QF", "city": "London", "service_address_id": "ChIJD-mMgN0PdkgRQCtrt42ZVTU", "geo": [ 51.5071134, -0.2117389 ], "street_name": "Queensdale Road 11", "service": "google", "alias": "", "raw": { "geometry": { "viewport": { "northeast": { "lat": 51.5084623802915, "lng": -0.210389919708498 }, "southwest": { "lat": 51.5057644197085, "lng": -0.213087880291502 } }, "location": { "lat": 51.5071134, "lng": -0.2117389 }, "location_type": "ROOFTOP" }, "place_id": "ChIJD-mMgN0PdkgRQCtrt42ZVTU", "formatted_address": "11 Queensdale Rd, London W11 4QF, UK", "types": [ "street_address" ], "address_components": [ { "types": [ "street_number" ], "short_name": "11", "long_name": "11" }, { "types": [ "route" ], "short_name": "Queensdale Rd", "long_name": "Queensdale Road" }, { "types": [ "postal_town" ], "short_name": "London", "long_name": "London" }, { "types": [ "administrative_area_level_2", "political" ], "short_name": "Greater London", "long_name": "Greater London" }, { "types": [ "administrative_area_level_1", "political" ], "short_name": "England", "long_name": "England" }, { "types": [ "country", "political" ], "short_name": "GB", "long_name": "United Kingdom" }, { "types": [ "postal_code" ], "short_name": "W11 4QF", "long_name": "W11 4QF" } ], "partial_match": true }, "country": "United Kingdom" } ] } ]