summaryrefslogtreecommitdiff
path: root/src-migrate/services/checkout.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate/services/checkout.ts')
-rw-r--r--src-migrate/services/checkout.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src-migrate/services/checkout.ts b/src-migrate/services/checkout.ts
new file mode 100644
index 00000000..e6642ccb
--- /dev/null
+++ b/src-migrate/services/checkout.ts
@@ -0,0 +1,5 @@
+import odooApi from '~/libs/odooApi';
+
+export const getUserCheckout = async (userId: number) => {
+ return await odooApi('GET', `/api/v1/user/${userId}/sale_order/checkout`);
+}; \ No newline at end of file