GetCountries
Version 7.1 by Giorgi Mdivnishvili on 2023/12/15 15:34
Contents
Method Description
The initial method of the integration process is authorization. You will be provided with a test user username and password to generate the access token that you will need to pass in all the following methods.
Endpoint URL - [GET]
Request Parameters
Request Body
none
Response Body
{
"error": true,
"errorCode": "string",
"errorDescription": "string",
"userErrorDescription": "string",
"countries": [
{
"countryCode": "string",
"countryName": "string",
"note": "string",
"phoneCode": "string",
"isO2": "string",
"isO3": "string",
"status": 0,
"sortingOrder": 0,
"sellCurrency": "string"
}
]
}
"error": true,
"errorCode": "string",
"errorDescription": "string",
"userErrorDescription": "string",
"countries": [
{
"countryCode": "string",
"countryName": "string",
"note": "string",
"phoneCode": "string",
"isO2": "string",
"isO3": "string",
"status": 0,
"sortingOrder": 0,
"sellCurrency": "string"
}
]
}
Response Body -example
{
"countryCode": "UU",
"countryName": "Ukraine.",
"phoneCode": "111",
"isO2": "UU",
"isO3": "UA.",
"status": 1,
"sortingOrder": 0,
"sellCurrency": "USD"
},
{
"countryCode": "AE",
"countryName": "United Arab Emirates",
"phoneCode": "971",
"isO2": "AE",
"isO3": "ARE",
"status": 1,
"sortingOrder": 1000,
"sellCurrency": "USD"
},
"countryCode": "UU",
"countryName": "Ukraine.",
"phoneCode": "111",
"isO2": "UU",
"isO3": "UA.",
"status": 1,
"sortingOrder": 0,
"sellCurrency": "USD"
},
{
"countryCode": "AE",
"countryName": "United Arab Emirates",
"phoneCode": "971",
"isO2": "AE",
"isO3": "ARE",
"status": 1,
"sortingOrder": 1000,
"sellCurrency": "USD"
},
Schema