Skip to content

CountryState ​

Type: schema

TypeScript Definition ​

typescript
CountryState: {{
            id?: $Read<number>;
            name?: string;
            iso_code?: string | null;
            gst_code?: string;
            /** @default true */
            active: boolean;
            alias?: string;
        };
        /** Coupon */
}

OpenAPI Schema ​

json
{
  "title": "CountryState",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "name": {
      "type": "string"
    },
    "iso_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "gst_code": {
      "type": "string"
    },
    "active": {
      "type": "boolean",
      "default": true
    },
    "alias": {
      "type": "string"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: