Promise Dates
Use the Promise API to get an estimated delivery date to display during conversion and checkout to reduce uncertainty that leads to cart abandonment and improve customer delivery satisfaction.
Overview
Get Promise Date
Account ID
Set to true, to indicate that the prediction should be done based on the current, not yet published, promise configuration
conservative- conservativebalanced- balancedaggressive- aggressive
The logistics courier to be used. Defaults to returning all configured couriers.
ISO 3166-1 alpha-3 code of destination country
Postal code of destination
Forces the forecasted delivery date to skip any warehouse calculation and generate a prediction if the parcel is shipped at the moment of the API call, if set to 'true'
falseSet to true, to indicate that the prediction should be done based on the current, not yet published, promise configuration
ISO 639-1 code of the language to use for localization
Locks the prediction for a specified request date as a ISO 8601 date and time in UTC format like 2022-06-10T06:42:00Z. Defaults now to the current time if omitted, which is required for production usage.
The courier service level mapped in your Promise configuration (for example: express delivery). Defaults to returning all courier service levels.
Tag to target prediction adjustment rule
The warehouse the delivery shipped from (input field: key). Defaults to the default warehouse for the destination.
Result Structure
Delivery Prediction Details
Sample Calls
Calculating Delivery Dates for Orders with Known Dispatch Date
Testing Your Promise Configuration
Last updated
Was this helpful?