StoreTemplate
Type: schema
TypeScript Definition
typescript
StoreTemplate: {{
id?: $Read<string>;
name: string;
description?: string | null;
template_type: string;
/** @description example - signup, order-confirmation, order-cancelled, order-refunded, cart-abandoned, etc. */
activity?: string | null;
/** @description to be used in email subject or notification heading if provided. */
content_title?: string | null;
content_type: string;
content: string;
/** Format: date-time */
created_at?: $Read<string>;
/** Format: date-time */
modified_at?: $Read<string>;
};
/** SubscriptionSetting */
}OpenAPI Schema
json
{
"title": "StoreTemplate",
"type": "object",
"required": [
"name",
"template_type",
"content_type",
"content"
],
"properties": {
"id": {
"type": "string",
"readOnly": true
},
"name": {
"type": "string",
"maxLength": 128
},
"description": {
"type": [
"string",
"null"
]
},
"template_type": {
"type": "string",
"maxLength": 64
},
"activity": {
"description": "example - signup, order-confirmation, order-cancelled, order-refunded, cart-abandoned, etc.",
"type": [
"string",
"null"
],
"maxLength": 128
},
"content_title": {
"description": "to be used in email subject or notification heading if provided.",
"type": [
"string",
"null"
],
"maxLength": 512
},
"content_type": {
"type": "string",
"maxLength": 64
},
"content": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"modified_at": {
"type": "string",
"format": "date-time",
"readOnly": true
}
},
"x-tags": [
"Store"
]
}Auto-generated from OpenAPI spec and TypeScript definitions