2. GetCountries
Version 18.1 by Giorgi Mdivnishvili on 2024/04/10 03:22
Contents
Method Description
This method ensures that a list of all countries is retrieved with the appropriate parameters
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
Definitions