Skip to content

CountryState

Type: schema

Description

Country wise states model

TypeScript Definition

typescript
CountryState: {{
            readonly id?: string;
            name: string;
            iso_code: string;
            gst_code?: string;
            readonly state_alias?: string;
        };
        /** Coupon */
}

OpenAPI Schema

json
{
  "title": "CountryState",
  "description": "Country wise states model",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/CountryState",
    "description": "API reference for the CountryState schema"
  },
  "required": [
    "name",
    "iso_code"
  ],
  "properties": {
    "id": {
      "type": "string",
      "readOnly": true
    },
    "name": {
      "type": "string"
    },
    "iso_code": {
      "type": "string"
    },
    "gst_code": {
      "type": "string"
    },
    "state_alias": {
      "type": "string",
      "readOnly": true
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: