SEATHQ Webhook Forwarding Feature
Overview
The SEATHQ webhook forwarding feature allows for the automatic forwarding of catchall webhooks to a specified endpoint. This feature enables real-time updates from marketplace and ingest systems.
Behavior
+ Log: "Forwarding webhook to"
+ Forward the webhook request using the provided method, headers, retries, and retry delay.
+ Log: "Forwarded to"
Configuration
The affiliate's configuration includes a JSON object with the following properties:
+ `enabled`: boolean indicating whether forwarding is enabled
+ `url`: URL to forward webhooks to
+ `headers`: optional headers to include in the forwarded request
+ `method`: optional method to use for the forwarded request
+ `retries`: optional number of retries before giving up
+ `retryDelayMs`: optional retry delay in milliseconds
Testing
Five test cases are provided: