diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-06-11 13:40:45 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-06-11 13:40:45 +0700 |
| commit | 2e507ccbc92f18a0d7f8ebc59112a0337a0bd678 (patch) | |
| tree | 61fa5c3b60ac3b920311e77a539a87ec0b18046e /src/lib/address/api/editPartnerApi.js | |
| parent | ca05a70e98e9066882de6394ffbd89db7af2cb9d (diff) | |
<hafid> Pinpoint done
Diffstat (limited to 'src/lib/address/api/editPartnerApi.js')
| -rw-r--r-- | src/lib/address/api/editPartnerApi.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/address/api/editPartnerApi.js b/src/lib/address/api/editPartnerApi.js new file mode 100644 index 00000000..866ee9d2 --- /dev/null +++ b/src/lib/address/api/editPartnerApi.js @@ -0,0 +1,12 @@ +import odooApi from '@/core/api/odooApi' + +const editPartnerApi = async ({ id, data }) => { + const dataPartner = await odooApi('POST', `/api/v1/partner/${id}`, data, { + headers: { + 'Content-Type': 'application/json', + } + }); + return dataPartner; +} + +export default editPartnerApi;
\ No newline at end of file |
