GetCountries (V2)

This function returns a list of all the countries we offer delivery services to. You need to use the appropriate country code when using the GetQuote function.

Input Fields

Field Name Required? Description Example
ShipAction YES This tells our system which function you require GetCountries
Username YES You must specify your username joebloggs
APIKey YES This is available from your P4D account page HJ1E6DOTRDXAOL4LWBB

Example Output

					
stdClass Object
(
    [ShipAction] => GetCountries
    [Status] => Success
    [RequestDate] => 2012-10-04 21:15:00
    [Username] => testuser
    [Countries] => stdClass Object
        (
            [AF] => Afghanistan
            [AL] => Albania
            [DZ] => Algeria
            [AS] => American Samoa
            [AD] => Andorra
            [AO] => Angola
            [AG] => Antigua
            [AR] => Argentina
            [AM] => Armenia
            [AW] => Aruba
            [AU] => Australia
            [AT] => Austria
            [AZ] => Azerbaijan
            [BS] => Bahamas
            [BH] => Bahrain
            [BD] => Bangladesh
            [BB] => Barbados
            [BY] => Belarus
            [BE] => Belgium
            [BZ] => Belize
            [BJ] => Benin
            [BM] => Bermuda
            [BT] => Bhutan
            [BO] => Bolivia
            [BA] => Bosnia Herzegovina
            [BW] => Botswana
            [BR] => Brazil
            [BN] => Brunei
            [BG] => Bulgaria
            [BF] => Burkina Faso
            [BI] => Burundi
            [KH] => Cambodia
            [CM] => Cameroon
            [CA] => Canada
            [IC] => Canary Islands
            [CV] => Cape Verde Islands
            [KY] => Cayman Islands
            [CF] => Central African Rep.
            [TD] => Chad
            [GB] => Channel Islands
            [CL] => Chile
            [CN] => China
            [CO] => Colombia
            [KM] => Comoros Islands
            [CD] => Congo
            [CG] => Congo, Dem. Rep.
            [CK] => Cook Islands
            [CR] => Costa Rica
            [HR] => Croatia
            [CU] => Cuba
            [CW] => Curacao
            [CY] => Cyprus
            [CZ] => Czech Republic
            [DK] => Denmark
            [DJ] => Djibouti
            [DM] => Dominica
            [DO] => Dominican Rep.
            [TL] => East Timor
            [EC] => Ecuador
            [EG] => Egypt
            [SV] => El Salvador
            [GQ] => Equatorial Guinea
            [ER] => Eritrea
            [EE] => Estonia
            [ET] => Ethiopia
            [FK] => Falkland Islands
            [FO] => Faroe Islands
            [FJ] => Fiji
            [FI] => Finland
            [FR] => France
            [GA] => Gabon
            [GM] => Gambia
            [GE] => Georgia
            [DE] => Germany
            [GH] => Ghana
            [GI] => Gibraltar
            [GR] => Greece
            [GL] => Greenland
            [GD] => Grenada
            [GP] => Guadeloupe
            [GU] => Guam
            [GT] => Guatemala
            [GN] => Guinea Rep.
            [GW] => Guinea-Bissau
            [GY] => Guyana
            [HT] => Haiti
            [HN] => Honduras Rep.
            [HK] => Hong Kong
            [HU] => Hungary
            [IS] => Iceland
            [IN] => India
            [ID] => Indonesia
            [IR] => Iran
            [IQ] => Iraq
            [IE] => Ireland
            [IL] => Israel
            [IT] => Italy
            [CI] => Ivory Coast
            [JM] => Jamaica
            [JP] => Japan
            [JO] => Jordan
            [KZ] => Kazakhstan
            [KE] => Kenya
            [KI] => Kiribati
            [KP] => Korea, D.P.R of (North)
            [KR] => Korea, Rep of (South)
            [KV] => Kosovo
            [KW] => Kuwait
            [KG] => Kyrgyzstan
            [LA] => Laos Peoples Dem. Rep
            [LV] => Latvia
            [LB] => Lebanon
            [LS] => Lesotho
            [LR] => Liberia
            [LY] => Libya
            [LI] => Liechtenstein
            [LT] => Lithuania
            [LU] => Luxembourg
            [MO] => Macau
            [MK] => Macedonia
            [MG] => Madagascar
            [MW] => Malawi
            [MY] => Malaysia
            [MV] => Maldives
            [ML] => Mali
            [MT] => Malta
            [MH] => Marshall Islands
            [MR] => Martinique
            [MU] => Mauritius
            [MX] => Mexico
            [MD] => Moldova, Rep of
            [MC] => Monaco
            [MN] => Mongolia
            [ME] => Montenegro
            [MS] => Montserrat
            [MA] => Morocco
            [MZ] => Mozambique
            [MM] => Myanmar (Burma)
            [NA] => Namibia
            [NR] => Nauru, Rep of
            [NP] => Nepal
            [NL] => Netherlands
            [NZ] => New Zealand
            [NI] => Nicaragua
            [NE] => Niger
            [NG] => Nigeria
            [NO] => Norway
            [OM] => Oman
            [PK] => Pakistan
            [PA] => Panama
            [PG] => Papua New Guinea
            [PY] => Paraguay
            [PE] => Peru
            [PH] => Philippines
            [PL] => Poland
            [PT] => Portugal
            [PR] => Puerto Rico
            [QA] => Qatar
            [RE] => Reunion, Island of
            [RO] => Romania
            [RU] => Russia
            [RW] => Rwanda
            [WS] => Samoa
            [SM] => San Marino
            [ST] => Sao Tome & Principe
            [SA] => Saudi Arabia
            [SN] => Senegal
            [RS] => Serbia
            [SC] => Seychelles
            [SL] => Sierra Leone
            [SG] => Singapore
            [SK] => Slovakia
            [SI] => Slovenia
            [SB] => Solomon Islands
            [SO] => Somalia
            [ZA] => South Africa
            [ES] => Spain
            [LK] => Sri Lanka
            [KN] => St Kitts
            [LC] => St Lucia
            [VC] => St Vincent
            [SD] => Sudan
            [SR] => Suriname
            [SZ] => Swaziland
            [SE] => Sweden
            [CH] => Switzerland
            [SY] => Syria
            [PF] => Tahiti
            [TW] => Taiwan
            [TJ] => Tajikistan
            [TZ] => Tanzania
            [TH] => Thailand
            [TG] => Togo
            [TO] => Tonga
            [TT] => Trinidad & Tobago
            [TN] => Tunisia
            [TR] => Turkey
            [TV] => Tuvalu
            [UG] => Uganda
            [UA] => Ukraine
            [AE] => United Arab Emirates
            [UK] => United Kingdom
            [UY] => Uruguay
            [US] => USA
            [UZ] => Uzbekistan
            [VU] => Vanuatu
            [VE] => Venezuela
            [VN] => Vietnam
            [VG] => Virgin Islands, British
            [VI] => Virgin Islands, US
            [YE] => Yemen
            [ZM] => Zambia
            [ZW] => Zimbabwe
        )

)