Palbase Commerce & Promotions · API
POST
/promotions/evaluateEvaluate applicable promotions against a cart or external order
Evaluate applicable promotions against a cart or external order
Called by your server, with the project's secret key.
curl
curl -X POST "https://<your-ref>.palbase.studio/promotions/evaluate" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{}'Responses
200Evaluate applicable promotions against a cart or external order
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation EvaluatePromotions of commerce's contract.