summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-03-20 13:11:48 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-03-20 13:11:48 +0700
commitb74d48225e6620a3ac11aca8c358d51982c5c587 (patch)
tree0a81737f5e50c4cdd49656181065fa057e2a7715 /src
parente7673474d1257445573358c48cc2ecefdec6cf46 (diff)
parent301eb1428f93a8cd9df99cfc8c3858a80cc860c6 (diff)
Merge branch 'new-release' into CR/renca-banner
Diffstat (limited to 'src')
-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