Shipit DocumentationShipit Documentation
Home
API
Webhooks
Shipit Delivery Checkout
Shipit Return and Exchange
Shopify Delivery Checkout
  • English
  • Suomi
  • Svenska
  • Eesti
  • Dansk
  • Norsk
Home
API
Webhooks
Shipit Delivery Checkout
Shipit Return and Exchange
Shopify Delivery Checkout
  • English
  • Suomi
  • Svenska
  • Eesti
  • Dansk
  • Norsk
  • Webhooks

    • Webhooks
    • Event Payloads And Tracking Statuses

Event Payloads And Tracking Statuses

This reference shows example payloads for every outgoing webhook event Shipit currently supports.

Notes about the examples

  • The payloads below reflect the current emitted payload structure.
  • Some values can be null depending on the shipment or transaction.
  • Wallet credit and debit events currently do not include a top-level event field.

shipment.booked

{
  "event": "shipment.booked",
  "shipment": {
    "id": "01h2x4y6z8a9b0c1d2e3f4g5h6",
    "shipit_number": "SHP-2024-001234",
    "tracking_number": "1Z999AA10123456784",
    "tracking_number_2": null,
    "service_id": "ups_express",
    "carrier_code": "ups",
    "reference": "ORDER-12345",
    "external_id": "ext-abc-123",
    "price": "15.99",
    "currency": "EUR",
    "created_at": "2024-01-15T10:30:00+00:00"
  },
  "sender": {
    "name": "Acme Corp",
    "email": "[email protected]",
    "phone": "+358401234567",
    "street": "Warehouse Street 10",
    "postcode": "00100",
    "city": "Helsinki",
    "country": "FI"
  },
  "receiver": {
    "name": "John Doe",
    "email": "[email protected]",
    "phone": "+358409876543",
    "street": "Customer Road 5",
    "postcode": "00200",
    "city": "Espoo",
    "country": "FI"
  }
}

shipment.failed

{
  "event": "shipment.failed",
  "error_message": "Recipient address could not be validated",
  "shipment_data": {
    "serviceId": "dhl_express",
    "reference": "ORDER-12346",
    "externalId": "ext-abc-124",
    "sender": {
      "name": "Acme Corp"
    },
    "receiver": {
      "name": "John Doe"
    }
  }
}

shipment.tracking_event_updated

{
  "event": "shipment.tracking_event_updated",
  "shipment": {
    "id": "01h2x4y6z8a9b0c1d2e3f4g5h6",
    "shipit_number": "SHP-2024-001234",
    "tracking_number": "1Z999AA10123456784",
    "tracking_number_2": null,
    "service_id": "ups_express",
    "carrier_code": "ups",
    "reference": "ORDER-12345",
    "external_id": "ext-abc-123"
  },
  "tracking_event": {
    "id": "01hxtrackingevent1234567890",
    "status": "DELIVERED",
    "shipment_tracking_number": "1Z999AA10123456784",
    "parcel_tracking_number": "1Z999AA10123456784",
    "return_tracking_number": null,
    "description": {
      "en": "Shipment delivered"
    },
    "information": null,
    "instruction": null,
    "location": {
      "city": "Helsinki",
      "country": "FI"
    },
    "metadata": {
      "carrier_event_code": "DELIVERED"
    },
    "happened_at": "2024-01-15T10:30:00+00:00",
    "created_at": "2024-01-15T10:30:00+00:00",
    "updated_at": "2024-01-15T10:35:00+00:00"
  }
}

pending_shipment.created

{
  "event": "pending_shipment.created",
  "pending_shipment": {
    "id": "01h2x4y6z8a9b0c1d2e3f4g5h6",
    "external_id": "pending-ext-123",
    "status": "pending",
    "source": "api",
    "request": {
      "receiver": {
        "name": "Jane Smith",
        "email": "[email protected]"
      },
      "parcels": [
        {
          "weight": 2.5,
          "length": 30,
          "width": 20,
          "height": 10
        }
      ]
    },
    "created_at": "2024-01-15T10:00:00+00:00"
  }
}

pending_shipment.completed

