The revokePromotion Web service invalidates a customer’s eligibility for a promotion using the customer’s profile ID and promotion ID.

Servlet Name

revokePromotion

Input Parameters

promotionId – The ID of the promotion to be granted to the customer.
profileId – The ID of the of the customer’s profile.
removeAllInstances
– If this is set to true and the promotion has more than one instance of the given promotion, all copies of the promotion are removed. Otherwise, only the first copy is removed.

Output

none

Web Service Class

atg.commerce.promotion.PromotionTools

Nucleus Component

/atg/commerce/promotion/PromotionTools

Method

revokePromotion(String pProfileId, String pPromotionId,
                        boolean pRemoveAllInstances)

Executes within a session

Yes

WSDL URL

http://hostname:port/commerce/promotion/revokePromotion?WSDL

Endpoint URL

http://hostname:port/commerce/promotion/revokePromotion/revokePromotion

Security FunctionalName

promotionManagement


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices