A delivery leg event for a trackable item that relates to the status of a parcel post-allocation.
Delivery leg events can be used to update the status of a parcel when ready for collection in a store or at a pickup point.
Tracking event has been published successfully
Bad request.
The request failed validation due to missing required information in the parameters or the body of the request.
Error code: PS-0400.
Unauthorized.
The request did not provide the credentials required to authorize access to the API.
Error code: PS-0401.
Forbidden.
The API user is not authorized to proceed with the processing of the request.
Error code: PS-0403.
Unsupported media format.
The request failed due to an unsupported media type in the request.
Error code: PS-0415.
Internal Server Error.
The processing of the request failed due to an internal problem. The request needs to be retried.
Error code: PS-0500.
{- "trackingIdentifier": "REPLACE-WITH-YOUR-TRACKING-IDENTIFIER",
- "eventCode": "AWAITING_COLLECTION_FROM_PICKUP_POINT",
- "eventDate": "2019-08-24T14:15:22Z",
- "eventSource": "STORE",
- "eventTimeZone": "Europe/London",
- "eventLocation": {
- "location": {
- "latitude": 51.52325226913702,
- "longitude": -0.1146692876584629,
- "what3words": "lowest.homes.calm",
- "name": "Warehouse 11"
}, - "address": {
- "addressLine1": "200 Grays Inn Road",
- "addressLine2": "string",
- "postCode": "WC1X 8XZ",
- "countryCode": "GBR",
- "companyName": "Metapack",
- "city": "London",
- "stateProvince": "London",
- "timeZone": "Europe/London"
}
}
}
{- "message": "This is an error message",
- "errorCode": "PS-XXXX",
- "systemMessage": "This is a system message related to the error",
- "traceId": "4d1544c7-1977-4c03-82fa-ecacd1837532",
- "timestamp": "2019-08-24T14:15:22Z"
}