Shopemail

v0.2.0
app.shopemail/shopemail Checked 1 day ago Published 28 days ago

Design, preview, and export Shopify notification emails in your authorized Shopemail theme.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

open_editor Open the Shopemail editor

Open the interactive email editor with the exact working theme, notification, blocks, fields, preview and downloads. All actions retain the connection permissions.

ParameterTypeDescription
keystring
theme_idstringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

get_context Identify the current theme and permissions

Return the authorized workspace, current theme, accessible themes and granted capabilities. Theme IDs identify the exact target of edits.

list_theme_examples Browse public theme examples

Browse and search public Shopemail theme examples that can be copied into an authorized workspace.

ParameterTypeDescription
categorystring
limitinteger
offsetinteger
querystring

get_theme_example Inspect a public theme example

Read a public example description, structure and appearance before copying it.

ParameterTypeDescription
example_id *string

list_themes List accessible owned themes

List owned theme names and immutable IDs within the granted scope. A single-theme grant returns only that theme.

ParameterTypeDescription
include_archivedboolean

get_theme Inspect an owned theme

Read the specified authorized theme and its authored appearance, without preview sample values or unrelated themes.

ParameterTypeDescription
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

list_emails List theme notification emails

List notification keys and customization summaries for the specified authorized theme.

ParameterTypeDescription
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

read_email Read an email design

Read authored copy, styles, blocks and rules for the specified theme and notification. Preview sample values are excluded.

ParameterTypeDescription
key *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

list_blocks List email blocks and insertion anchors

List native and custom block IDs, order, locks, visibility and valid insertion anchors for the specified email.

ParameterTypeDescription
key *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

get_email_options Inspect eligible email options

Read available copy fields, design choices and data-field eligibility for this email. This tool does not execute edits.

ParameterTypeDescription
key *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

list_rule_recipes List reusable rule recipes

Read the workspace saved condition library. Requires explicit workspace editor consent; contains no preview sample data.

get_shopify_data_catalog Read discovered Shopify custom-data definitions

Read schema-only snapshots last discovered in the connected store, with resource, type, binding eligibility and refresh time. Requires explicit workspace access. Does not fetch live values or expose saved samples.

ParameterTypeDescription
resource

list_data_fields List eligible email data fields

List standard notification fields and registered metafield definitions for content or rules. Workspace grants also include Shopify definitions from the latest authorized discovery snapshot. Definition discovery does not prove a value exists when a notification sends.

ParameterTypeDescription
key *string
purpose
scope

get_editor_formats Read an editor content format

Read the actual checked JSON format for variable content, conditions, field references or custom HTML/Liquid.

ParameterTypeDescription
format *

get_block_formats Read supported block formats

Read supported block types, properties, defaults and limits before constructing a block.

ParameterTypeDescription
typestring

list_images List available email images

List public library images and authorized uploaded images usable in email blocks. Narrow grants reveal only uploads referenced by their theme.

ParameterTypeDescription
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

get_preview_data Read saved preview sample data

Read saved sample data for the authorized workspace or a theme notification. Requires explicitly granted workspace editor access.

ParameterTypeDescription
keystring
theme_idstringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

preview_email Preview a notification email

Render the actual current email as preview HTML. Uses fictional library samples unless explicit data is supplied or authorized saved samples are requested.

ParameterTypeDescription
key *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
dataobject
use_saved_samplesboolean

inspect_email Inspect compiled email HTML and Liquid

Compile and inspect the current authored email without saving a change. Return structural checks and a bounded source excerpt.

ParameterTypeDescription
key *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
max_charactersinteger

export_email Download one notification template

Create an actual short-lived download of the specified current notification as Shopify Liquid or preview HTML. This does not install or send it.

ParameterTypeDescription
key *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
format

export_theme Download a complete email theme

Create an actual ZIP download containing the current theme notification templates, required image copies and installation instructions.

ParameterTypeDescription
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
include_imagesboolean

get_change_history Review theme edit history

Read bounded, scoped change summaries for the specified theme. Unrelated theme content and history are excluded.

ParameterTypeDescription
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
limitinteger

create_custom_theme Create a custom email theme

Create a new theme with the header and essential native Shopify blocks for each notification. New themes inherit the store logo unless inherit_store_logo is false. Optional blocks can be added back. Use list_blocks to review the notification checklist.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
name *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
inherit_store_logoboolean

copy_theme Copy a theme

