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;
continent: string;
alias: string;
states_count: number;
};
/** @default +91 */
}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"
},
"required": [
"id",
"country_name",
"country_code",
"country_iso_code",
"currency_code",
"currency_symbol",
"currency_name",
"flag_icon_url",
"continent",
"alias",
"states_count"
],
"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"
},
"continent": {
"type": "string"
},
"alias": {
"type": "string"
},
"states_count": {
"type": "integer"
}
}
}Auto-generated from OpenAPI spec and TypeScript definitions