home

General

Adobe Sign ServicesAdvantage Platform AdministrationApprovals for Advantage PlatformApprovals for SalesforceBilling for Advantage PlatformBilling for SalesforceCLM for Advantage PlatformCLM for SalesforceContracts for SalesforceCollaborateComposer for Advantage PlatformComposer for SalesforceContractsConga for Google DocsConga Upgrade ProgramContract Intelligence (Standalone)Conga CopilotCPQ for Advantage PlatformCPQ for SalesforceDeal MaximizerDigital Commerce for Advantage PlatformDigital Commerce for SalesforceDiscovery AI for Advantage PlatformDiscovery AI for SalesforceDocusign ServiceseSignature Integration with Advantage PlatformGridInvoice GenerationMix FormsOrchestrateOrder Management for Advantage PlatformOrder Management for SalesforcePartner Commerce for Advantage PlatformPartner Commerce for SalesforceQuote GenerationSign for Advantage PlatformSign for SalesforceSmart SearchTest AuthorTurboEnginesX-Author for Contracts 1.0 (Classic)X-Author for ContractsX-Author for Contracts Advanced for Advantage PlatformX-Author for Contracts Advanced for SalesforceX-Author for ExcelX-Author for Migration Manager for Advantage PlatformX-Author for Migration ManagerRelease NotesGeneral
search
search
Adobe Sign ServicesAdvantage Platform AdministrationApprovals for Advantage PlatformApprovals for SalesforceBilling for Advantage PlatformBilling for SalesforceCLM for Advantage PlatformCLM for SalesforceContracts for SalesforceCollaborateComposer for Advantage PlatformComposer for SalesforceContractsConga for Google DocsConga Upgrade ProgramContract Intelligence (Standalone)Conga CopilotCPQ for Advantage PlatformCPQ for SalesforceDeal MaximizerDigital Commerce for Advantage PlatformDigital Commerce for SalesforceDiscovery AI for Advantage PlatformDiscovery AI for SalesforceDocusign ServiceseSignature Integration with Advantage PlatformGridInvoice GenerationMix FormsOrchestrateOrder Management for Advantage PlatformOrder Management for SalesforcePartner Commerce for Advantage PlatformPartner Commerce for SalesforceQuote GenerationSign for Advantage PlatformSign for SalesforceSmart SearchTest AuthorTurboEnginesX-Author for Contracts 1.0 (Classic)X-Author for ContractsX-Author for Contracts Advanced for Advantage PlatformX-Author for Contracts Advanced for SalesforceX-Author for ExcelX-Author for Migration Manager for Advantage PlatformX-Author for Migration ManagerRelease NotesGeneral

Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

search

General

chevron_left

General Contents

close
  • Features by Release

  • Conga Upgrade Program

  • chevron_right

    System Requirements and Supported Platforms Matrix

  • Managed Packages Dependency Matrix

  • Conga Applications in Salesforce Lightning

  • Salesforce Multi-Factor Authentication Support for Conga Commerce

  • chevron_right

    Conga Product Glossary

  • chevron_right

    Conga Upgrade Assistant

  • chevron_right

    Product Retirement Schedule

  • expand_more

    Developer Center

    • chevron_right

      Approvals for Salesforce REST APIs

    • chevron_right

      Billing for Salesforce REST APIs

    • chevron_right

      CLM for Salesforce REST APIs

    • chevron_right

      CPQ for Salesforce REST APIs

    • expand_more

      Digital Commerce for Salesforce REST APIs

      • chevron_right

        CPQ REST API Version 4

      • expand_more

        CPQ REST API Version 5

        • chevron_right

          Authentication

        • chevron_right

          Storefront

        • chevron_right

          Account

        • chevron_right

          PriceList

        • chevron_right

          Catalog

        • expand_more

          Carts

          • Get Active Cart

            get
          • Update Cart

            put
          • Delete Cart

            delete
          • Get Cart Rules

            get
          • Create Cart

            post
          • Clone Cart

            post
          • Abandon Cart

            post
          • Create Proposal

            post
          • Apply Promotion to Cart

            post
          • Remove Promotion from Cart

            delete
          • Price Cart

            post
        • chevron_right

          Cart Items

        • chevron_right

          Favorites

        • chevron_right

          Generic

        • chevron_right

          Order

        • chevron_right

          Quote

        • chevron_right

          Assets

        • chevron_right

          Collaboration Request

        • chevron_right

          User Views

    • chevron_right

      Discovery AI for Salesforce REST APIs

    • chevron_right

      Orchestrate REST APIs

    • chevron_right

      Partner Commerce for Salesforce REST APIs

    • chevron_right

      TurboEngines REST APIs

  1. General
  2. arrow_right
  3. Developer Center
  4. arrow_right
  5. Digital Commerce for Salesforce REST APIs
  6. arrow_right
  7. CPQ REST API Version 5

list_altShow Contents

chevron_left

General

Carts

chevron_right
download

Get Cart Rules

get
/carts/{cartId}/rules

The following request returns the rules associated with the cart after adding, updating, or removing cart items.

Request

Security: Basic Auth

Path Parameters

cartId
string
required

The reference to the cart or 'active' for the current active cart.

Example:
a1I3I000000e7GLUAY

Headers

x-account
string

The account value from header is taken as default account if passed as query parameter.

Example:
0011900000hnGsr
x-storefront
string
required

The name of the storefront used for the request.

Example:
ECommerce

Responses

200

OK

Body

id
string
Name
string
required
ConstraintRuleAction
array[object]
required
AppliedRuleInfo
array[object]
required
Message
string
required
TriggeringProductIds
string
required
ActionProductIds
string
required
SuggestedProductIds
string
required
Pending
boolean
required
MessageType
string
required
IsTargetOption
boolean
ConfigurationId
string
Auth
Username
:
Password
:
Parameters
:
:
:
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: '
Response Example
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
}
chevron_leftchevron_right
chevron_right

Footer Section

Explore


Conga.com
Legal
Feedback
Contact Support

Copyright © 2025 Conga Corporation • All Rights Reserved

Cookie Notice

We use cookies to improve your experience on our site. To find out more, read our cookie policy.