GetCountries

Version 7.1 by Giorgi Mdivnishvili on 2023/12/15 15:34

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"
    }
  ]
}

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"
        },

Schema

Success

{

errorboolean
errorCodestring
nullable: true
errorDescriptionstring
nullable: true
userErrorDescriptionstring
nullable: true
countries[
nullable: trueCountry{
countryCodestring
nullable: true
readOnly: true
countryNamestring
nullable: true
notestring
nullable: true
phoneCodestring
nullable: true
isO2string
nullable: true
isO3string
nullable: true
statusinteger($int32)
sortingOrderinteger($int32)
sellCurrencystring
nullable: true

}]

}