Footer Section
Explore

The following request returns the rules associated with the cart after adding, updating, or removing cart items.
The reference to the cart or 'active' for the current active cart.
The account value from header is taken as default account if passed as query parameter.
The name of the storefront used for the request.
OK
curl --request GET \--url https://documentation.conga.com/carts/cartId/rules \--header 'Accept: application/json' \--header 'Authorization: Basic 123' \--header 'x-account: ' \--header 'x-storefront: '
1{2"title": "success",3"status": 200,4"data": [5{6"ConstraintRuleAction": {7"RepeatInclusion": false,8"Sequence": 1,9"ProductScope": "Product",10"ProductId": "01t4R00000J5R6kQAF",11"Message": "{1} is included on the addition of {0}",12"MatchInPrimaryLines": true,13"MatchInOptions": false,14"MatchInCartOptions": false,15"MatchInAsset": false,16"EditCriteria": "<a href=\"/apex/Apttus_Config2__ConstraintRuleActionCriteriaEdit?id=a0z4R00000OWkyG\" target=\"_self\"><img src=\"/resource/Apttus_Config2__Button_EditCriteria\" alt=\"Edit Criteria\" border=\"0\"/></a>",17"AutoInclude": false,18"AutoExclude": false,19"ActionType": "Inclusion",20"ActionIntent": "Show Message",21"ActionDisposition": "Error",22"ConstraintRuleId": "a114R00000R6lQ8QAJ",23"SystemModstamp": "2020-02-28T11:37:18.000Z",24"LastModifiedById": "0054R00000AN9x4QAD",25"LastModifiedDate": "2020-02-28T11:37:18.000Z",26"CreatedById": "0050f000008nTccAAE",27"CreatedDate": "2020-02-08T01:53:21.000Z",28"Name": "Inclusion 1- Statement -1",29"IsDeleted": false,30"Id": "a0z4R00000OWkyGQAT"31},32"AppliedRuleInfo": {33"WasFinalized": false,34"SourceLineNumber": 1,35"PrimaryLineNumber": 1,36"NeedProcessing": false,37"MatchInLocation": false,38"IsSourceLineRequired": false,39"Invalid": false,40"HasCriteriaInCondition": false,41"ConstraintRuleId": "a114R00000R6lQ8QAJ",42"ConfigurationId": "a1R4R00000JJpDQUA1",43"SystemModstamp": "2020-03-02T20:51:28.000Z",44"LastModifiedById": "0050f000008nTccAAE",45"LastModifiedDate": "2020-03-02T20:51:28.000Z",46"CreatedById": "0050f000008nTccAAE",47"CreatedDate": "2020-03-02T20:51:28.000Z",48"Name": "a0h4R00000KfsS5",49"IsDeleted": false,50"Id": "a0h4R00000KfsS5QAJ"51},52"RequiredMin": 1,53"AllowedMax": 999999,54"ActionProductIds": "01t4R00000J5R6kQAF",55"TriggeringProductIds": "01t4R00000J5R6iQAF",56"TriggeringPrimaryNumbers": "1",57"TargetBundleNumber": 0,58"SuggestedProductIds": "01t4R00000J5R6kQAF",59"Pending": true,60"Message": "LA ABO SubBundle1 is included on the addition of LA ABO Bundle1",61"MessageType": "Error",62"IsTargetPrimaryLine": true,63"IsTargetOption": false,64"IsPrompt": false,65"Ignored": false,66"HideMessage": false,67"ConstraintRuleActionId": "a0z4R00000OWkyGQAT",68"ConfigurationId": "a1R4R00000JJpDQUA1",69"AutoExecuted": false,70"AppliedRuleInfoId": "a0h4R00000KfsS5QAJ",71"SystemModstamp": "2020-03-02T20:51:28.000Z",72"LastModifiedById": "0050f000008nTccAAE",73"LastModifiedDate": "2020-03-02T20:51:28.000Z",74"CreatedById": "0050f000008nTccAAE",75"CreatedDate": "2020-03-02T20:51:28.000Z",76"Name": "a0g4R00000FMOG5",77"IsDeleted": false,78"Id": "a0g4R00000FMOG5QAP"79}80]81}