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

        • chevron_right

          Carts

        • chevron_right

          Cart Items

        • chevron_right

          Favorites

        • expand_more

          Generic

          • Describe Object Metadata

            get
          • Query

            post
          • Get Record(s)

            get
          • Create Record(s)

            post
          • Fetch Single Record

            get
          • Upsert Record(s)

            put
          • Delete Single Record

            delete
          • Delete Multiple Records

            post
        • 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

Generic

chevron_right
download

Query

post
/{object}/query

The query endpoint can be used to obtain complex result sets for the client application. When using the query endpoint, it is important to keep in mind the limitations of the underlying SOQL and SOSL platforms that power this API. In addition, performance can vary based on the complexity of the query request. Request body should be an object containing the key and value with the following fields as shown in example below.

Request

Security: Basic Auth

Path Parameters

object
string
required

The name of the storefront used for the request.

Example:
Apttus_Config2__Order__C

Headers

x-account
string

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

Example:
0011900000hnGsr
Content-Type
string
required

Content type of the request body.

Example:
application/json
x-storefront
string
required

The name of the storefront used for the request.

Example:
ECommerce

Body

KeyTypeDefaultDescription
pagePagination-Pagination Object representing the per page limit and desired page number.
sortOrderArray (Sort)-Array of sort objects to sort the result set.
cacheStrategy"performance", "freshness"freshnessDesired cache strategy.
conditionsArray (Condition)-Array of conditions to apply to the query.
expressionOperator"OR", "AND""AND"The expression used to combine conditions and filters.
filtersArray (Filter)-Array of filters to apply to the query.
joinsArray (Join)-Array of join objects to apply to the query.
lookupsArray (Lookup)-Array of lookup fields to populate on the result set.
childrenArray (Children)-Array of child records to populate on the result set.
groupByList (String)-Array of fields to group the result set by.
aggregatetrue / falsefalseWhen set to True, result returns only aggregate data.
aggregateFieldsArray (AggregateField)-List of fields to provide additional aggregate data.
searchStringString-Query string to search for records based on text input.
KeyTypeDefaultDescription
pageLimitNumber-The maximum number of records in the result set.
pageNumberNumber-The desired page number of the results.
KeyTypeDefaultDescription
fieldString-The desired field to sort the results by.
direction"ASC", "DESC""ASC"The direction to apply to the sorted field.
KeyTypeDefaultDescription
fieldString-The desired field to apply a condition to.
filterOperatorOperator-The operator to use for the condition (See operators list).
valueString / Number / Boolean-The expected value for the condition.
KeyTypeDefaultDescription
conditionsArray (Condition)-The conditions to apply within the filter.
expressionOperator"AND", "OR""AND"The expression used to combine the conditions.
filtersArray (Filter)-An array of child filters.
KeyTypeDefaultDescription
fromAttributeString-The key on the primary table used in the join (Commonly, Id).
toAttributeString-The foreign key on the joining table.
apiNameString-The fully qualified API name of the table to join.
conditionsArray (Condition)-An array of conditions to apply to the join.
filtersArray (Filter)-An array of filters to apply to the join.
expressionOperator"AND", "OR""AND"The expression used to combine conditions and filters.
KeyTypeDefaultDescription
fieldString-The field on the object containing the Id of the reference record.
lookupsArray (Lookup)-Array of nested lookups to apply to the reference result.
childrenArray (Children)-An array of child data to query on the reference record.
KeyTypeDefaultDescription
fieldString-The field on the object referencing the child records.
pagePagination-Pagination Object representing the per page limit and desired page number.
filtersArray (Filter)-Array of filters to apply to the query.
sortOrderArray (Sort)-Array of sort objects to sort the result set.
lookupsArray (Lookup)-Array of lookup fields to populate on the result set.
childrenArray (Children)-Array of child records to populate on the result set.
KeyTypeDefaultDescription
fieldString-The field to apply an aggregation to.
aggregateTypeAggregate Function-The aggregate function to use (See aggregate function list).
- Equal - LessEqual - Contains - EndsWith
- NotEqual - GreaterEqual - DoesNotContain - DoesNotEndWith
- GreaterThan - Like - BeginsWith - In
- LessThan - NotLike - DoesNotBeginWith - NotIn
- Null - On - LastXDays - NextXDays
- NotNull - Today
- SUM
- MIN
- MAX
- AVG
- COUNT
array of:
Example:
{"expressionOperator":"AND","view":"detail","parentKeys":[],"expand":true,"waitForExpansion":true,"cacheStrategy":"freshness","conditions":[{"field":"Active","filterOperator":"Equal","val":true,"value":true,"apiName":"Apttus_Config2__ProductAttributeRule__c"}],"filters":[{"conditions":[{"field":"ProductScope","filterOperator":"Equal","val":"All","value":"All","apiName":"Apttus_Config2__ProductAttributeRule__c"},{"field":"ProductScope","filterOperator":"In","val":["01t4R00000J5R6aQAF"],"value":"01t4R00000J5R6aQAF","apiName":"Apttus_Config2__ProductAttributeRule__c"}],"filters":null,"expressionOperator":"OR","apiName":"Apttus_Config2__ProductAttributeRule__c"}],"page":{"pageLimit":50,"pageNumber":1},"joins":[],"children":[{"field":"Apttus_Config2__ProductAttributeRuleActions__r","filters":[],"children":null,"lookups":null}],"aggregateFields":[]}

