The unGrantPromotion actor-chain removes a promotion from the order. In Commerce Service Center, only agent-granted promotions can be removed by agents. This actor-chain has the following parameters:

Parameter

Description

promotionStateId

The ID of the state of promotion to be granted.

Remove Promotions Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d
"{ \"promotionStateId\": \"92\" }" "http://localhost:8080/rest/model/atg/commerce/
custsvc/promotion/PromotionWalletActor/unGrantPromotion"

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