All Locations
Testing Env
https://www.testecommerce.vodoerp.com
Testing Env
https://www.testecommerce.vodoerp.com
GET
/api/v1/ecomm_locations
Last modified:2025-04-14 01:08:14
Key | Value | Description | Type |
---|---|---|---|
apikey | 5f28583f26a1a | API key for authentication; contact support to obtain. Required | string |
apiconnection | appmobile | Connection type; contact support to obtain. Required | string |
secure-business-key | 140356399db2b2c32f0.25237063 | Business-specific key; contact support for valid values. Required | string |
lang | ar | Language preference: ar for Arabic, en for English. Optional | string |
Key | Value | Description | Type |
---|---|---|---|
page | (empty) | Page number for pagination. Optional | string |
keyword | New | Filter by search term (e.g., city name). Optional | string |
list | (empty) | Show all data without pagination. Optional | string |
sort_order | id__asc | Sort by: id__asc , id__desc , etc. Optional | string |
per_page | 10 | Number of items per page. Optional | string |
status | 0 | Filter by status: 0 (inactive), 1 (active). Optional | string |
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://www.testecommerce.vodoerp.com/api/v1/ecomm_locations?page=&keyword=New&list=&sort_order=id__asc&per_page=10&status=0' \
--header 'apikey: 5f28583f26a1a' \
--header 'apiconnection: appmobile' \
--header 'secure-business-key: 140356399db2b2c32f0.25237063' \
--header 'Accept-Language: ar'
Response Response Example
{"status":true,"message":"Locations data","data":{"current_page":1,"data":[{"address":"3493 Al Hijrah Rd, Al Khatim, Al Madinah Al Munawwarah 42318, Saudi Arabia","latitude":"24.43941390000001","longitude":"39.6171971","id":1,"admin_name":"على","phone":"+966521478966","phone_country_code":null,"district_id":392,"status":1,"city_id":3,"country_id":2,"business_id":47,"name":"الفندق القديم"},{"address":"Abo Hanefa St, Sheba, Zagazig, Sharkia","latitude":"29.9751228","longitude":"31.1410584","id":9,"admin_name":null,"phone":"+9661061058191","phone_country_code":null,"district_id":1042,"status":1,"city_id":31,"country_id":2,"business_id":47,"name":""},{"address":"Hariri","latitude":null,"longitude":null,"id":10,"admin_name":null,"phone":null,"phone_country_code":null,"district_id":null,"status":0,"city_id":null,"country_id":null,"business_id":47,"name":"جيم أكتيف"},{"address":"3493 Al Hijrah Rd, Al Khatim, Al Madinah Al Munawwarah 42318, Saudi Arabia","latitude":null,"longitude":null,"id":11,"admin_name":null,"phone":"+966436436","phone_country_code":null,"district_id":394,"status":0,"city_id":3,"country_id":2,"business_id":47,"name":"اقتصاد"},{"address":"agdsg","latitude":null,"longitude":null,"id":12,"admin_name":null,"phone":"+966488565298","phone_country_code":null,"district_id":396,"status":1,"city_id":3,"country_id":2,"business_id":47,"name":"adsgadgadgf"},{"address":"Edit","latitude":null,"longitude":null,"id":13,"admin_name":null,"phone":"+966111111111","phone_country_code":null,"district_id":394,"status":0,"city_id":3,"country_id":2,"business_id":47,"name":"Edit"}],"first_page_url":"http://127.0.0.1:8000/api/v1/ecomm_locations?page=1","from":1,"last_page":1,"last_page_url":"http://127.0.0.1:8000/api/v1/ecomm_locations?page=1","links":[{"url":null,"label":"« Previous","active":false},{"url":"http://127.0.0.1:8000/api/v1/ecomm_locations?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"next_page_url":null,"path":"http://127.0.0.1:8000/api/v1/ecomm_locations","per_page":12,"prev_page_url":null,"to":6,"total":6}}
Request
Query Params
page
string
optional
keyword
string
optional
Example:
New
list
string
optional
sort_order
string
optional
Example:
id__asc
per_page
string
optional
Example:
10
status
string
optional
Example:
0
Header Params
apikey
string
required
Example:
5f28583f26a1a
apiconnection
string
required
Example:
appmobile
secure-business-key
string
required
728106399db2b289783.89154521
2680667168f2f8a68f6.12561200
140356399db2b2c32f0.25237063
96701678e330f31f768.22400604
14807664478836358b0.31329842
Example:
140356399db2b2c32f0.25237063
Accept-Language
string
required
Example:
ar