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