The grantPromotion actor-chain adds a promotion to the order. This actor-chain has the following parameters:

Parameter

Description

promotionId

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"

Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices