Skip to content

StoreTemplate

Type: schema

TypeScript Definition

typescript
StoreTemplate: {{
            readonly id: string;
            name: string;
            /** @description to be used in email subject or notification heading if provided. */
            content_title: string | null;
            /** @enum {unknown} */
            content_type: "html" | "markdown" | "plaintext";
            content: string;
        };
        /** Subscription */
}

OpenAPI Schema

json
{
  "title": "StoreTemplate",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/StoreTemplate",
    "description": "API reference for the StoreTemplate schema"
  },
  "required": [
    "id",
    "name",
    "content_title",
    "content_type",
    "content"
  ],
  "properties": {
    "id": {
      "type": "string",
      "readOnly": true
    },
    "name": {
      "type": "string"
    },
    "content_title": {
      "description": "to be used in email subject or notification heading if provided.",
      "type": [
        "string",
        "null"
      ]
    },
    "content_type": {
      "enum": [
        "html",
        "markdown",
        "plaintext"
      ]
    },
    "content": {
      "type": "string"
    }
  },
  "x-tags": [
    "Store"
  ]
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: