You can use this API to fetch the incentives that are applied on a cart.

APISignature
getAppliedIncentiveCodesForCart

webService static Apttus_CPQApi.CPQ.GetAppliedIncentiveCodesForCartResponseDO getAppliedIncentiveCodesForCart(Apttus_CPQApi.CPQ.GetAppliedIncentiveCodesForCartRequestDO request)


Request Parameter
NameTypeDescription
requestApttus_CPQApi.CPQ.GetAppliedIncentiveCodesForCartRequestDOThe incentive code request data object


Request Data Object - Apttus_CPQApi.CPQ.GetAppliedIncentiveCodesForCartRequestDO
NameTypeDescription
CartIdIdThe ID of the cart from which you want to fetch the applied promotion


Data Object - Apttus_CPQApi.CPQ.SetIncentivesForCartResponseDO
NameTypeDescription
IncentiveCodes

List <IncentiveCodes>

The list of the incentives codes that are applied on the cart


Code Sample

The sample code below enables you to fetch the incentives applied on the cart.


Apttus_CPQApi.CPQ.GetAppliedIncentiveCodesForCartRequestDO request3 = new Apttus_CPQApi.CPQ.GetAppliedIncentiveCodesForCartRequestDO();
request3.CartId = configSO.Id;

Apttus_CPQApi.CPQ.GetAppliedIncentiveCodesForCartResponseDO result3 = Apttus_CPQApi.CPQWebService.getAppliedIncentiveCodesForCart(request3);
CODE