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:
| Field | Description |
|---|---|
| Name | Use as internal name |
| Order | Priority in which a delivery promise is returned. 1 = high, 99 = low |
| Country | Set country for delivery promise |
| Minimum days | Minimum number of days until delivery, in API used for filtering on 'daysUntilDelivery' |
| Maximum days | Maximum number of days until delivery, in API used for filtering on 'daysUntilDelivery' |
| Active on | Which weekday(s) is the delivery promise active |
| Custom Field | Used for advanced filtering, like on 'box' or 'dangerous' |
| Active From | Period in which the delivery promise is active, together with 'Order' can be used to apply different promises during holidays. |
| Active To | See 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 |
| Attributes | List 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)
Updated 6 months ago