Reference data

Shared lookup data for countries, subdivisions, languages, timezones, currencies, phone codes, number formats, address formats, and Store API scopes.

Use these endpoints for lookup data shared across stores. Collection endpoints return complete datasets without pagination. Successful responses include Cache-Control: public, max-age=86400, so clients and shared caches can retain them for 24 hours. The scopes catalog is public. All other endpoints require a valid Store API token for a store with an active or trialing subscription, but no resource scope is required. These requests count against the token's normal rate limit.

For phone formats, country and calling codes, country-specific lengths, and accepted and rejected examples, read Phone numbers and country codes.

For address requirements, accepted subdivision codes, postal validation, and CSV mappings, read Addresses and postal rules.

List scopes

GET

List the Store API scopes apps can currently request.

Returns the complete requestable scope catalog grouped by category. Use it to choose app permissions or explain what each permission allows. During installation, merchants see the permissions requested by your app as localized, resource-level entries; related read and write access may be presented together.

This endpoint is public — no token required.

List countries

GET

List the countries and regions recognized by the Store API, sorted by name.

Each entry includes a two-letter Tringify country code, a three-letter code, name, capital, primary currency, recommended default locale, calling codes, and postal-code metadata. Most country codes follow current ISO 3166-1 values; a small number are retained for compatibility. Treat each returned code as an opaque identifier. Inclusion in this catalog does not by itself indicate selling, shipping, or payment availability.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Bearer header or token prefix is malformed.

  • 401 STORE_ADMIN_TOKEN_RUNTIME_UNAUTHORIZED

    The token is expired, revoked, or no longer valid.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List the subdivisions available for a country or region.

GET

List the subdivisions available for a country or region.

Returns Tringify subdivision identifiers and names for one country or region. Identifiers such as US-California are stable reference values, not ISO 3166-2 abbreviations. Some entries include an optional gst_code, including Indian states and union territories. A recognized country with no subdivision data returns an empty array.

Path parameters

Name Type Description
countryCode required string

Two-letter country or region code returned by GET /api/2025-01/reference/countries. Case-insensitive.

Example: US

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 400 INVALID_INPUT

    countryCode is not a recognized two-letter country or region code.

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Bearer header or token prefix is malformed.

  • 401 STORE_ADMIN_TOKEN_RUNTIME_UNAUTHORIZED

    The token is expired, revoked, or no longer valid.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List languages

GET

List every language available for storefront translation.

Each entry includes a BCP 47 language code, English name, native name, and rtl flag. Use the flag to lay out Arabic, Hebrew, Persian, Urdu, and other right-to-left languages correctly in locale selectors and translated experiences.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Bearer header or token prefix is malformed.

  • 401 STORE_ADMIN_TOKEN_RUNTIME_UNAUTHORIZED

    The token is expired, revoked, or no longer valid.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List timezones

GET

List the timezone identifiers accepted by Tringify.

Returns a sorted array of supported timezone identifiers. The list includes IANA timezone names such as America/Los_Angeles, Asia/Kolkata, and Europe/London, plus UTC and supported legacy aliases. Use the returned strings as opaque values in timezone selectors and API requests.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Bearer header or token prefix is malformed.

  • 401 STORE_ADMIN_TOKEN_RUNTIME_UNAUTHORIZED

    The token is expired, revoked, or no longer valid.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List every currency code accepted by the Store API.

GET

List every currency code accepted by the Store API.

Returns each supported currency's ISO 4217 code, English name, display symbol, and decimal precision. Symbols are for display and may be shared by several currencies, so use code as the currency identifier. The dataset is the same for every store.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Bearer header or token prefix is malformed.

  • 401 STORE_ADMIN_TOKEN_RUNTIME_UNAUTHORIZED

    The token is expired, revoked, or no longer valid.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List phone codes

GET

List supported calling regions, dial codes, examples, and flags.

Returns calling regions with country_code, country_name, dial_code, integer dial_code_numeric, example_number, and flag. Each entry also includes possible_lengths (an array of integers), integer min_national_digits and max_national_digits, and national_prefix (a string, empty when no removable prefix applies). Use the complete allowed-length list rather than treating every length between its bounds as valid. See Phone numbers and country codes for the validation rules and examples.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Bearer header or token prefix is malformed.

  • 401 STORE_ADMIN_TOKEN_RUNTIME_UNAUTHORIZED

    The token is expired, revoked, or no longer valid.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Get number format defaults

GET

