commercetools - Send Payload to External webhook
Changed on:
31 Jan 2024
Overview
This feature enables partners to send payloads to external systems via webhook .
Detailed Technical Description
Fluent settings
Create a new setting and add the 3rd party endpoint. These settings can be retrieved by the configuration service of the Connect SDK.
Build Custom Payload
Build the relevant custom payload to send out the required data to the external system endpoint
Connector Logging
Each call to any external system through webhook may be logged in connector logs through the Event Log Service of the Connect SDK. The connector logs are added to the configured logging service which by default is the server. For example, as of now, the server we are using is AWS and Logs will be stored at AWS Logging.
Dispatch of webhook
Although it is possible to use any 3rd party library to connect to external systems, both OKHTTP and Spring RestTemplate are already available and should be preferred over alternatives as much as possible.