The CouponActor is used by a customer to claim a coupon. It is located in: /atg/commerce/.
custsvc/promotion/CouponActor
This actor has the claimCoupon actor-chain:
Parameter | Description |
|---|---|
| The coupon code that is being provided by the customer. |
Claim Customer’s Coupon Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
\"couponClaimCode\":\"TENSHIP\" }" "http://localhost:8280/rest/model/atg/
commerce/custsvc/promotion/CouponActor/claimCoupon"
