The delivery window can be created based on the response data of the Checkout API. With the obtained timeframes the possible days and related (estimate) time of arrival of the products can be shown.
Use the customers address in the request to determine the possible timeframes for the given period. Avoid showing delivery dates and options that are not available.
2. Adding delivery options
By adding 'Options' (e.g. Evening, Sameday or Morning) to the Checkout API request, the delivery window can extend with delivery options. The API also check whether delivery ‘Options’ are available at the given customers address.
3. Specify the amount of PostNL-pickup
In the request of the Checkout API you can specify the number of PostNL pickup locations you want returned. This can be a value of 1-3 nearest PostNL pickup locations in the response. The API can be used to show the (nearest) pick up points based on the customer address or latitude/longitude coordinates combination.