Skip to content

Country

Type: schema

Description

Country list model

TypeScript Definition

typescript
Country: {{
            id?: string;
            country_name?: string;
            country_code?: string;
            country_iso_code?: string;
            currency_code?: string;
            currency_symbol?: string;
            currency_name?: string;
            flag_icon_url?: string;
            country_alias?: string;
            continent?: string;
        };
        /**
         * CountryState
         * @description Country wise states model
         */
}

OpenAPI Schema

json
{
  "title": "Country",
  "description": "Country list model",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/Country",
    "description": "API reference for the Country schema"
  },
  "properties": {
    "id": {
      "type": "string"
    },
    "country_name": {
      "type": "string"
    },
    "country_code": {
      "type": "string"
    },
    "country_iso_code": {
      "type": "string"
    },
    "currency_code": {
      "type": "string"
    },
    "currency_symbol": {
      "type": "string"
    },
    "currency_name": {
      "type": "string"
    },
    "flag_icon_url": {
      "type": "string"
    },
    "country_alias": {
      "type": "string"
    },
    "continent": {
      "type": "string"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: