In this tutorial, we’ll learn how to add functionality to the shopping cart checkout process that allows customers to choose a specific parcel delivery date and time window using the Delivery Choice API.
The following steps will be completed:
In this tutorial, we’ll learn how to add functionality to the shopping cart checkout process that allows customers to choose a specific parcel delivery date and time window using the Delivery Choice API.
In this step, we’ll call the the delivery dates service to retrieve a list of available dates for a parcel delivery based on the input parameters provided.
Input parameters required
The code above generates the following HTTP request:
The response contains
In this step, we’ll call the the delivery timeslots service to retrieve a list of available delivery time windows for a particular day of the week.
Input parameters required
The code above generates the following HTTP request:
The response contains