/api/v3/webhooks

Submit a new webhook configuration. You can set 2 settings at most.

webhook notification example:

{
  "StatusName": "stored", // Current status of the order, the complete list of events at the tracking endpoint, are sent in camelCase.
  "TrackingId": "2139671481", // Identifier generated by 99minutos
  "InternalKey": "SOME_ID", // Identifier sent by the customer
  "Events": [ // List of events through which the shipment has transited in ascending order 
    {
      "StatusCode": "1002",
      "StatusName": "confirmed",
      "Data": {
        "comment": "NEW_ORDER_CONFIRMED", // Additional event information
        "evidence": [] // Evidence of transition, applies only to delivery events, failed delivery attempts and pickup.
      },
      "CreatedAt": "2023-01-02 23:55:39" // UTC Time
    },
    {
      "StatusCode": "2003",
      "StatusName": "collected",
      "Data": {
        "comment": "Recolectada por el veloz Don Veloz N/A 99m B 2eeb2a6",
        "evidence": []
      },
      "CreatedAt": "2023-01-03 20:12:43"
    },
    {
      "StatusCode": "3001",
      "StatusName": "stored",
      "Data": {
        "comment": "En estación MX5 por módulo de inducción",
        "evidence": []
      },
      "CreatedAt": "2023-01-03 22:20:02"
    },
    {
      "StatusCode": "3004",
      "StatusName": "onLinehaul",
      "Data": {
        "comment": "En camino a estación Tultitlán desde estación Pantaco por jhon.doe el número de orden 2139671481",
        "evidence": []
      },
      "CreatedAt": "2023-01-04 01:13:46"
    },
    {
      "StatusCode": "3001",
      "StatusName": "stored",
      "Data": {
        "comment": "En estación MX0 por módulo de inducción",
        "evidence": []
      },
      "CreatedAt": "2023-01-04 04:17:42"
    },
    {
      "StatusCode": "3002",
      "StatusName": "onContainer",
      "Data": {
        "comment": "Contenerizado en la estación MX0 en el contenedor VQA-319 en el finger F1",
        "evidence": []
      },
      "CreatedAt": "2023-01-04 06:28:12"
    },
    {
      "StatusCode": "3003",
      "StatusName": "chargedToVehicle",
      "Data": {
        "comment": "Subida al line haul del veloz Jhon Doe con las placas LA37321 en la estacion MX0 dentro del contenedor VQA-319",
        "evidence": []
      },
      "CreatedAt": "2023-01-05 05:13:24"
    },
    {
      "StatusCode": "3004",
      "StatusName": "onLinehaul",
      "Data": {
        "comment": "Despachado de la estación MX0 hacia la estación MCH2, en el line haul del veloz Jhon Doe con las placas LA37321 en el contenedor VQA-319",
        "evidence": []
      },
      "CreatedAt": "2023-01-05 06:31:29"
    },
    {
      "StatusCode": "3001",
      "StatusName": "stored",
      "Data": {
        "comment": "En estación final MCH2 por módulo de inducción",
        "evidence": []
      },
      "CreatedAt": "2023-01-05 16:37:06"
    },
    {
      "StatusCode": "4001",
      "StatusName": "onRoadToDelivery",
      "Data": {
        "comment": "Asignada a entrega en la estación  al veloz Jhon. Ruta: 49b91331-2be0-2fd4-9b25-1accc772f937",
        "evidence": []
      },
      "CreatedAt": "2023-01-05 16:01:40"
    },
    {
      "StatusCode": "4002",
      "StatusName": "delivered",
      "Data": {
        "comment": "Titular - Carlos Ramirez | <<CP>>",
        "evidence": [
          "https://copilot-image-proxy-qndxoltwga-uc.a.run.app/view/62b6fec1836a6321a5ca5a4a.jpeg", // url to the photo of the evidences
          "https://copilot-image-proxy-qndxoltwga-uc.a.run.app/view/63b1fec1b030b63f06db10a5.jpeg",
          "https://copilot-image-proxy-qndxoltwga-uc.a.run.app/view/62b1fab2b031b63d01da31b7.jpeg"
        ]
      },
      "CreatedAt": "2023-01-05 16:45:54"
    }
    // You can have n events until delivery or return.
  ]
}
Language
Credentials
Bearer
JWT
URL
Click Try It! to start a request and see the response here!