Additional configuration APIs
Summarize
Summary of Additional Configuration APIs
The ServiceNow CPQ Additional Configuration APIs allow customers to retrieve or delete existing configurations, enhancing the functionality provided by runtime APIs. These APIs are essential for managing configuration details and supporting end-to-end workflows, including creation, updates, and reconfiguration of products within ServiceNow CPQ.
Show less
Key Features
- Get Configuration: Use a GET request to retrieve the entire configuration from ServiceNow CPQ. This includes all product data and related details.
- Delete Configuration: Issue a DELETE request to permanently remove a configuration from ServiceNow CPQ. Note that this action does not affect any persisted data in other systems.
- Integration: Work in conjunction with other APIs like create, update, reconfigure, and BOM APIs to facilitate comprehensive configuration management.
Key Outcomes
By utilizing these APIs, ServiceNow customers can effectively manage their product configurations, ensuring that they can:
- Retrieve detailed configurations as needed for review or further processing.
- Delete configurations that are no longer necessary to maintain a clean database.
- Utilize the full set of CPQ APIs to streamline the product configuration and ordering process.
These ServiceNow CPQ configuration APIs let you retrieve or delete an existing configuration. They complement the runtime APIs and are useful for viewing full configuration details and for removing configurations no longer needed. Use them alongside the standard create, update, reconfigure, and BOM APIs to support end-to-end configuration workflows.
This article is a followup to Runtime APIs. For more information on authentication and setup,see that article.
These API endpoints to get a configuration and delete a configuration from ServiceNow CPQ are included for completeness.
Get configuration
ServiceNow CPQ configurations can be retrieved from the ServiceNow CPQ servers by sending a GET request, which will return the entire configuration in the response. If you only need the product data of the outputs, consider using one of the GET BOM API calls.
| HTTP method | GET | ||
|---|---|---|---|
| URL | https://<tenant>.<sector>.logik.io/api/<uuid> | ||
| Path parameters | <uuid> | 32 character ServiceNow CPQ configuration UUID | required |
| Query parameters | N/A | ||
Sample URL:
https://dev1.test.logik.io/api/71e62fe7-e59b-4a91-94af-64718e0d4eae
Sample response:
{
"fields": [<ARRAY OF FIELD OBJECTS>],
"uuid": "08176434-9b1e-4fc8-b2c4-8aba2c35fda3", "revision": 0,
"relatedChanges": [
{
"key": "products",
"type": "PRODUCT"
}
],
"valid": true, "messages": [], "productChange": true,
"products": [<ARRAY OF PRODUCTS IN CONFIGURATION>],
"total": 30,
"layouts": [<ARRAY OF LAYOUTS>]
}
Delete configuration
ServiceNow CPQ configurations can be deleted, but it is not typically necessary. This API deletes the configuration from ServiceNow CPQ and will not be available for future retrieval of the configuration, BOM, or updates to the configuration.
| HTTP method | DELETE | ||
|---|---|---|---|
| URL | https://<tenant>.<sector>.logik.io/api/<uuid> | ||
| Path parameters | <uuid> | 32 character ServiceNow CPQ configuration UUID | required |
| Query parameters | N/A | ||
Sample URL:
https://dev1.test.logik.io/api/71e62fe7-e59b-4a91-94af-64718e0d4eae
Sample response:
{}
Sample use cases
A new customer comes to a website, configures a product, and checks out.
- Start a new configuration → Create New Configuration API call
- Make updates to the configuration → Update Configuration API call
- Save the final configuration back to ServiceNow CPQ → Save Configuration API call
A customer returns and wants to place an order for a product similar to one that they have purchased before.
- Perform a reconfiguration, using an existing ServiceNow CPQ Configuration Id → Reconfigure API Call
- Save back to ServiceNow CPQ → Save Configuration API call
An order for a complex manufactured product is placed, and the engineering team needs to know what parts they need and which sub-assemblies to build.
Retrieve the “Manufacturing” bill of materials for an existing configuration → Get BOM API call.