Delivery promises

When a customer wants to determine the delivery promise based on multiple rules, integration teams can choose to implement the "Delivery promises" functionality provided by Core-commerce.

Management module

In the management module multiple delivery promises can be added, for each delivery promise the following fields are present:

FieldDescription
NameUse as internal name
OrderPriority in which a delivery promise is returned. 1 = high, 99 = low
CountrySet country for delivery promise
Minimum daysMinimum number of days until delivery, in API used for filtering on 'daysUntilDelivery'
Maximum daysMaximum number of days until delivery, in API used for filtering on 'daysUntilDelivery'
Active onWhich weekday(s) is the delivery promise active
Custom FieldUsed for advanced filtering, like on 'box' or 'dangerous'
Active FromPeriod in which the delivery promise is active, together with 'Order' can be used to apply different promises during holidays.
Active ToSee active from
Delivery promises (tab)Set a delivery promise for the configured values per language
Cut-off time (tab)Set cut-off time, after this time the delivery promise configured on this tab will be used
AttributesList with key/values which can be used for advanced bespoke functionality

API usage

In the API LookupDeliveryPromise call you can get the best matched delivery promise based on:

  • DaysUntilDelivery: To filter on minimum / maximum days. When multiple products in cart, the last delivery date should be used to calculate this field
  • Locale: To get correct translation
  • customField: Filter on a specific customField

In the API LookupDeliveryPromises call you can get the best matched delivery promises based on:

  • DaysUntilDelivery: To filter on minimum / maximum days. When multiple products in cart, the last delivery date should be used to calculate this field
  • Locale: To get correct translation
  • customField: Filter on a specific customField

This can can be used to show more additional information or apply additional filtering in the front-end (for example 'Franco' costs)