update_one_customer_branch
Testing Env
https://taccounting.vodoerp.com
Testing Env
https://taccounting.vodoerp.com
POST
/api/v4/customers_branches/65
Last modified:2025-04-20 15:26:13
musr pass branch id in url
| Method | POST |
** Body Param** | description |
---|
required
string
branch name|| phone |
required
string
branch phnone || vat_number |
optional
string
branch vat number required if vat number check equal 0|| vat_number_check |
optional
number
1 for make vate number not required and 0 for make vat number required || address |
optional
string
branch address|| country |
optional
number
branch acountry from country list from here https://vodoerp.apidog.io/all-countries-15235840e0 || city|
optional
number
branch city from cities list base on country from here https://vodoerp.apidog.io/all-cities-15235839e0||longitude|
optional
string
branch longitude||latitude|
optional
string
branch latitude||email|
optional
string
branch email|HEADERS | description |
---|---|
Accept-Language | required string ar,en |
secure-business-key | required string ex: 4765066450c0bd66325.48403130 from accounts system base on business |
apikey | required string ex: efe2db322a53 for make reuest more secure must add apikey in header |
platform-key | required string ex: 1234567 use this value as test |
platform | required string ex: web use this value as test |
userToken | required string get user token from login request from accounts system from here https://vodoerp.apidog.io/login-15235199e0 |
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://taccounting.vodoerp.com/api/v4/customers_branches/65' \
--header 'secure-business-key: 14807664478836358b0.31329842' \
--header 'platform-key: 1234567' \
--header 'platform: web' \
--header 'Accept-Language: ar' \
--header 'apikey: efe2db322a53' \
--header 'userToken: 0fb8e5e58d4d553a4cfb2267ef66cab5bdf021c60e73f502c28184ceda093af0' \
--form 'branch_name="فرع شركة أول"' \
--form 'phone="+9665478127"' \
--form 'vat_number=""' \
--form 'vat_number_check="1"' \
--form 'address="عنوان الشركة"' \
--form 'country="2"' \
--form 'city="125"' \
--form 'state=""' \
--form 'longitude=""' \
--form 'latitude=""' \
--form 'status="0"' \
--form 'email="nnn"'
Response Response Example
{
"status": true,
"message": "categroy updated",
"data": null
}
Request
Header Params
secure-business-key
string
required
Example:
14807664478836358b0.31329842
platform-key
string
required
Example:
1234567
platform
string
required
Example:
web
Accept-Language
string
required
Example:
ar
apikey
string
required
Example:
efe2db322a53
userToken
string
required
Example:
0fb8e5e58d4d553a4cfb2267ef66cab5bdf021c60e73f502c28184ceda093af0
Body Params multipart/form-data
branch_name
string
required
Example:
فرع شركة أول
phone
string
required
Example:
+9665478127
vat_number
string
required
vat_number_check
string
required
Example:
1
address
string
required
Example:
عنوان الشركة
country
string
required
Example:
2
city
string
required
Example:
125
state
string
required
longitude
string
required
latitude
string
required
status
string
required
Example:
0
email
string
required
Example:
nnn