All Branches
Testing
Testing Env
https://taccounting.vodoerp.com
Testing Env
https://taccounting.vodoerp.com
GET
/api/v5/customers-suppliers/{type}/{uuid}/branches
Last modified:2025-05-19 11:23:22
1
=> refer to customer,2
=> refer to supplierRequest Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://taccounting.vodoerp.com/api/v5/customers-suppliers///branches?keyword=test&page=1&per_page=12' \
--header 'user-token: ' \
--header 'secure-business-key: 4765066450c0bd66325.48403130' \
--header 'lang: en'
Response Response Example
{
"status": true,
"message": "all branches",
"data": {
"current_page": 1,
"data": [
{
"id": 68,
"uuid": "85e5e182-6590-4e4d-9c63-6cdb87563ff9",
"business_id": 259,
"company_id": 2627,
"name": "cxzcxzc",
"vat_number": "asdasd",
"vat_number_check": "0",
"phone_code": "+20",
"phone": "4564",
"email": null,
"address": "asdasd",
"longitude": "asd",
"latitude": "asdas",
"country_id": 1,
"city": "asda",
"state": "asd",
"district": null,
"status": 1,
"created_at": "2025-05-05T09:22:06.000000Z",
"updated_at": "2025-05-05T09:22:06.000000Z"
},
{
"id": 67,
"uuid": "f2664374-c5b9-41d8-a3f8-1b574380b3a9",
"business_id": 259,
"company_id": 2627,
"name": "testasdas",
"vat_number": "asdasd",
"vat_number_check": "0",
"phone_code": "+20",
"phone": "456321",
"email": null,
"address": "asdasd",
"longitude": null,
"latitude": null,
"country_id": 1,
"city": null,
"state": null,
"district": null,
"status": 1,
"created_at": "2025-05-05T09:21:46.000000Z",
"updated_at": "2025-05-05T09:21:46.000000Z"
},
{
"id": 66,
"uuid": "af8fed52-12ec-4caa-88c6-af4c9db23595",
"business_id": 259,
"company_id": 2627,
"name": "test",
"vat_number": null,
"vat_number_check": "0",
"phone_code": "+20",
"phone": "123456789",
"email": null,
"address": "asdasd",
"longitude": null,
"latitude": null,
"country_id": 1,
"city": null,
"state": null,
"district": null,
"status": 1,
"created_at": "2025-05-05T09:18:59.000000Z",
"updated_at": "2025-05-05T09:18:59.000000Z"
}
],
"first_page_url": "http://127.0.0.1:8000/api/v5/customers/55da0250-d863-43d5-86d5-bea83e4acfbc/branches?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://127.0.0.1:8000/api/v5/customers/55da0250-d863-43d5-86d5-bea83e4acfbc/branches?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/v5/customers/55da0250-d863-43d5-86d5-bea83e4acfbc/branches?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"next_page_url": null,
"path": "http://127.0.0.1:8000/api/v5/customers/55da0250-d863-43d5-86d5-bea83e4acfbc/branches",
"per_page": 12,
"prev_page_url": null,
"to": 3,
"total": 3
},
"errors": []
}
Request
Path Params
type
stringÂ
required
uuid
stringÂ
required
Query Params
keyword
stringÂ
optional
Example:
test
page
stringÂ
optional
Example:
1
per_page
stringÂ
optional
Example:
12
Header Params
user-token
stringÂ
required
Example:
{{user_token}}
secure-business-key
stringÂ
required
Example:
{{secure_business_key}}
lang
stringÂ
optional
Example:
{{lang}}
Body Params multipart/form-data
object {0}