post https://{host}/v1/promotions/evaluate
Evaluates and returns the promotions applicable on the cart
The Evaluate Promotions API returns the list of promotions applicable to a transaction by evaluating the current cart and customer data.
Headers
Header Name | Type | Description |
---|---|---|
X-CAP-API-ATTRIBUTION-TILL-CODE | string | This header maps the provided till code to its corresponding till identifier. The API uses this identifier to fetch the correct organizational hierarchy and return only those cart promotions applicable to the transactions at that specific till and its associated store hierarchy. |