Saltar al contenido principal
POST
/
webhook
/
test
Test Webhook
curl --request POST \
  --url https://api.ship.uniuni.com/prod/webhook/test \
  --header 'Content-Type: application/json' \
  --data '
{
  "event": "shipment.status_updated",
  "data": {
    "address": {
      "address1": "123 Main St",
      "address2": "Suite 100",
      "city": "Vancouver",
      "province": "BC",
      "postalCode": "V6B 1A1",
      "country": "CA"
    },
    "status": "DELIVERED",
    "statusCode": 203,
    "trackingId": "UR11170000000023641",
    "updatedAt": "2025-11-28T00:05:25.917Z",
    "proofOfDelivery": {
      "recipient": "John Doe",
      "deliveryDate": "2025-11-28",
      "deliveryTime": "00:05:25",
      "pods": [
        "https://delivery-service-api.uniuni.ca/images/abcd001",
        "https://delivery-service-api.uniuni.ca/images/abcd002"
      ]
    }
  }
}
'

Cuerpo

application/json
event
enum<string>

Webhook event type.

Opciones disponibles:
shipment.status_updated,
shipment.custom_event
version
string

Schema version of the webhook payload.

data
object

Respuesta

200

Webhook test result