Responses

200

OK

Body

responses
/
200
Id
string
Name
string
Data
array[object]
Auth
Username
:
Password
:
Parameters
:
:
:
:
Body
1
{
2
"expressionOperator": "AND",
3
"view": "detail",
4
"parentKeys": [],
5
"expand": true,
6
"waitForExpansion": true,
7
"cacheStrategy": "freshness",
8
"conditions": [
9
{
10
"field": "Active",
11
"filterOperator": "Equal",
12
"val": true,
13
"value": true,
14
"apiName": "Apttus_Config2__ProductAttributeRule__c"
15
}
16
],
17
"filters": [
18
{
19
"conditions": [
20
{
21
"field": "ProductScope",
22
"filterOperator": "Equal",
23
"val": "All",
24
"value": "All",
25
"apiName": "Apttus_Config2__ProductAttributeRule__c"
26
},
27
{
28
"field": "ProductScope",
29
"filterOperator": "In",
30
"val": [
31
"01t4R00000J5R6aQAF"
32
],
33
"value": "01t4R00000J5R6aQAF",
34
"apiName": "Apttus_Config2__ProductAttributeRule__c"
35
}
36
],
37
"filters": null,
38
"expressionOperator": "OR",
39
"apiName": "Apttus_Config2__ProductAttributeRule__c"
40
}
41
],
42
"page": {
43
"pageLimit": 50,
44
"pageNumber": 1
45
},
46
"joins": [],
47
"children": [
48
{
49
"field": "Apttus_Config2__ProductAttributeRuleActions__r",
50
"filters": [],
51
"children": null,
52
"lookups": null
53
}
54
],
55
"aggregateFields": []
56
}
curl --request POST \
--url https://documentation.conga.com/object/query \
--header 'Accept: application/json' \
--header 'Authorization: Basic 123' \
--header 'Content-Type: application/json' \
--header 'x-account: ' \
--header 'x-storefront: ' \
--data '{
"expressionOperator": "AND",
"view": "detail",
"parentKeys": [],
"expand": true,
"waitForExpansion": true,
"cacheStrategy": "freshness",
"conditions": [
{
"field": "Active",
"filterOperator": "Equal",
"val": true,
"value": true,
"apiName": "Apttus_Config2__ProductAttributeRule__c"
}
],
"filters": [
{
"conditions": [
{
"field": "ProductScope",
"filterOperator": "Equal",
"val": "All",
"value": "All",
"apiName": "Apttus_Config2__ProductAttributeRule__c"
},
{
"field": "ProductScope",
"filterOperator": "In",
"val": [
"01t4R00000J5R6aQAF"
],
"value": "01t4R00000J5R6aQAF",
"apiName": "Apttus_Config2__ProductAttributeRule__c"
}
],
"filters": null,
"expressionOperator": "OR",
"apiName": "Apttus_Config2__ProductAttributeRule__c"
}
],
"page": {
"pageLimit": 50,
"pageNumber": 1
},
"joins": [],
"children": [
{
"field": "Apttus_Config2__ProductAttributeRuleActions__r",
"filters": [],
"children": null,
"lookups": null
}
],
"aggregateFields": []
}'
Response Example
1
{
2
"title": "success",
3
"status": 200,
4
"data": [
5
{
6
"ShowTabView": false,
7
"Version": 1,
8
"ExcludeFromSitemap": false,
9
"Uom": "Each",
10
"Icon": "<a href=\"/apex/Apttus_Config2__IconUploader?productId=01t1T000005BXnn\" target=\"_top\"><img src=\"/servlet/servlet.FileDownload?file=00P190000025drwEAA\" alt=\"Icon\" style=\"height:50px; width:50px;\" border=\"0\"/></a>",
11
"IconSize": "259x194",
12
"IconId": "00P190000025drwEAA",
13
"HasSearchAttributes": false,
14
"HasOptions": true,
15
"HasDefaults": false,
16
"HasAttributes": true,
17
"Customizable": true,
18
"ConfigurationType": "Bundle",
19
"IsArchived": false,
20
"IsDeleted": false,
21
"CurrencyIsoCode": "SEK",
22
"Family": "Hardware",
23
"SystemModstamp": "2019-06-19T05:20:00.000Z",
24
"LastModifiedById": "00550000000vtlpAAA",
25
"LastModifiedDate": "2019-06-19T05:20:00.000Z",
26
"CreatedById": "00550000000vtlpAAA",
27
"CreatedDate": "2019-05-08T11:12:53.000Z",
28
"IsActive": true,
29
"Description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent tempor elementum ex, sit amet ullamcorper lacus pellentesque sed. Praesent eget orci nunc. Praesent nisi ex, gravida ac semper a, suscipit vitae mi. Donec eu lacus a nunc tincidunt feugiat vitae pretium risus. Morbi eleifend lobortis condimentum. Nullam tincidunt ipsum nec est gravida, quis vehicula tellus vehicula. Aenean fringilla nisi id est volutpat, sit amet rhoncus sapien consectetur. Etiam vestibulum pharetra justo et blandit. Praesent metus lacus, sagittis vel tempus in, posuere eget justo. Donec et nisi sed sem scelerisque pellentesque sit amet id velit. Mauris lobortis augue fermentum vulputate viverra. Proin dictum mi cursus ante tempor feugiat. In vulputate aliquam leo ut suscipit. Mauris vel dui tincidunt, tincidunt lorem a, suscipit sem. Ut sit amet nisi elementum, lacinia purus eget, tristique orci. Nulla ut arcu lectus.",
30
"ProductCode": "CSS",
31
"Name": "Cloud Server Solution",
32
"Id": "01t1T000005BXnnQAG"
33
},
34
{
35
"ShowTabView": false,
36
"Version": 1,
37
"ExcludeFromSitemap": false,
38
"Uom": "Each",
39
"Icon": "<a href=\"/apex/Apttus_Config2__IconUploader?productId=01t1T000005BXpB\" target=\"_top\"><img src=\"/servlet/servlet.FileDownload?file=00P190000025dzlEAA\" alt=\"Icon\" style=\"height:50px; width:50px;\" border=\"0\"/></a>",
40
"IconId": "00P190000025dzlEAA",
41
"HasSearchAttributes": false,
42
"HasOptions": true,
43
"HasDefaults": false,
44
"HasAttributes": true,
45
"Customizable": false,
46
"ConfigurationType": "Bundle",
47
"IsArchived": false,
48
"IsDeleted": false,
49
"CurrencyIsoCode": "SEK",
50
"Family": "Hardware",
51
"SystemModstamp": "2019-11-21T06:42:07.000Z",
52
"LastModifiedById": "00550000000vtlpAAA",
53
"LastModifiedDate": "2019-11-21T06:42:07.000Z",
54
"CreatedById": "00550000000vtlpAAA",
55
"CreatedDate": "2019-05-08T11:12:53.000Z",
56
"IsActive": true,
57
"ProductCode": "CS",
58
"Name": "Cloud Servers",
59
"Id": "01t1T000005BXpBQAW"
60
}
61
]
62
}
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.