The grantPromotion actor-chain adds a promotion to the order. This actor-chain has the following parameters:
Parameter | Description |
|---|---|
| The ID of the promotion to be granted. |
Add Promotions Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d
"{ \"promotionId\": \"promoto20010\" }" "http://localhost:8080/rest/model/atg/
commerce/custsvc/promotion/PromotionWalletActor/unGrantPromotion"
