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 webhook from a 3rd party system to the connector to be processed further

Detailed Technical Description

Webhook

Create a new Rest controller to receive the webhook. 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 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.

Receive the webhook

Once the webhook 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.

Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.

Fluent Logo