Skip to content

CountryState ​

Type: schema

Description ​

Country wise states model

TypeScript Definition ​

typescript
CountryState: {{
            id: $Read<string>;
            name: string;
            iso_code: string | null;
            gst_code: string;
            alias: $Read<string>;
        };
        /** CouponPromotionCommonDetail */
}

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": [
    "id",
    "name",
    "iso_code",
    "gst_code",
    "alias"
  ],
  "properties": {
    "id": {
      "type": "string",
      "readOnly": true
    },
    "name": {
      "type": "string"
    },
    "iso_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "gst_code": {
      "type": "string"
    },
    "alias": {
      "type": "string",
      "readOnly": true
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: