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