Create an owned copy of a public theme example or an existing theme in the authorized workspace, with the supplied name.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
name *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
source_id *stringlibrary stem (20: 01-porcelain, 02-paper, 03-studio, …) or an owned theme id
source_kind *string
carry_fromstring
if_existsstring
include_startersboolean
inherit_store_logoboolean

rename_theme Rename a theme

Rename the specified owned theme. Its immutable ID and authored content remain the same.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
name *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

archive_theme Archive a theme

Archive the specified theme without permanently deleting it. It can be restored.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

restore_theme Restore a theme

Restore an archived theme in the authorized scope.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

set_workspace_active_theme Set the workspace active theme

Set which owned theme is active in the authorized workspace.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

set_brand_details Update shared brand details

Update one validated brand profile field shared by the workspace themes.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
value *string | null

copy_brand_settings Copy brand settings between themes

Copy supported branding from one authorized owned theme to another authorized theme.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
from_theme_id *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

set_email_item_layout Set email product data and layout

Configure a notification’s checked order-item cards, static products, scalar product title and additional detail bindings with missing-value fallbacks, columns and mobile stacking. Omit binding to restore the original theme layout. Does not change Shopify or confirm installation.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
bindingobject

set_theme_font Set a theme custom font

Use a hosted WOFF2 file in the confirmed Shopify Files folder across this theme. Email clients can use the existing font stacks as fallbacks. Pass null to remove the custom font.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
url *string | null

set_checklist_item Set an email checklist requirement

Mark a block as required for one email, or remove an additional requirement. Built-in essential requirements are retained. Use list_blocks to see missing, hidden and conditional checklist items.

ParameterTypeDescription
block_id *string
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
required *boolean
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

set_brand_color Set a theme brand color

Set a named light or dark color role in the specified theme.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
hex *string | null
mode *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
role *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

set_brand_typography Set theme typography

Set a supported typography value in the specified theme.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
value *string | number | boolean | null

set_brand_shape Set a theme shape value

Set a supported shape value such as corner radius in the specified theme.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
value *string | null

set_theme_token Set a theme design token

Set a supported, validated light appearance token in the specified theme.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
value *string | number | boolean | null

set_dark_theme_token Set a dark appearance token

Set a supported, validated dark appearance token in the specified theme.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
value *string | number | boolean | null

set_theme_layout Set a theme layout option

Set a layout option supported by this theme structure.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
value *string | number | boolean | null

set_shared_setting Set a shared email setting

Update one validated workspace setting used by its email themes. Merchant-only external URL confirmations remain separate.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
value *string | null

set_theme_setting Set a theme email setting

Update one supported email setting in the specified theme.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
value *string | null

set_section_visibility Set section visibility

Set the supported visibility state of a native email section.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
sid *string
state *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

set_section_lock Set an email section lock

Lock or unlock a native section before a supported removal or visibility change.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
locked *boolean
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
sid *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

remove_section Remove a native email section

Remove an unlocked native section from an email. Validation reports essential information affected by the change.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
sid *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

restore_section Restore a native email section

Restore a previously removed native section in an email.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
sid *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

set_email_copy Set literal email copy

Update a supported literal-copy field in the specified notification and language. Structured variables use set_email_content.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
field *string
key *string
lang *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
value *string | null

set_email_content Set email copy with data fields

Set a supported copy field using the checked content/1 text-and-variable format.

ParameterTypeDescription
content *object
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
field *string
key *string
lang *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

set_email_style Set an email appearance override

Set one supported appearance override for the specified notification email.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
field *string
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
value *string | number | boolean | null

set_email_brand_defaults Use theme brand defaults for an email

Enable or disable use of the theme brand defaults for the specified notification.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
on *boolean
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

set_block_style Set native block styling

Set a supported style property on a native block in the specified email.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
field *string
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
sid *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
value *string | number | boolean | null

set_native_block_visibility Set native block visibility

Show or hide a native email block where its locks and validation allow it.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
hidden *boolean
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
sid *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

set_section_rule Set a native section condition

Set a checked rule/1 condition controlling a native section in the specified email.

remove_section_rule Remove a native section condition

Remove a condition from the specified native email section.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
sid *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

set_block_rule Set a custom block condition

Set a checked rule/1 condition controlling the specified custom block.

remove_block_rule Remove a custom block condition

Remove the condition on the specified custom block.

ParameterTypeDescription
block_id *string
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

set_block_content Bind data fields in block content

Set one supported custom block field using checked content/1 text and variable parts.

