Skip to content

Events

Tujyane sends each event to your webhook and on the Shipment’s event stream. Each event carries the full Shipment object.

type Status after When
shipment.created AWAITING_CONFIRMATION You created it.
shipment.searching SEARCHING You confirmed or retried it.
shipment.assigned ASSIGNED A partner accepted.
shipment.partner_unassigned SEARCHING The partner gave it back or did not come. The search starts again.
shipment.partner_arrived_pickup ASSIGNED The partner reached the pickup.
shipment.picked_up PICKED_UP The partner collected the parcel.
shipment.partner_arriving PICKED_UP The partner is near the Recipient.
shipment.delivery_failed PICKED_UP The partner could not deliver it (failureReason). A return follows.
shipment.delivery_code_locked PICKED_UP The fifth wrong Delivery Code locked the Shipment.
shipment.delivered DELIVERED Delivered. deliveryConfirmedBy says who confirmed it.
shipment.returned RETURNED The parcel is back at the pickup.
shipment.no_partner_found NO_PARTNER_FOUND Nobody accepted within 20 minutes.
shipment.cancelled CANCELLED You or Tujyane cancelled it.
shipment.expired EXPIRED It was not confirmed by confirmBy.
shipment.not_received_reported DELIVERED You reported it as not received.

Tujyane can add event types. Answer 2xx to types you do not know, and ignore them.

The event stream also sends shipment.snapshot, partner.position and ping frames. They are not webhook events. See Live tracking.