This webhook endpoint is designed to push updates about parcels handling events.
- Parcel Updates: Get notifications about changes in parcel status.
Webhook for parcel updates
Webhook to push parcel updates to any URL provided by the carrier. This endpoint allows carriers to receive real-time updates about parcels.
RMG_UK only: before the consignee collection code expires, carrier-gateway sends the last parcel update
again with shipmentStatus set to PARCEL_TO_BE_EXPIRED.
Webhook for parcel updates › Request Body
shipmentUidThe unique identifier of the parcel shipment in the GLS/NXT Platform
lockerUidThe unique identifier of the locker in the GLS/NXT Platform
carrierParcelIdThe identifier of the parcel in the carrier's system
carrierLockerIdThe identifier of the locker in the carrier's system
shipmentTypeThe type of shipment.
dimensionsStatusThe status of the parcel dimensions. The parcel API sends PARCEL_DIMENSIONS_EXCEEDED for a parcel that is too big; webhooks send PARCEL_DIMENSIONS_EXCEED.
shipmentStatusThe status of the shipment. LOCKED, UNLOCKED and CONSIGNEE_PAID are milestones in a parcel's events; they are never the parcel's shipmentStatus.
carrierNameThe name of the carrier
eventTimestampThe timestamp of the parcel update
compartmentIdThe identifier of the compartment assigned to the parcel
compartmentSizeThe size of the compartment assigned to the parcel
mdmLocationIdSpecific to certain carriers only. The MDM location identifier associated with the parcel locker
barcodeContentSpecific to certain carriers only. The barcode content associated with the parcel
accessCodesAccess codes for the parcel
consigneeThe details of the consignee.
allocationTypeThe allocation type of the shipment.
providerNameThe name of the locker network provider
providerLockerIdThe identifier of the locker in the provider's system
shipmentSignatureA Base64-encoded image representing the consignee's signature, captured upon parcel collection
requireEasyAccessWhether the parcel needs an accessible compartment. Absent when the platform did not say.
labelTypeLabel mode for the shipment. LABELLESS means no printed label is used and LABELED means a printed label is used.
referenceCodeReference code scanned by driver during pickup of the labelless parcel. This field is only relevant for LABELLESS shipments.
secondaryShipmentIdA secondary identifier for the shipment, separate from carrierParcelId.
lockStatusThe current provider lock state of the parcel, when known. LOCKED means the consignee cannot collect the parcel (e.g. a cash-on-delivery payment is still pending); UNLOCKED means it can be collected. Absent when the parcel carries no lock state.
codAmountThe cash-on-delivery amount to collect from the consignee, in the currency's minor units (e.g. cents). Absent for parcels without cash-on-delivery.
codCurrencyISO 4217 currency code for codAmount. Absent when codAmount is absent.
paymentTypeThe method the consignee paid a cash-on-delivery parcel with, as reported by the locker provider. The value set is country-specific: Slovenia (GLS_SI) is the only country live with cash-on-delivery today and reports CARD or FLIK, and the enum is extended as further countries are enabled. Absent for parcels without cash-on-delivery, before the payment is made, and when the provider reported no method or one outside the agreed set.
signatureThe Base64-encoded signature image. Deprecated, use shipmentSignature.imageBase64. Absent when there is no signature.
Webhook for parcel updates › Responses
Return a 200 status to indicate that the data was received successfully.