v1
latestOpenAPI 3.0.12026-07-24501176.6 MBEvaluate Promotions
post/api_gateway/v1/promotions/evaluate
Headers
X-CAP-API-AUTH-ORG-IDstring required
Example:150007
X-CAP-DIRECT-REPLAYstring
Example:FALSE
Request body
Example request
{
"amount": "1000",
"customerId": 566881933,
"cartItems": [
{
"referenceId": "68df4539dd46cd232fb6fbd3",
"sku": "Sku#Fuel",
"amount": "60.000000",
"qty": "1.000000"
}
],
"categoryHierarchySentInPayload": true
}Response
Successful response