diff options
| author | trisusilo48 <tri.susilo@altama.co.id> | 2025-03-19 16:58:23 +0700 |
|---|---|---|
| committer | trisusilo48 <tri.susilo@altama.co.id> | 2025-03-19 16:58:23 +0700 |
| commit | d9ffc1e045a75629d9debfac12b8be340b57c70c (patch) | |
| tree | 29e5973d769c9d7f444e6a7d73262dd28e61030e /src/pages | |
| parent | 6a036ddb5daf9c3d1307059fcc6b4d41d0d566c6 (diff) | |
api webhook biteshi[
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/api/webhook/biteship.js | 13 |
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 |
