Theme
Manage storefront themes, including installation, configuration, and asset editing
A theme controls the storefront's visual layout and templates, and consists of layouts, templates, sections, snippets, assets, configs, and locale files.
Provides endpoints to list, retrieve, delete, publish, and upgrade themes, query the default theme and background tasks, browse the theme doc tree, create, read, update, rename, and delete theme files, and inspect file version history.
List themes
Retrieve a list of all themes.
Get theme
Retrieve details of a specific theme using its unique identifier.
Delete theme
Delete a specific theme using its unique identifier. The default theme cannot be deleted.
Get default theme
Get the details of the store's default theme.
Publish theme
Publish a specific theme using its unique identifier.
Get theme task
Get the status and details of a theme background task, such as a theme upload or upgrade.
Upgrade theme
Create a new theme upgraded to the latest version from the specified theme, carrying over its
Get theme file tree
Get the file tree of the specified theme.
Get theme file
Retrieve details of a specific theme's doc file using its unique identifier
Create theme file
Creates a new file within the specified theme.
Delete theme file
Delete a specific theme file by theme ID, file type, and file location. `assets/theme.css` and
Update theme file
Replace the whole content of the specified file. Changes to the default theme's files take
Rename theme file
Renames an existing file within the specified theme.
List versions of a theme file
Returns the version history for a single theme file.
Get theme file version
Retrieves a specific version of a theme file by its version ID.
List versions of all theme files
Returns the version history for all files in the specified theme.