Show bundle of deliveries

Show bundle representing all the data within the bundle such, deliveries statuses and bundle info

Resource

GET /v1/delivery/bundles/:bundle_id

Authorization

OAuth 2.0 bearer token with Delivery scope.

Query Paramaters

NameTypeDescription
business_idstringUnique identifier representing a Business.
(equivalent to company_id in response body)

Path Parameters

NameTypeDescription
bundle_idstringbundle id received when creating a bundle / deliveries

Response body

{
  "company_id": "IL-8736",
  "bundle_id": "B-385a8fcb0ca96249e04c1f94",
  "created_at": "2021-03-22T05:47:53.641719Z",
  "scheduled_at": "2021-03-22T11:00:00Z",
  "return_mode": "if_not_delivered",
  "deliveries": [
    {
      "id": "DR-d96957e390f344f599d25823980c166",
      "uuid": "DR-d96957e390f344f599d25823980c166",
      "bundle_id": "B-385a8fcb0cdb8a96249e04c1f94",
      "product_id": "4d403791-faaa-43b6-bef0-956393e4848",
      "display_identifier": "Returns",
      "status": "confirmed",
      "status_code": 20,
      "cannot_deliver_info": null,
      "courier": {
        "color": "Red",
        "license_plate": "65-334-66",
        "model": "Skoda",
        "name": "Moses",
        "phone": "053-1234567",
        "picture_url": "https://public.get.com/IMG/DRIVERS/31242.3.production.161113671.jpeg"
      },
      "pickup": {
        "lat": 32.108544,
        "lng": 34.838642,
        "address": "Habarzel 15 Tel Aviv",
        "note": "Near the white door"
      },
      "drop_off": {
        "lat": 32.108544,
        "lng": 34.838642,
        "address": "Habarzel 15 Tel Aviv",
        "note": "Returns"
      },
      "return_drop_off": {
        "lat": 0,
        "lng": 0,
        "address": "",
        "note": ""
      },
      "pickup_contact": {
        "name": "Omer",
        "phone_number": "032-4563344"
      },
      "drop_off_contact": {
        "name": "Omer",
        "phone_number": "032-4563344"
      },
      "return_contact": {
        "name": "Omer",
        "phone_number": "032-4563344"
      },
      "started_at": "2021-03-22T13:54:14.327903Z",
      "scheduled_at": "2021-03-22T11:00:00Z",
      "arrived_at": null,
      "picked_up_at": null,
      "ended_at": null,
      "deliver_from": null,
      "deliver_until": null,
      "parcels": [
        {
          "display_identifier": "Returns",
          "barcode": null,
          "barcodes": [
            
          ],
          "size_alias": "",
          "length": 0,
          "width": 0,
          "height": 0,
          "weight": 0,
          "items": null,
          "status": "initial",
          "cannot_deliver_info": null
        }
      ],
      "client_price": null,
      "delivery_price": 0,
      "vendor": {
        "name": ""
      },
      "route_identifier": null,
      "journey_id": 1946256,
      "created_at": "2021-03-22T13:54:14.316248Z",
      "age_verification_required": false,
      "order_id_representation": "WI9357316792QP",
      "order_from": "",
      "external_payment_confirmation": false,
      "processing_has_started": false,
      "return_delivery_uuid": null
    },
    {
      "id": "DR-63c1607eae8d45b99683946deb10bc87",
      "uuid": "DR-63c1607eae8d45b99683946deb10bc87",
      "bundle_id": "B-385a8fcb0cdb8a96249e04c1f94",
      "product_id": "4d403791-faaa-43b6-bef0-956393e4848",
      "display_identifier": "652922",
      "status": "cancelled",
      "status_code": 100,
      "cannot_deliver_info": {
        "description": "Journey cancellation by cc",
        "reason_type": ""
      },
      "courier": null,
      "pickup": {
        "lat": 32.108544,
        "lng": 34.838642,
        "address": "Habarzel 15 Tel Aviv",
        "note": "Near the white door"
      },
      "drop_off": {
        "lat": 32.063640,
        "lng": 34.769830,
        "address": "Herzel 1 Tel Aviv",
        "note": ""
      },
      "return_drop_off": {
        "lat": 32.108544,
        "lng": 34.838642,
        "address": "Habarzel 15 Tel Aviv",
        "note": "Near the white door"
      },
      "pickup_contact": {
        "name": "Omer",
        "phone_number": "032-4563344"
      },
      "drop_off_contact": {
        "name": "Aharon Shalev",
        "phone_number": "0523533179"
      },
      "return_contact": {
        "name": "Omer",
        "phone_number": "032-4563344"
      },
      "started_at": "2021-03-22T06:14:22.683804Z",
      "cancelled_at": "2021-03-22T11:16:27.260422Z",
      "scheduled_at": "2021-03-22T11:00:00Z",
      "arrived_at": null,
      "picked_up_at": null,
      "ended_at": null,
      "deliver_from": null,
      "deliver_until": null,
      "parcels": [
        {
          "display_identifier": "111531",
          "barcode": "111531",
          "barcodes": [
            "111531"
          ],
          "size_alias": "",
          "length": 0,
          "width": 0,
          "height": 0,
          "weight": 0,
          "items": [
            {
              "external_id": "",
              "name": "111531",
              "quantity": 1,
              "price": 0,
              "vat_rate": 0,
              "exemplars": null,
              "status": "cancelled",
              "cannot_deliver_info": null
            }
          ],
          "status": "cancelled",
          "cannot_deliver_info": null,
          "external_identifier": ""
        }
      ],
      "client_price": null,
      "delivery_price": 0,
      "vendor": {
        "name": ""
      },
      "route_identifier": "Route 4",
      "external_identifier": "",
      "journey_id": 1946254,
      "created_at": "2021-03-22T05:57:06.543909Z",
      "age_verification_required": false,
      "order_id_representation": "AX1942840532ZQ",
      "order_from": "DeliveryApi-55efc3077c1a2864247bc6ce615eff31e443391fe8444c79c",
      "external_payment_confirmation": false,
      "processing_has_started": false,
      "return_delivery_uuid": null
    },
    {
      "id": "DR-3f6929375a2d4ff6857ab186b36d8792",
      "uuid": "DR-3f6929375a2d4ff6857ab186b36d8792",
      "bundle_id": "B-385a8fcb0cdb8a96249e04c1f94",
      "product_id": "4d403791-faaa-43b6-bef0-956393e4848",
      "display_identifier": "2_3685092098234",
      "status": "completed",
      "status_code": 70,
      "cannot_deliver_info": null,
      "courier": {
        "color": "Red",
        "license_plate": "65-334-66",
        "model": "Skoda",
        "name": "Moses",
        "phone": "053-1234567",
        "picture_url": "https://public.get.com/IMG/DRIVERS/31242.3.production.161113671.jpeg"
      },
      "pickup": {
        "lat": 32.108544,
        "lng": 34.838642,
        "address": "Habarzel 15 Tel Aviv",
        "note": "Near the white door"
      },
      "drop_off": {
        "lat": 32.0601561,
        "lng": 34.7952688,
        "address": "עמק איילון 3, תל אביב",
        "note": ""
      },
      "return_drop_off": {
        "lat": 32.108544,
        "lng": 34.838642,
        "address": "Habarzel 15 Tel Aviv",
        "note": "Near the white door"
      },
      "pickup_contact": {
        "name": "Omer",
        "phone_number": "032-4563344"
      },
      "drop_off_contact": {
        "name": "Juliette",
        "phone_number": "012653556"
      },
      "return_contact": {
        "name": "Omer",
        "phone_number": "032-4563344"
      },
      "verifications": [
        {
          "type": "recipient",
          "proved_at": "2021-03-22T13:00:35.438998Z",
          "proof": {
            "recipient_category": "other",
            "recipient_name": "Romeo",
            "verified_by": "31242"
          }
        }
      ],
      "started_at": "2021-03-22T06:14:22.903473Z",
      "scheduled_at": "2021-03-22T11:00:00Z",
      "arrived_at": "2021-03-22T10:55:22.028351Z",
      "picked_up_at": "2021-03-22T11:05:19.834806Z",
      "ended_at": "2021-03-22T13:00:35.520937Z",
      "deliver_from": null,
      "deliver_until": null,
      "parcels": [
        {
          "display_identifier": "111467",
          "barcode": "111467",
          "barcodes": [
            "111467"
          ],
          "size_alias": "",
          "length": 0,
          "width": 0,
          "height": 0,
          "weight": 0,
          "items": [
            {
              "external_id": "",
              "name": "111467",
              "quantity": 1,
              "price": 0,
              "vat_rate": 0,
              "exemplars": null,
              "status": "completed",
              "cannot_deliver_info": null
            }
          ],
          "status": "completed",
          "cannot_deliver_info": null,
          "external_identifier": ""
        }
      ],
      "client_price": null,
      "delivery_price": 0,
      "vendor": {
        "name": ""
      },
      "route_identifier": "Route 3",
      "external_identifier": "",
      "journey_id": 1946256,
      "created_at": "2021-03-22T05:56:32.799679Z",
      "age_verification_required": false,
      "order_id_representation": "GF3218080090BP",
      "order_from": "DeliveryApi-55efc3077c1a2864247bc6ce615eff31e443391fe8444c79c",
      "external_payment_confirmation": false,
      "processing_has_started": false,
      "return_delivery_uuid": null
    },
    {
      "id": "DR-2d410bc668c94076b0957daddd951802",
      "uuid": "DR-2d410bc668c94076b0957daddd951802",
      "bundle_id": "B-385a8fcb0cdb8a96249e04c1f94",
      "product_id": "4d403791-faaa-43b6-bef0-956393e4848",
      "display_identifier": "2_3685162254522",
      "status": "picked_up",
      "status_code": 40,
      "cannot_deliver_info": null,
      "courier": {
        "color": "Red",
        "license_plate": "65-334-66",
        "model": "Skoda",
        "name": "Moses",
        "phone": "053-1234567",
        "picture_url": "https://public.get.com/IMG/DRIVERS/31242.3.production.161113671.jpeg"
      },
      "pickup": {
        "lat": 32.108544,
        "lng": 34.838642,
        "address": "Habarzel 15 Tel Aviv",
        "note": "Near the white door"
      },
      "drop_off": {
        "lat": 32.082270,
        "lng": 34.794570,
        "address": "Namir Road 14 Tel Aviv",
        "note": "Call me before"
      },
      "return_drop_off": {
        "lat": 32.108544,
        "lng": 34.838642,
        "address": "Habarzel 15 Tel Aviv",
        "note": "Near the white door"
      },
      "pickup_contact": {
        "name": "Omer",
        "phone_number": "032-4563344"
      },
      "drop_off_contact": {
        "name": "Refael Zurich",
        "phone_number": "0359866788"
      },
      "return_contact": {
        "name": "Omer",
        "phone_number": "032-4563344"
      },
      "started_at": "2021-03-22T06:14:22.640835Z",
      "scheduled_at": "2021-03-22T11:00:00Z",
      "arrived_at": "2021-03-22T11:07:40.564245Z",
      "picked_up_at": "2021-03-22T11:18:33.924957Z",
      "ended_at": null,
      "deliver_from": null,
      "deliver_until": null,
      "parcels": [
        {
          "display_identifier": "111479",
          "barcode": "111479",
          "barcodes": [
            "111479"
          ],
          "size_alias": "",
          "length": 0,
          "width": 0,
          "height": 0,
          "weight": 0,
          "items": [
            {
              "external_id": "",
              "name": "111479",
              "quantity": 1,
              "price": 0,
              "vat_rate": 0,
              "exemplars": null,
              "status": "initial",
              "cannot_deliver_info": null
            }
          ],
          "status": "initial",
          "cannot_deliver_info": null,
          "external_identifier": ""
        }
      ],
      "client_price": null,
      "delivery_price": 0,
      "vendor": {
        "name": ""
      },
      "route_identifier": "Route 2",
      "external_identifier": "",
      "journey_id": 1946255,
      "created_at": "2021-03-22T05:56:39.803291Z",
      "age_verification_required": false,
      "order_id_representation": "MU2926586673AK",
      "order_from": "DeliveryApi-55efc3077c1a2864247bc6ce615eff31e443391fe8444c79c",
      "external_payment_confirmation": false,
      "processing_has_started": false,
      "return_delivery_uuid": null
    },
    {
      "id": "DR-3febf238a8764d2b91c9afdaa8b62",
      "uuid": "DR-3febf238a8764d2b91c9afdaa8b62",
      "bundle_id": "B-385a8fcb0cdb8a96249e04c1f94",
      "product_id": "4d403791-faaa-43b6-bef0-956393e4848",
      "display_identifier": "005370",
      "status": "at_drop_off",
      "status_code": 60,
      "cannot_deliver_info": null,
      "courier": {
        "color": "Red",
        "license_plate": "65-334-66",
        "model": "Skoda",
        "name": "Moses",
        "phone": "053-1234567",
        "picture_url": "https://public.get.com/IMG/DRIVERS/31242.3.production.161113671.jpeg"
      },
      "pickup": {
        "lat": 32.108544,
        "lng": 34.838642,
        "address": "Habarzel 15 Tel Aviv",
        "note": "Near the white door"
      },
      "drop_off": {
        "lat": 32.0827883,
        "lng": 34.7754146,
        "address": "kam 2 tel aviv",
        "note": ""
      },
      "return_drop_off": {
        "lat": 32.108544,
        "lng": 34.838642,
        "address": "Habarzel 15 Tel Aviv",
        "note": "Near the white door"
      },
      "pickup_contact": {
        "name": "Omer",
        "phone_number": "032-4563344"
      },
      "drop_off_contact": {
        "name": "Anna",
        "phone_number": "0501243489"
      },
      "return_contact": {
        "name": "Omer",
        "phone_number": "032-4563344"
      },
      "started_at": "2021-03-22T06:14:22.923246Z",
      "scheduled_at": "2021-03-22T11:00:00Z",
      "arrived_at": "2021-03-22T10:55:22.028385Z",
      "picked_up_at": "2021-03-22T11:05:19.834835Z",
      "ended_at": null,
      "deliver_from": null,
      "deliver_until": null,
      "parcels": [
        {
          "display_identifier": "111211",
          "barcode": "111211",
          "barcodes": [
            "111211"
          ],
          "size_alias": "",
          "length": 0,
          "width": 0,
          "height": 0,
          "weight": 0,
          "items": [
            {
              "external_id": "",
              "name": "111211",
              "quantity": 1,
              "price": 0,
              "vat_rate": 0,
              "exemplars": null,
              "status": "initial",
              "cannot_deliver_info": null
            }
          ],
          "status": "initial",
          "cannot_deliver_info": null,
          "external_identifier": ""
        }
      ],
      "client_price": null,
      "delivery_price": 0,
      "vendor": {
        "name": ""
      },
      "route_identifier": "Route 2",
      "external_identifier": "",
      "journey_id": 1946256,
      "created_at": "2021-03-22T05:56:17.249495Z",
      "age_verification_required": false,
      "order_id_representation": "OM7151881309PN",
      "order_from": "DeliveryApi-55efc3077c1a2864247bc6ce615eff31e443391fe8444c79c",
      "external_payment_confirmation": false,
      "processing_has_started": false,
      "return_delivery_uuid": null
    },
    {
      "id": "DR-8435ccf7826140d98787c10081b4de46",
      "uuid": "DR-8435ccf7826140d98787c10081b4de46",
      "bundle_id": "B-385a8fcb0cdb8a96249e04c1f94",
      "product_id": "4d403791-faaa-43b6-bef0-956393e4848",
      "display_identifier": "78563002",
      "status": "not_delivered",
      "status_code": 90,
      "cannot_deliver_info": {
        "description": "cannot reach client",
        "reason_id": 1,
        "reason_type": "cannot_reach_client"
      },
      "courier": {
        "color": "Red",
        "license_plate": "65-334-66",
        "model": "Skoda",
        "name": "Moses",
        "phone": "053-1234567",
        "picture_url": "https://public.get.com/IMG/DRIVERS/31242.3.production.161113671.jpeg"
      },
      "pickup": {
        "lat": 32.108544,
        "lng": 34.838642,
        "address": "Habarzel 15 Tel Aviv",
        "note": "Near the white door"
      },
      "drop_off": {
        "lat": 32.0730365,
        "lng": 34.780902,
        "address": "Metudela 8 tel aviv",
        "note": "My mom is waiting"
      },
      "return_drop_off": {
        "lat": 32.108544,
        "lng": 34.838642,
        "address": "Habarzel 15 Tel Aviv",
        "note": "Near the white door"
      },
      "pickup_contact": {
        "name": "Omer",
        "phone_number": "032-4563344"
      },
      "drop_off_contact": {
        "name": "Jordan",
        "phone_number": "16725678765"
      },
      "return_contact": {
        "name": "Omer",
        "phone_number": "032-4563344"
      },
      "started_at": "2021-03-22T06:14:22.916807Z",
      "scheduled_at": "2021-03-22T11:00:00Z",
      "arrived_at": "2021-03-22T10:55:22.028463Z",
      "picked_up_at": "2021-03-22T11:05:19.834878Z",
      "ended_at": "2021-03-22T13:54:14.235038Z",
      "deliver_from": null,
      "deliver_until": null,
      "parcels": [
        {
          "display_identifier": "111575",
          "barcode": "111575",
          "barcodes": [
            "111575"
          ],
          "size_alias": "",
          "length": 0,
          "width": 0,
          "height": 0,
          "weight": 0,
          "items": [
            {
              "external_id": "",
              "name": "111575",
              "quantity": 1,
              "price": 0,
              "vat_rate": 0,
              "exemplars": null,
              "status": "completed",
              "cannot_deliver_info": null
            }
          ],
          "status": "not_delivered",
          "cannot_deliver_info": null,
          "external_identifier": ""
        }
      ],
      "client_price": null,
      "delivery_price": 0,
      "vendor": {
        "name": ""
      },
      "route_identifier": "Route 3",
      "external_identifier": "",
      "journey_id": 1946256,
      "created_at": "2021-03-22T05:57:23.648671Z",
      "age_verification_required": false,
      "order_id_representation": "FU9044111592GR",
      "order_from": "DeliveryApi-55efc3077c1a2864247bc6ce615eff31e443391fe8444c79c",
      "external_payment_confirmation": false,
      "processing_has_started": false,
      "return_delivery_uuid": "DR-8435ccf7826140d98787c10081b4de46"
    },
    
  ],
  "display_identifier": "Gett Delivery",
  "process_type": "only_optimize"
}

Sandbox

Resource:

GET /v1/delivery_sandbox/bundles/:bundle_id

More info can be found here