Create Business
Testing Env
https://testaccounts.vodoerp.com
Testing Env
https://testaccounts.vodoerp.com
POST
/api/business
Last modified:2025-04-20 15:47:26
BODY | description |
---|---|
name_ar | required string name of the business in arabic |
name_en | required string name of the business in english |
country_id | required string get the country id of the business get it from: https://vodoerp.apidog.io/all-countries-15235840e0 |
city_id | required string get the city id of the business get it from: https://vodoerp.apidog.io/all-cities-15235839e0 |
address | required string address of your business |
activity_id | required string activity of your business get it from: https://vodoerp.apidog.io/all-15235236e0 |
commercial_number | string commercial number of your business |
cr_number | string cr number of the business |
logo | file logo of your business it should be max height,width: 250 px and maximum file size: 5MB |
cr_document | file document of the business |
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://testaccounts.vodoerp.com/api/business' \
--header 'user-token: 178f94cc2cc0ee44f2bc8f1ed4b3e41cd62263d1ee879f811a80b2a9c8101d46' \
--header 'lang: en' \
--form 'name_ar="بيزنس"' \
--form 'name_en="new business"' \
--form 'country_id="2"' \
--form 'city_id="elryad"' \
--form 'address="asdasdasdasd"' \
--form 'activity_id="500"' \
--form 'commercial_number="505604560000"' \
--form 'logo=@""' \
--form 'cr_document=@""' \
--form 'device="lapTop"' \
--form 'os="windows 10"' \
--form 'long_lat="54.446222127,27.116694478"'
Response Response Example
200 - Success
{
"status": true,
"message": "your request is success",
"data": {
"uuid": "cb917f08-8d24-4f90-a463-eb85487dcc9c",
"name": "sdasdasxcd",
"name_en": "dasddasdascxzwqeqwdsasdxzcxzcdx",
"secure_key": "515306805147b545f77.57466837",
"expiration_date": "2026-04-20T15:36:27.345612Z",
"api_key": "499476805147b546d81.69641211",
"user_id": 997,
"country_id": "2",
"city_id": "2",
"state": "255",
"address": "testaddress",
"plan_date": "2025-04-20",
"company_size": "",
"status": "1",
"updated_at": "2025-04-20T15:36:27.000000Z",
"created_at": "2025-04-20T15:36:27.000000Z",
"id": 377,
"business_id": 377,
"transaction_id": 377,
"ip": "127.0.0.1",
"device": null,
"os": null,
"long_lat": null
}
}
Request
Header Params
user-token
stringÂ
required
Example:
178f94cc2cc0ee44f2bc8f1ed4b3e41cd62263d1ee879f811a80b2a9c8101d46
lang
stringÂ
optional
Example:
en
Body Params multipart/form-data
name_ar
stringÂ
required
Example:
بيزنس
name_en
stringÂ
required
Example:
new business
country_id
stringÂ
required
Example:
2
city_id
stringÂ
required
Example:
elryad
address
stringÂ
required
Example:
asdasdasdasd
activity_id
stringÂ
required
Example:
500
commercial_number
stringÂ
optional
Example:
505604560000
logo
fileÂ
optional
cr_document
fileÂ
optional
device
stringÂ
optional
Example:
lapTop
os
stringÂ
optional
Example:
windows 10
long_lat
stringÂ
optional
Example:
54.446222127,27.116694478