Types > InfoCountry
Storefront APITypesInfoCountry
InfoCountry

Description

Topic: Info

Fields

code: String!

The ISO 3166-1 alpha-2 two-letter country code for the country

Example: "US"


continent: String!

Continent of the country

Example: "EU"


currency: String!

Default currency of the country

Example: "USD"


dedup_fields: [InfoCountryDedupField!]!


display_format: String!

Format of the address for this country

Example: "{name}\n{company}\n{address1}\n{address2}\n{city} {province} {zip}\n{country}\n{phone}"


form_format: String!

Format of the address form for this country

Example: "{name}\n{company}\n{address1}\n{address2}\n{city}\n{country}{province}{zip}\n{phone}"


has_province: Boolean!

Whether country has provinces

Example: true


has_zip: Boolean!

Whether country has postal codes

Example: true


id: String!

Unique country identifier. See also: Unique Identifiers

Example: "ct_US"


labels: InfoCountryLabels!


name: String!

Name of the country

Translatable

Example: "United States"


phone: String!

Phone code prefix of the country

Example: "1"


Used By

Queries

countries, infoCountries

Types

Address, AddressShort, CustomerPaymentSource, FulfillmentTrackingEvent, IPAndUAInfo, PaymentDetailCard, ReturnTrackingEvent

Preview (typescript)

Loading module