From a1020363a2294d72cb6bbc7da114ee37af45310f Mon Sep 17 00:00:00 2001 From: girishbharambe Date: Thu, 22 Aug 2024 11:12:23 +0530 Subject: [PATCH] webhook support --- src/main/resources/application.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 7f14600..8c26543 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -49,4 +49,12 @@ ext: api_secret: ${EXTENSION_API_SECRET} scopes: "" base_url: ${EXTENSION_BASE_URL} + webhook: + api_path: "/event/webhook" + notification_email: "dev@fynd.com" + event_map: + - name: "product/delete" + handler: sampleHandler + category: "company" + version: 1