POST
/
delivery
curl --request POST \
  --url https://api.getjusto.com/api/v1/delivery \
  --header 'Content-Type: application/json' \
  --data '{
  "deliveryId": "<string>"
}'
{
  "status": "<string>",
  "data": {
    "_id": "<string>",
    "price": 123,
    "status": "canceled",
    "placeName": "<string>",
    "isCash": "<string>",
    "fromLocation": {
      "address": "<string>",
      "addressSecondary": "<string>",
      "storeName": "<string>",
      "lat": -33.4489,
      "lng": -70.6693
    },
    "toLocation": {
      "address": "<string>",
      "addressSecondary": "<string>",
      "storeName": "<string>",
      "lat": -33.4489,
      "lng": -70.6693
    },
    "receiveProofImage": "<string>",
    "deliverProofImage": "<string>",
    "driverPassword": "<string>",
    "activatesAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "forDate": "2023-11-07T05:31:56Z",
    "completedAt": "2023-11-07T05:31:56Z",
    "canceledAt": "2023-11-07T05:31:56Z",
    "nearStoreAt": "2023-11-07T05:31:56Z",
    "nearClientAt": "2023-11-07T05:31:56Z",
    "deliveryExpectedAt": "2023-11-07T05:31:56Z",
    "driverReceivedAt": "2023-11-07T05:31:56Z",
    "trackingURL": "<string>",
    "deliveryInformation": "<string>",
    "driverInformation": {
      "code": "<string>",
      "type": "<string>",
      "phone": "<string>",
      "name": "<string>",
      "categoryId": "<string>",
      "image": "<string>"
    },
    "instructions": "<string>",
    "specialCode": "<string>",
    "externalId": "<string>",
    "orderId": "<string>",
    "uncompletedReason": "<string>"
  }
}

Descripción

Este método posibilita la consulta de la información y el estado actual de un despacho (Delivery) específico. Esta función es esencial para el seguimiento y la gestión de entregas, ya que permite que tanto el usuario como el sistema obtengan los datos actualizados sobre cada proceso de despacho.

Body

application/json

Response

200
application/json

Operacion exitosa

The response is of type object.