{
  "event": "pending_shipment.completed",
  "pending_shipment": {
    "id": "01h2x4y6z8a9b0c1d2e3f4g5h6",
    "external_id": "pending-ext-123",
    "status": "completed",
    "source": "api",
    "request": {
      "receiver": {
        "name": "Jane Smith",
        "email": "[email protected]"
      },
      "parcels": [
        {
          "weight": 2.5,
          "length": 30,
          "width": 20,
          "height": 10
        }
      ]
    },
    "created_at": "2024-01-15T10:00:00+00:00",
    "updated_at": "2024-01-15T10:30:00+00:00"
  }
}

wallet.credited

{
  "transaction_id": "01h2x4y6z8a9b0c1d2e3f4g5h6",
  "amount": "100.00",
  "vat": "24.00",
  "vat_percent": "24",
  "comment": "Account top-up",
  "created_at": "2024-01-15T10:00:00+00:00",
  "user_id": "12345"
}

wallet.debited

{
  "transaction_id": "01h2x4y6z8a9b0c1d2e3f4g5h6",
  "amount": "-15.99",
  "vat": "-3.84",
  "vat_percent": "24",
  "comment": "Payment for shipment SHP-2024-001234",
  "shipment_id": "01h2x4y6z8a9b0c1d2e3f4g5h7",
  "created_at": "2024-01-15T10:30:00+00:00",
  "user_id": "12345"
}

wallet.low_balance

{
  "event": "wallet.low_balance",
  "wallet": {
    "user_id": "01h2x4y6z8a9b0c1d2e3f4g5h6",
    "current_balance": 500,
    "threshold": 1000,
    "balance_below_threshold": true,
    "difference": 500
  },
  "timestamp": "2024-01-15T11:00:00+00:00"
}

Tracking event status values

The tracking_event.status value in shipment.tracking_event_updated can be any of the following enum values:

StatusMeaning
ADVANCED_SHIPPING_NOTICECarrier has received advance notice before physical handoff.
AT_OFFICE_OF_EXCHANGEShipment reached an exchange or transfer office.
ATTEMPTED_DELIVERYCarrier attempted delivery.
AWAITING_DELIVERYShipment is waiting for final delivery.
AWAITING_DELIVERY_TIME_SELECTIONRecipient must choose a delivery time.
AWAITING_DISPATCHShipment is waiting to be dispatched.
CANCELLEDShipment or transport leg was cancelled.
CASH_ON_DELIVERYCash on delivery step is involved in the shipment flow.
COLLECTEDShipment has been collected.
CONFIRMEDCarrier confirmed the shipment or event.
CONSOLIDATEDShipment was consolidated with other freight.
DAMAGEDCarrier reported damage.
DECONSOLIDATEDShipment was separated from a consolidated flow.
DELAYEDShipment is delayed.
DELETEDShipment or event was deleted by the upstream source.
DELIVEREDShipment was delivered.
DELIVERY_CANCELLEDPlanned delivery was cancelled.
DELIVERY_IMPOSSIBLECarrier could not complete delivery.
DELIVERY_REFUSEDRecipient refused the delivery.
DELIVERY_TIME_SELECTEDRecipient selected a delivery time.
DISPATCHEDShipment was dispatched.
EN_ROUTEShipment is moving through the network.
EXCEPTIONCarrier reported an exception or irregularity.
EXTRA_SERVICEExtra service information was attached to the event.
IN_CUSTOMSShipment is in customs handling.
LOSTCarrier reported the shipment as lost.
NOTICE_OF_ARRIVALArrival notice was sent or generated.
OTHERCarrier event did not map to a more specific status.
OUT_FOR_DELIVERYShipment is out for delivery.
PARTIALLY_DELIVEREDOnly part of the shipment was delivered.
PICK_UP_CANCELLEDA pickup was cancelled.
RECIPIENT_CONTACTEDCarrier contacted the recipient.
REGISTEREDShipment was registered in the carrier system.
REROUTINGShipment is being rerouted.
RETURNEDShipment was returned.
RETURNINGShipment is on its way back to the sender.
SORTINGShipment is being sorted.
TESTTest status used by an upstream source.
UNCONFIRMEDEvent exists but is not yet confirmed.
UNKNOWNStatus is unknown.
UNSUCCESSFUL_DELIVERYDelivery failed.
UNSUCCESSFUL_DELIVERY_ATTEMPTDelivery attempt failed.
UNSUCCESSFUL_DISPATCHDispatch failed.
UNSUCCESSFUL_DISPATCH_ATTEMPTDispatch attempt failed.
Last Updated: 6/13/26, 7:25 AM
Contributors: Brian Faust
Prev
Webhooks