delivery tracking

Attributes

EtaData Object

The main response object contains two main properties: fixedData and dynamicData.

FixedData Object

Contains static information about the order that does not change during delivery. null if isStaticDataRequired is false.

Child attributes

Order Object

Basic order details.

Child attributes

Customer Object

Details of the customer receiving the order.

Child attributes

Restaurant Object

Details of the pickup location.

Child attributes

Carrier Object

Details of the assigned delivery driver/carrier.

Child attributes

DynamicData Object

Contains dynamic, real-time information about the order's progress and the carrier's location.

Child attributes

OrderStatus Object

Contains various timestamps and the current status of the order.

Child attributes

CarrierLocation Object

The real-time geographical coordinates of the carrier.

Child attributes

DetailEta Object

A more detailed breakdown of the ETA calculation.

Child attributes

EtaDataPublic Object

{
    "fixedData": {
        "order": {
            "orderNumber": "your_order_number"
        },
        "customer": {
            "name": "John Doe",
            "address": "State Farm Arena, State Farm Drive, Atlanta, GA, USA",
            "latitude": 33.7574062,
            "longitude": -84.396233
        },
        "restaurant": {
            "name": "My Restaurant",
            "address": "5th Avenue, New York, NY, USA",
            "latitude": 40.7744123,
            "longitude": -73.9656103
        },
        "carrier": {
            "id": 321743,
            "name": "Alice Johnson",
            "phoneNumber": "+12101234567",
            "imagePath": "William_Martin.png"
        },
        "isExpired": false
    },
    "dynamicData": {
        "orderStatus": {
            "startTime": "2025-06-24T16:28:29.000Z",
            "pickedTime": "2025-06-24T16:28:33.000Z",
            "arrivedTime": null,
            "deliveryTime": null,
            "failedDeliveryTime": null,
            "status": "PICKED_UP"
        },
        "carrierLocation": {
            "latitude": 37.822334,
            "longitude": -81.224434
        },
        "estimatedTimeInMinutes": "12",
        "detailEta": {
            "estimatedTimeInMinutes": 12.0,
            "pickUpTime": 0.0,
            "travelDistance": 3745.3496704217405,
            "travelDistanceTime": 11.636290872102045,
            "deliveryTime": 0.0,
            "orderPosition": 1,
            "startedOrder": 0,
            "calprog": ""
        }
    }
}