Fluent Commerce Logo
Docs
Sign In

commercetools - Receive External webhook

Feature

Changed on:

31 Jan 2024

Overview

This feature enables partners to receive updates through from a 3rd party system to the to be processed further

Detailed Technical Description

Webhook

Create a new Rest controller to receive the . Note that the SDK does not include spring security for the web layer and it is up to the partner customising it to choose the best approach to verify the sender and authenticity of the message as this may vary per project.

Connector Logging

Each call to any 3rd party system through may be logged in logs through the Log Service of the Connect SDK. The 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.

Receive the webhook

Once the is received, it must send the acknowledgement to 3rd party to ensure Connect layer received the message.

Connect Message Handler

Write the message handler to queue the payload received by the 3rd party in the internal queue. The Message handler will extend `ConnectSDKMessage` class.