Additional configuration APIs
Summarize
Summary of Additional Configuration APIs
The Additional Configuration APIs for CPQ allow users to retrieve and delete existing configurations, enhancing the capabilities of runtime APIs. These APIs are essential for managing configuration details and workflows effectively.
Show less
Key Features
- Get Configuration: Utilize a GET request to retrieve full configuration details from CPQ servers using a unique 32-character UUID. This does not trigger updates in the CPQ rules engine; for updates, the Reconfigure API should be used.
- Delete Configuration: This DELETE request removes a configuration from CPQ permanently, meaning it cannot be retrieved later. Note that this action does not affect data in other applications where the configuration may have been stored, such as Salesforce.
Key Outcomes
- Efficiently manage product configurations by retrieving or deleting them as necessary.
- Support complex configuration workflows by integrating with create, update, and reconfigure APIs.
- Enable better decision-making with access to comprehensive configuration data, aiding in tasks like manufacturing and order placements.
These 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 CPQ are included for completeness.
Get configuration
CPQ configurations can be retrieved from the 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 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
CPQ configurations can be deleted, but it is not typically necessary. This API deletes the configuration from 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 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 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 CPQ Configuration Id → Reconfigure API Call
- Save back to 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.