The REST API generated by activating the ICS integration can be configured as a Webhook in Commerce Cloud Administration.
Request Quote: This webhook is triggered when a request or re-request for a quote is submitted by a Commerce Cloud self-service user. This webhook pushes notifications using the OCCS-CPQ Create Quote integration flow.
Update Quote: This webhook is triggered when a response to a requested quote is accepted, rejected, or the quote is cancelled by a Commerce Cloud self-service user. This webhook pushes notifications using the OCCS-CPQ Update Quote integration flow.
External Pricing: This webhook is triggered at checkout when the order contains one or more items configured by CPQ Cloud. The webhook validates the configuration a d price provided for the configured items.
You must configure the Production and Preview version of these webhooks to ensure that they work in all environments. The Production webhooks send information from your live store to production environments of your live systems, while preview webhooks send information from your preview environment to the test or sandbox environments of your external systems.
You can configure these webhooks through Oracle Commerce Cloud. Follow these instructions to configure a webhook:
Log on to ICS as an admin user.
Click on the Integrations icon.
Click on the Integration Details icon to display information about the integration flow.
If you are configuring the Request Quote webhook then you should display information for the OCCS-CPQ Create Quote integration flow.
If you are configuring the Update Quote webhook then you should display information for the OCCS-CPQ Update Quote integration flow.
If you are configuring the External Pricing webhook then you should display information for the OCCS-CPQ External Pricing integration flow.
Copy the Endpoint URL for the integration.
Log on to Commerce Cloud.
Click on the Menu icon.
Select Settings from the menu.
Select Web APIs from the sidebar menu on the Settings page.
Click on the webhook you wish to configure.
Paste the Endpoint URL you copied into the URL field for the webhook.
Remove the “metadata” text from the end of the URL.
Enter the Username and Password for your ICS account.
Click the Save button.
The webhook is now configured and is triggered each time the relevant event occurs, which in turn triggers the relevant integration flow.
If you are using a multisite environment you must also configure the webhooks for each site that uses this integration. You can change between sites by clicking on the site name above the side menu when you open the Settings page.
For more information on oracle Commerce Cloud webhooks, please refer to the Configure Webhooks chapter of the Using Oracle Commerce Cloud document.