ParameterTypeDescription
block_id *string
content *object
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
field *string
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

remove_block_content Remove a block data binding

Remove the structured binding from one custom block field, returning to its literal content.

ParameterTypeDescription
block_id *string
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
field *string
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

add_data_field Register a shared data field

Register a labeled scalar order, product or variant metafield definition for reuse in email content and rules. This does not verify its existence in Shopify or fetch live values.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
field *object
label *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.

remove_data_field Remove a shared data field definition

Remove a registered metafield from the workspace field catalog. This does not delete data in Shopify.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
id *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.

save_rule_recipe Save a reusable rule recipe

Save a checked condition by name for reuse across workspace emails. Saving the same name updates the recipe; applied block rules keep independent copies.

remove_rule_recipe Remove a reusable rule recipe

Remove a saved condition recipe without changing rules already applied to email blocks.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
id *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.

set_preview_data Set email preview sample data

Set validated JSON preview data for the workspace or for one theme notification. These values are samples, not live Shopify data.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
value *object
keystring
theme_idstringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

set_shared_block_content Set shared reusable block content

Set a validated shared field used by reusable content blocks across this workspace.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
field *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
section *string
value *string | null

reorder_blocks Reorder email blocks

Save the complete ordered list of native and custom block IDs in an email. A changed block list is refused.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
order *array
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

add_block Add an email block

Add one supported block at a valid insertion anchor. Includes text, images, buttons, reusable content blocks and validated custom HTML/Liquid.

ParameterTypeDescription
after *string
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
type *string
before_idstring
propsobject

update_block Update an email block field

Update one validated property of a custom block, including content, layout or visibility.

ParameterTypeDescription
block_id *string
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
field *string
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
value *string | number | boolean | null
local_copybooleanFor a reusable content block, atomically make a local copy before changing this field. Shared workspace values remain separate.

set_custom_code Set custom email HTML and Liquid

Replace a custom-code block with validated email HTML, supported inline CSS and eligible Shopify Liquid. Scripts and unsupported code are rejected.

ParameterTypeDescription
block_id *string
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
html *string
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

move_block Move an email block

Move a custom block to a supported native anchor or before another custom block.

ParameterTypeDescription
after *string
block_id *string
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
before_idstring

duplicate_block Duplicate an email block

Create an independent copy of one custom block inside its email.

ParameterTypeDescription
block_id *string
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

remove_block Remove a custom email block

Remove the specified custom block in one undoable change.

ParameterTypeDescription
block_id *string
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

import_email_content Import editable content from Shopify email code

Take pasted Shopify notification HTML or Liquid and extract literal text, approved images, and store links as editable blocks. Dry-run returns the selected blocks and skipped-content counts. Existing blocks and native Shopify logic stay in place. This action does not fetch or install a Shopify template.

ParameterTypeDescription
after *string
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
key *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
source *string
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

studio_snapshot Load the Studio workspace

Load the selected theme and its authored emails for the Studio interface.

ParameterTypeDescription
theme_idstringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

studio_save Save Studio edits

Save one checked group of changes made through the Studio interface.

ParameterTypeDescription
commands *array
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

select_theme Choose the current working theme

Choose an accessible owned theme as this connection’s current context. Subsequent edit calls still name its immutable theme ID explicitly.

ParameterTypeDescription
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.

add_detail_field Add a data field beside email details

Add a text block containing a label and a checked field binding at the chosen insertion anchor, atomically in one undoable change.

ParameterTypeDescription
after *string
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
fallback *string
field *
key *string
label *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
before_idstring | null

undo_edit Undo an authorized theme change

Undo this connection’s recent change group in the specified theme. Dependent groups and changes made by other connections are refused.

ParameterTypeDescription
dry_run *booleanTrue validates without saving. False validates and saves one undoable change.
expected_seq *integerLatest workspace sequence returned by a read. A stale sequence is refused.
group_id *string
request_id *stringUnique ID for this change. Reuse it only when retrying the identical operation.
theme_id *stringAn owned theme ID returned by list_themes, copy_theme or create_custom_theme.
with_dependentsboolean

upload_image Upload a public email image

Upload a JPEG or PNG image to Shopemail’s immutable public image hosting for use in email blocks. Maximum 3 MB and 1600 pixels per side. Requires workspace editor access.

ParameterTypeDescription
content_type *
data *stringStandard base64-encoded bitmap bytes, without a data-URL prefix.
name *string