--- title: CountryCode - Customer API description: |- The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines. If a territory doesn't have a country code value in the `CountryCode` enum, then it might be considered a subdivision of another country. For example, the territories associated with Spain are represented by the country code `ES`, and the territories associated with the United States of America are represented by the country code `US`. api_version: 2025-10 api_name: customer type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/latest/enums/countrycode md: https://shopify.dev/docs/api/customer/latest/enums/countrycode.md --- # Country​Code enum The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines. If a territory doesn't have a country code value in the `CountryCode` enum, then it might be considered a subdivision of another country. For example, the territories associated with Spain are represented by the country code `ES`, and the territories associated with the United States of America are represented by the country code `US`. ## Valid values * AC Ascension Island. * AD Andorra. * AE United Arab Emirates. * AF Afghanistan. * AG Antigua & Barbuda. * AI Anguilla. * AL Albania. * AM Armenia. * AN Netherlands Antilles. * AO Angola. * AR Argentina. * AT Austria. * AU Australia. * AW Aruba. * AX Åland Islands. * AZ Azerbaijan. * BA Bosnia & Herzegovina. * BB Barbados. * BD Bangladesh. * BE Belgium. * BF Burkina Faso. * BG Bulgaria. * BH Bahrain. * BI Burundi. * BJ Benin. * BL St. Barthélemy. * BM Bermuda. * BN Brunei. * BO Bolivia. * BQ Caribbean Netherlands. * BR Brazil. * BS Bahamas. * BT Bhutan. * BV Bouvet Island. * BW Botswana. * BY Belarus. * BZ Belize. * CA Canada. * CC Cocos (Keeling) Islands. * CD Congo - Kinshasa. * CF Central African Republic. * CG Congo - Brazzaville. * CH Switzerland. * CI Côte d’Ivoire. * CK Cook Islands. * CL Chile. * CM Cameroon. * CN China. * CO Colombia. * CR Costa Rica. * CU Cuba. * CV Cape Verde. * CW Curaçao. * CX Christmas Island. * CY Cyprus. * CZ Czechia. * DE Germany. * DJ Djibouti. * DK Denmark. * DM Dominica. * DO Dominican Republic. * DZ Algeria. * EC Ecuador. * EE Estonia. * EG Egypt. * EH Western Sahara. * ER Eritrea. * ES Spain. * ET Ethiopia. * FI Finland. * FJ Fiji. * FK Falkland Islands. * FO Faroe Islands. * FR France. * GA Gabon. * GB United Kingdom. * GD Grenada. * GE Georgia. * GF French Guiana. * GG Guernsey. * GH Ghana. * GI Gibraltar. * GL Greenland. * GM Gambia. * GN Guinea. * GP Guadeloupe. * GQ Equatorial Guinea. * GR Greece. * GS South Georgia & South Sandwich Islands. * GT Guatemala. * GW Guinea-Bissau. * GY Guyana. * HK Hong Kong SAR. * HM Heard & McDonald Islands. * HN Honduras. * HR Croatia. * HT Haiti. * HU Hungary. * ID Indonesia. * IE Ireland. * IL Israel. * IM Isle of Man. * IN India. * IO British Indian Ocean Territory. * IQ Iraq. * IR Iran. * IS Iceland. * IT Italy. * JE Jersey. * JM Jamaica. * JO Jordan. * JP Japan. * KE Kenya. * KG Kyrgyzstan. * KH Cambodia. * KI Kiribati. * KM Comoros. * KN St. Kitts & Nevis. * KP North Korea. * KR South Korea. * KW Kuwait. * KY Cayman Islands. * KZ Kazakhstan. * LA Laos. * LB Lebanon. * LC St. Lucia. * LI Liechtenstein. * LK Sri Lanka. * LR Liberia. * LS Lesotho. * LT Lithuania. * LU Luxembourg. * LV Latvia. * LY Libya. * MA Morocco. * MC Monaco. * MD Moldova. * ME Montenegro. * MF St. Martin. * MG Madagascar. * MK North Macedonia. * ML Mali. * MM Myanmar (Burma). * MN Mongolia. * MO Macao SAR. * MQ Martinique. * MR Mauritania. * MS Montserrat. * MT Malta. * MU Mauritius. * MV Maldives. * MW Malawi. * MX Mexico. * MY Malaysia. * MZ Mozambique. * NA Namibia. * NC New Caledonia. * NE Niger. * NF Norfolk Island. * NG Nigeria. * NI Nicaragua. * NL Netherlands. * NO Norway. * NP Nepal. * NR Nauru. * NU Niue. * NZ New Zealand. * OM Oman. * PA Panama. * PE Peru. * PF French Polynesia. * PG Papua New Guinea. * PH Philippines. * PK Pakistan. * PL Poland. * PM St. Pierre & Miquelon. * PN Pitcairn Islands. * PS Palestinian Territories. * PT Portugal. * PY Paraguay. * QA Qatar. * RE Réunion. * RO Romania. * RS Serbia. * RU Russia. * RW Rwanda. * SA Saudi Arabia. * SB Solomon Islands. * SC Seychelles. * SD Sudan. * SE Sweden. * SG Singapore. * SH St. Helena. * SI Slovenia. * SJ Svalbard & Jan Mayen. * SK Slovakia. * SL Sierra Leone. * SM San Marino. * SN Senegal. * SO Somalia. * SR Suriname. * SS South Sudan. * ST São Tomé & Príncipe. * SV El Salvador. * SX Sint Maarten. * SY Syria. * SZ Eswatini. * TA Tristan da Cunha. * TC Turks & Caicos Islands. * TD Chad. * TF French Southern Territories. * TG Togo. * TH Thailand. * TJ Tajikistan. * TK Tokelau. * TL Timor-Leste. * TM Turkmenistan. * TN Tunisia. * TO Tonga. * TR Türkiye. * TT Trinidad & Tobago. * TV Tuvalu. * TW Taiwan. * TZ Tanzania. * UA Ukraine. * UG Uganda. * UM U.S. Outlying Islands. * US United States. * UY Uruguay. * UZ Uzbekistan. * VA Vatican City. * VC St. Vincent & Grenadines. * VE Venezuela. * VG British Virgin Islands. * VN Vietnam. * VU Vanuatu. * WF Wallis & Futuna. * WS Samoa. * XK Kosovo. * YE Yemen. * YT Mayotte. * ZA South Africa. * ZM Zambia. * ZW Zimbabwe. * ZZ Unknown Region. *** ## Fields * [Company​Address.​country​Code](https://shopify.dev/docs/api/customer/latest/objects/CompanyAddress#field-countryCode) OBJECT The address of a company location, either billing or shipping. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). * [Company​Address​Input.​country​Code](https://shopify.dev/docs/api/customer/latest/input-objects/CompanyAddressInput#field-countryCode) INPUT OBJECT The input fields for creating or updating a company location address. * [Customer​Address.​territory​Code](https://shopify.dev/docs/api/customer/latest/objects/CustomerAddress#field-territoryCode) OBJECT Represents a customer's mailing address. For example, a customer's default address and an order's billing address are both mailing addresses. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). * [Pickup​Address.​country​Code](https://shopify.dev/docs/api/customer/latest/objects/PickupAddress#field-countryCode) OBJECT The address of a pickup location. * [Subscription​Mailing​Address.​country​Code](https://shopify.dev/docs/api/customer/latest/objects/SubscriptionMailingAddress#field-countryCode) OBJECT The mailing address on a subscription. *** ## Map ### Fields with this enum * <-|[Company​Address.countryCode](https://shopify.dev/docs/api/customer/latest/objects/CompanyAddress#field-countryCode) * <-|[Customer​Address.territoryCode](https://shopify.dev/docs/api/customer/latest/objects/CustomerAddress#field-territoryCode) * <-|[Pickup​Address.countryCode](https://shopify.dev/docs/api/customer/latest/objects/PickupAddress#field-countryCode) * <-|[Subscription​Mailing​Address.countryCode](https://shopify.dev/docs/api/customer/latest/objects/SubscriptionMailingAddress#field-countryCode) ### Inputs with this enum * [Company​Address​Input.countryCode](https://shopify.dev/docs/api/customer/latest/input-objects/CompanyAddressInput#field-countryCode)