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;
};
/**
* StorefrontResponseEvent
* @description A single analytics event to emit for a mutation you just made, returned in a response's `events` array. Each entry pairs a human-readable `event` name with a server-issued `event_id` (ULID): forward that id with your own client-side copy (pixel, tag, SDK) so both copies of the same action dedupe to one and downstream destinations count it once. `event` is the discriminator; the keys beside `event` and `event_id` identify the entity the event is about.
*/
}OpenAPI Schema
json
{
"type": "object",
"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"
}
},
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/SingleSelectOption",
"description": "API reference for the SingleSelectOption schema"
},
"required": [
"name",
"type",
"value"
],
"title": "SingleSelectOption"
}Auto-generated from OpenAPI spec and TypeScript definitions