> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Email Design Theme

# Type: Email Design Theme Object

# Link: https://dev.wix.com/docs/api-reference/business-management/marketing/emails/email-design-theme/email-design-theme-object.md

## Description: An email design theme is a reusable definition of an email's look and feel, such as its colors,
fonts, and spacing. Site owners save email design themes in the Wix email editor and apply them to
the emails they compose, such as Wix Email Marketing campaigns and automated emails.

## Schema:

```json
 Type: Email Design Theme Object | type: EmailDesignTheme
 Description: An email design theme is a reusable definition of an email's look and feel, such as its colors,
fonts, and spacing. Site owners save email design themes in the Wix email editor and apply them to
the emails they compose, such as Wix Email Marketing campaigns and automated emails.
       - name: id  | type: string | description: Email design theme ID.
       - name: createdDate  | type: string | description: Date and time the email design theme was created.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: updatedDate  | type: string | description: Date and time the email design theme was updated.
       - name: revision  | type: string | description: Revision number, which increments by 1 each time the email design theme is updated. To prevent conflicting changes, the current revision must be passed when updating the email design theme.  Ignored when creating an email design theme.
           - name: value  | type: string | description: 
       - name: title  | type: string | description: Email design theme title. Titles aren't unique, so a site can have multiple email design themes with the same title. To help site owners tell them apart, display additional context alongside the title, such as the date the email design theme was last updated.
       - name: body  | type: Struct | description: Styling definition of the email design theme, as a free-form JSON object. Its structure is defined by the Wix email editor. For example, `palette` holds the theme's colors, and `classes` maps named styles such as `heading-text` and `primary-button` to the properties the editor applies.  The Wix email editor doesn't render styling that doesn't follow its structure. When `body` doesn't define a style class, the editor uses its default styling for that class. When `body` doesn't include `palette`, the theme's color palette is empty.  This API doesn't validate the structure of `body`, so a theme that saves successfully may still not render as expected. Don't rely on a particular set of keys being present, and ignore keys you don't recognize. Don't store personal data in `body`.  Limited to 256 KB (262,144 bytes), measured on the JSON encoding without insignificant whitespace.
           - name: fields  | type: object | description: 
       - name: extendedFields  | type: ExtendedFields | description: Custom field data for the email design theme.  [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions.md) must be configured in the app dashboard before they can be accessed with API calls. Don't store personal data in extended fields.  To update extended fields, call [Update Extended Fields](https://dev.wix.com/docs/api-reference/business-management/marketing/emails/email-design-theme/update-extended-fields.md). [Update Email Design Theme](https://dev.wix.com/docs/api-reference/business-management/marketing/emails/email-design-theme/update-email-design-theme.md) also applies any `extendedFields` specified in the request.
           - name: namespaces  | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured.  You can only access fields for which you have the appropriate permissions.  Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md).
       - name: tags  | type: Tags | description: Tags assigned to the email design theme. Tags are owned by the Tags API ([SDK](https://dev.wix.com/docs/sdk/backend-modules/tags/tags/introduction.md) | [REST](https://dev.wix.com/docs/rest/business-management/tags/introduction.md)), which you can use to resolve these IDs into labels and to create tags.  Specifying `tags` in [Update Email Design Theme](https://dev.wix.com/docs/api-reference/business-management/marketing/emails/email-design-theme/update-email-design-theme.md) replaces the existing tags instead of adding to them. To assign or unassign individual tags, call [Bulk Update Email Design Theme Tags](https://dev.wix.com/docs/api-reference/business-management/marketing/emails/email-design-theme/bulk-update-email-design-theme-tags.md).
           - name: privateTags  | type: TagList | description: Tags that require an additional permission to access, typically restricted from site members and visitors.
               - name: tagIds  | type: Array<string> | description: List of tag IDs.
           - name: publicTags  | type: TagList | description: Tags that are exposed to anyone with access to the entity, including site members and visitors.

```