Get number and currency-display defaults for a country or region.

Returns decimal and thousands separators, currency-symbol placement and spacing, and digit grouping. grouping_pattern is "3" for standard thousands grouping and "3,2" for Indian lakh and crore grouping. The country or region code is case-insensitive.

Path parameters

Name Type Description
countryCode required string

Two-letter country or region code returned by GET /api/2025-01/reference/countries. Case-insensitive.

Example: DE

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 400 INVALID_INPUT

    countryCode is not a recognized two-letter country or region code.

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Bearer header or token prefix is malformed.

  • 401 STORE_ADMIN_TOKEN_RUNTIME_UNAUTHORIZED

    The token is expired, revoked, or no longer valid.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List address formats

GET

List address formats for all supported countries and regions.

Retrieve the current address formats for every supported country with GET /api/2025-01/reference/address-format, or one country with GET /api/2025-01/reference/address-format/{countryCode}. The collection response is data.address_formats; a single-country response is data. Each record includes field labels, required, zip_regex, zip_example, subdivisions, and updated_at (RFC 3339 UTC). Use the exact subdivisions[].code in address province_code or location state_province. Codes may be full names, abbreviations, or non-Latin text: India uses Uttar Pradesh, the US uses NY, Canada uses ON, Australia uses NSW, and Japan may return 東京都. Show name or latin_name as the label. Do not assume ISO 3166-2 codes: UP and IN-UP are not substitutes for the Indian address-format value Uttar Pradesh. Tax and shipping zone subdivision identifiers belong to their own catalog. The required string uses A=address, C=city, S=state, Z=postal code, N=name, O=organization; resource-specific endpoint requirements also apply. A customer address requires first_name, last_name, address1, city and country_code, while province_code and postal_code are optional but validated when supplied. An online-fulfilling location additionally requires its country-dependent subdivision and postal fields. With no subdivision list, a supplied state/province is free text subject to the resource limits. Validate supplied postal values against zip_regex and show zip_example. India additionally checks that a PIN exists and belongs to the supplied state. A format match does not verify deliverability. Supplied address phones are validated for the address country and normalized to E.164; phone-region examples are available from /reference/phone-codes. Refresh cached metadata instead of maintaining guessed country rules.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Bearer header or token prefix is malformed.

  • 401 STORE_ADMIN_TOKEN_RUNTIME_UNAUTHORIZED

    The token is expired, revoked, or no longer valid.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Get an address format

GET

Get the address format for one country or region.

Retrieve the current address formats for every supported country with GET /api/2025-01/reference/address-format, or one country with GET /api/2025-01/reference/address-format/{countryCode}. The collection response is data.address_formats; a single-country response is data. Each record includes field labels, required, zip_regex, zip_example, subdivisions, and updated_at (RFC 3339 UTC). Use the exact subdivisions[].code in address province_code or location state_province. Codes may be full names, abbreviations, or non-Latin text: India uses Uttar Pradesh, the US uses NY, Canada uses ON, Australia uses NSW, and Japan may return 東京都. Show name or latin_name as the label. Do not assume ISO 3166-2 codes: UP and IN-UP are not substitutes for the Indian address-format value Uttar Pradesh. Tax and shipping zone subdivision identifiers belong to their own catalog. The required string uses A=address, C=city, S=state, Z=postal code, N=name, O=organization; resource-specific endpoint requirements also apply. A customer address requires first_name, last_name, address1, city and country_code, while province_code and postal_code are optional but validated when supplied. An online-fulfilling location additionally requires its country-dependent subdivision and postal fields. With no subdivision list, a supplied state/province is free text subject to the resource limits. Validate supplied postal values against zip_regex and show zip_example. India additionally checks that a PIN exists and belongs to the supplied state. A format match does not verify deliverability. Supplied address phones are validated for the address country and normalized to E.164; phone-region examples are available from /reference/phone-codes. Refresh cached metadata instead of maintaining guessed country rules.

Path parameters

Name Type Description
countryCode required string

Two-letter country or region code returned by GET /api/2025-01/reference/countries. Case-insensitive.

Example: JP

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 400 INVALID_INPUT

    countryCode is not a recognized two-letter country or region code.

  • 404 NOT_FOUND

    No address format is available for this country or region code.

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Bearer header or token prefix is malformed.

  • 401 STORE_ADMIN_TOKEN_RUNTIME_UNAUTHORIZED

    The token is expired, revoked, or no longer valid.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.