🔑 Yodel Track & Trace

The action is used to get the tracking information from Yodel.

🚧

Documentation

https://docs.google.com/document/d/1FWmqV5T6xz6VUrzBfudBvJHiAe0Tz3UJVhk98vYFMag/edit

Inputs

NameTypeDescription
Tracking NumberStringYodel tracking number
Client IDStringClient ID
Client SecretStringClient Secret

Outputs

NameTypeDescription
Tracking Found?BooleanWhether the tracking information was found
True / False
StatusStringTracking status
Status DescriptionStringDetailed description of the tracking status
Ship DateStringThe date of the shipment.
Format:
YYYY-MM-DDThh:mm:ss
Last Event DateStringThe date of the last tracking event.
Format:
YYYY-MM-DDThh:mm:ss
Tracking EventsListList of all the tracking events.
See the example below
Tracking DataObjectTracking Data

Sample Response
Activity History

{
  trackingEvents: [
    {
      scanDateTime: '2022-09-08T13:39:11.000Z',
      eventCode: 'ZR',
      eventDescription: 'Delivered - item posted',
      scanLocation: 'GATWICK HOME DELIVERY (YODEL)',
      statusGroupCode: 'DELV',
      geoCoordinates: [Object]
    },
    {
      scanDateTime: '2022-09-08T12:33:41.000Z',
      eventCode: 'ET',
      eventDescription: 'Driver En Route',
      scanLocation: 'GATWICK HOME DELIVERY (YODEL)',
      statusGroupCode: 'TR'
    },
    {
      scanDateTime: '2022-09-08T11:55:52.000Z',
      eventCode: 'HO',
      eventDescription: 'In Transit',
      scanLocation: 'GATWICK HOME DELIVERY (YODEL)',
      statusGroupCode: 'OUTDELV'
    },
    {
      scanDateTime: '2022-09-08T09:02:56.000Z',
      eventCode: 'A',
      eventDescription: 'Out for delivery',
      scanLocation: 'GATWICK HOME DELIVERY (YODEL)',
      statusGroupCode: 'OUTDELV'
    },
    {
      scanDateTime: '2022-09-07T22:28:26.000Z',
      eventCode: 'OA',
      eventDescription: 'In Transit',
      scanLocation: 'GATWICK HOME DELIVERY (YODEL)',
      statusGroupCode: 'TR'
    },
    {
      scanDateTime: '2022-09-07T05:29:00.000Z',
      eventCode: 'QI',
      eventDescription: 'Arrived At Depot',
      scanLocation: 'GATWICK SERVICE CENTRE (YODEL)',
      statusGroupCode: 'TR'
    },
    {
      scanDateTime: '2022-09-07T00:05:51.000Z',
      eventCode: 'QA',
      eventDescription: 'Sort - Loaded to trailer',
      scanLocation: 'WEDNESBURY HUB',
      statusGroupCode: 'TR'
    },
    {
      scanDateTime: '2022-09-07T00:02:30.000Z',
      eventCode: 'BH',
      eventDescription: 'At national hub (Wednesbury Hub)',
      scanLocation: 'WEDNESBURY HUB',
      statusGroupCode: 'TR'
    },
    {
      scanDateTime: '2022-09-05T23:00:00.000Z',
      eventCode: '1',
      eventDescription: 'Parcel data received awaiting coll.',
      scanLocation: 'LICHFIELD SERVICE CENTRE',
      statusGroupCode: 'COLL'
    }
  ],
  parcelAttributes: {
    requireProofOfDelivery: false,
    addressOnly: false,
    parcelId: '',
    instanceNumber: 1,
    estimatedDeliveryDate: '2022-09-07T23:00:00.000Z',
    delivered: true,
    collected: false,
    actualDeliveryDate: '2022-09-08T13:39:11.000Z',
    deliveryLocation: { latitude: 50., longitude: -0. },
    collectionLocation: { latitude: 52., longitude: -1. }
  },
  courierDetails: { name: '', contactNumber: '' }
}