Commerce Engine is now in beta. We're working hard to make it better for you.
cURL
curl --request GET \ --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/carts/{id}/evaluate-promotions \ --header 'Authorization: Bearer <token>'
{ "message": "<string>", "success": true, "content": { "applicable_promotions": [ { "id": "<string>", "name": "<string>", "promotion_type": "discount", "estimated_discount": 123, "savings_message": "<string>" } ], "inapplicable_promotions": [ { "id": "<string>", "name": "<string>", "promotion_type": "discount", "reason": "<string>", "suggestion": "<string>" } ] } }
Evaluate applicable & inapplicable promotions based on the specified cart.
Access token
Cart Id
OK
Show child attributes
Was this page helpful?