Logo
maya API Documentation

Get zones by ID

GET {{baseUrl}}/countries/:id

Service urls:
http://yourdomain.com/api/rest/countries/{country_id}
OR
http://yourdomain.com/index.php?route=feed/rest_api/countries&id={country_id}

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "success": 1, "error": [ "Error description", "Error description" ], "data": {} }



Curl
curl -X GET 'https://api.opencart-api.com/api/rest/countries/:id' -H 'Accept: application/json'

ENDPOINTS