diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-06-16 02:05:40 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-06-16 02:05:40 +0000 |
| commit | 755163a9f803e6959afb4568baa55538b9628cab (patch) | |
| tree | 4469b0d7c6e8b2a7185b271d9589e8de4724d4f2 /src/lib/address/api | |
| parent | 5669295b8cff1a9c9e559dd263599123a2ad6e92 (diff) | |
| parent | 8ca6c0aa1b2a578332ff1c3706f58530f549352e (diff) | |
Merged in biteship-merge (pull request #420)
Biteship merge
Diffstat (limited to 'src/lib/address/api')
| -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 |
