Using the Web Cutoffs as Order Countdowns

The carrier service web cutoff for each delivery option is displayed at the end of the option's JSON result, e.g.

            "groupCodes": [
            "photoUrls": [],
            "telephoneNumber": null,
            "distance": {
                "unit": "m",
                "value": 0
            "description": null,
            "carrierServiceCode": "RMSECONDSTL",
            "long": null,
            "optionType": "HOME",
            "storeName": "",
            "shippingCharge": 3.00,
            "lat": null,
            "delivery": {
                "from": "2020-03-14T08:00:00.000Z",
                "to": "2020-03-16T17:00:59.999Z"
            "address": "",
            "carrierServiceName": "2nd Class Packet",
            "postcode": "",
            "fullName": "Royal Mail 2nd Class Packet",
            "collection": {
                "from": "2020-03-13T18:30:00.000Z",
                "to": "2020-03-13T19:30:59.999Z"
            "storeId": null,
            "logoUrl": null,
            "storeTimes": {},
            "carrierCode": "ROYALMAIL",
            "hasDisabledAccess": false,
            "bookingCode": "RMSECONDSTL/2020-03-13/*-*/*/*-*",
            "cutOffDateTime": "2020-03-13T18:00:00.000Z"

You can use this cutoff to create a countdown on your orders page. Therefore if, as in the above example, the returned options show a cutOffDateTime of 18:00 hours, you can use this in a simple calculation to display a countdown clock to consumers. For example, 18:00 hours - current time = 3 hours and 21 minutes (remaining to ensure next day delivery):


The display is of course dependent on how you design your front end.