diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-06-11 16:32:12 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-06-11 16:32:12 +0700 |
| commit | 12120666385e8c9d68cb1b8a6d41d3943e5aab47 (patch) | |
| tree | 514415ddea7b90a7f58fee6b508310eb10046440 /src/lib/address/api/editPartnerApi.js | |
| parent | 43bed6bf9ebe559e32e7572ea17278b5f3b0897c (diff) | |
| parent | 39e37a51a16857a212050f2365bb99d69d5a1a68 (diff) | |
Merge branch 'biteship-merge' of https://bitbucket.org/altafixco/next-indoteknik into biteship-merge
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 |
