Detalles del pedido

Get Booking Details

GET https://api.pickerexpress.com/api/getBookingDetails

Este método consultará los detalles de un pedido. Se debe enviar en el parámetro bookingID el bookingNumericId que se obtiene al crear pedido.

Query Parameters

Name
Type
Description

bookingID

number

ID numérico del pedido

Headers

Name
Type
Description

content-language

string

en/es

Bearer Token

string

Api key.

{
    "statusCode": 200,
    "message": "Success",
    "data": {
        "bookingNumericId": 1234,
        "createdAt": "2020-02-17T19:13:04.886Z",
        "customerName": "cliente cliente",
        "customerMobile": "+593999999999",
        "statusText": "COMPLETED",
        "currentStatus": 5,
        "orderAmount": 0,
        "deliveryFee": 2.2,
        "pickupCoordinates": {
            "coordinates": [
                -79.8517301,
                -2.168945
            ],
            "type": "Point"
        },
        "deliveryCoordinates": {
            "coordinates": [
                -79.903208,
                -2.163133
            ],
            "type": "Point"
        },
        "driverEmail": "conductores@pickerexpress.com",
        "driverMobile": "+5939999999444",
        "driverName": "Conductor Prueba",
        "customerEmail": "cliente@cliente.com",
        "currentCoordinates": {
            "coordinates": [
                -79.9066651,
                -2.1508389
            ]
        },
        "arrivalTime": 0
    }
}

Last updated