Skip to content

SingleSelectOption

Type: schema

TypeScript Definition

typescript
SingleSelectOption: {{
            /** @description The name of the associated option. */
            name: string;
            /**
             * @description The type of the associated option.
             * @constant
             */
            type: "single-select";
            /** @description The value of the associated option */
            value: string;
        };
        /** StoreConfig */
}

OpenAPI Schema

json
{
  "title": "SingleSelectOption",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/SingleSelectOption",
    "description": "API reference for the SingleSelectOption schema"
  },
  "required": [
    "name",
    "type",
    "value"
  ],
  "properties": {
    "name": {
      "description": "The name of the associated option.",
      "type": "string"
    },
    "type": {
      "description": "The type of the associated option.",
      "const": "single-select"
    },
    "value": {
      "description": "The value of the associated option",
      "type": "string"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: