2. GetCountries
Version 17.1 by Giorgi Mdivnishvili on 2024/04/10 03:20
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"
},
Description
Schema
Definitions
countryName: Name of the country
countrycode: string. ISO2 Country code
countryName : Name of the country
phoneCode:
Note:
status: ,
isO2 : country name in iso2 standard
isO3 : country name in iso3 standard
sellCurrency : Sell Currency in given country
countrycode: string. ISO2 Country code
countryName : Name of the country
phoneCode:
Note:
status: ,
isO2 : country name in iso2 standard
isO3 : country name in iso3 standard
sellCurrency : Sell Currency in given country