diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-25 12:24:03 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-25 12:24:03 +0700 |
| commit | 1f20fafef46b4eecaf0dd1b91592f3214e8144d3 (patch) | |
| tree | d4e2044546dde7d87a815ac7c087d0198cd92f55 /src/lib/variant/api | |
| parent | bc8e76f00eaa74eb0cc51b79662a53ef34a3ed67 (diff) | |
variant and product price
Diffstat (limited to 'src/lib/variant/api')
| -rw-r--r-- | src/lib/variant/api/variantPriceApi.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/variant/api/variantPriceApi.js b/src/lib/variant/api/variantPriceApi.js new file mode 100644 index 00000000..8621ca78 --- /dev/null +++ b/src/lib/variant/api/variantPriceApi.js @@ -0,0 +1,8 @@ +import odooApi from '@/core/api/odooApi' + +const variantPriceApi = async ({ id }) => { + const dataVariantPrice = await odooApi('GET', `/api/v1/product/product/price/${id}`) + return dataVariantPrice +} + +export default variantPriceApi |
