Skip to content

Currency

Type: schema

TypeScript Definition

typescript
Currency: {{
            /** @example Indian Rupee */
            name: string;
            /** @example INR */
            code: string;
            /** @example ₹ */
            symbol: string;
        };
}

OpenAPI Schema

json
{
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/Currency",
    "description": "API reference for the Currency schema"
  },
  "required": [
    "name",
    "code",
    "symbol"
  ],
  "properties": {
    "name": {
      "type": "string",
      "examples": [
        "Indian Rupee"
      ]
    },
    "code": {
      "type": "string",
      "examples": [
        "INR"
      ],
      "maxLength": 3,
      "minLength": 3
    },
    "symbol": {
      "type": "string",
      "examples": [
        "₹"
      ]
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: