summaryrefslogtreecommitdiff
path: root/src/pages/api/webhook
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-05-27 10:32:45 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-05-27 10:32:45 +0700
commit62d2edfa5ae62cd8faa2d0322ddfd5dfa6ad2d2e (patch)
treed6cceab24bd7f7c4dbfc4c0ff3ef3c932e0d9b14 /src/pages/api/webhook
parent6499f025995f13fcf32b2b5f79c8ee14585668fc (diff)
parentfd867a90e22fb2fc2fb16237165796ebe0cabab0 (diff)
<hafid> merge repeat order & new-release
Diffstat (limited to 'src/pages/api/webhook')
-rw-r--r--src/pages/api/webhook/biteship.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pages/api/webhook/biteship.js b/src/pages/api/webhook/biteship.js
new file mode 100644
index 00000000..f1100d2d
--- /dev/null
+++ b/src/pages/api/webhook/biteship.js
@@ -0,0 +1,13 @@
+import odooApi from '@/core/api/odooApi';
+
+
+export default async function handler(req, res) {
+ const body = req.body
+
+ if(req.body){
+ let result = odooApi('POST', '/api/v1/webhook/biteship', body)
+ }
+
+ res.status(200).send("ok");
+
+} \ No newline at end of file