summaryrefslogtreecommitdiff
path: root/src/lib/checkout/api/checkoutApi.js
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2025-06-16 02:05:40 +0000
committerIT Fixcomart <it@fixcomart.co.id>2025-06-16 02:05:40 +0000
commit755163a9f803e6959afb4568baa55538b9628cab (patch)
tree4469b0d7c6e8b2a7185b271d9589e8de4724d4f2 /src/lib/checkout/api/checkoutApi.js
parent5669295b8cff1a9c9e559dd263599123a2ad6e92 (diff)
parent8ca6c0aa1b2a578332ff1c3706f58530f549352e (diff)
Merged in biteship-merge (pull request #420)
Biteship merge
Diffstat (limited to 'src/lib/checkout/api/checkoutApi.js')
-rw-r--r--src/lib/checkout/api/checkoutApi.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/checkout/api/checkoutApi.js b/src/lib/checkout/api/checkoutApi.js
index fd982fff..c30d9631 100644
--- a/src/lib/checkout/api/checkoutApi.js
+++ b/src/lib/checkout/api/checkoutApi.js
@@ -18,3 +18,12 @@ export const getProductsCheckout = async (query) => {
const result = await odooApi('GET', url);
return result;
};
+
+export const getProductsSla = async ({data}) => {
+ const dataSLA = await odooApi(
+ 'GET',
+ `/api/v1/product/variants/sla`,
+ data
+ )
+ return dataSLA
+}