Theme
Manage storefront themes: list, install, publish, and maintain themes
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, and delete themes, get the default theme, rename, duplicate, publish, and upgrade a theme, browse the theme market and install a theme from it, and query background tasks. To read and write a theme's files, see Theme File; to edit a theme through an edit session, see Theme Session.
List themes
List the store's themes; filter by `published` or `ids`.
Get theme info
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.
Rename theme
Change the display name of a theme in the current store.
Duplicate theme
Copy an existing theme within the current store into a new one and return the new theme ID;
Publish theme
Publish a specific theme using its unique identifier.
Upgrade theme
Create a new theme upgraded to the latest version from the specified theme, carrying over its
List market themes
Retrieve the installable platform themes in the theme market. Supports filtering by price
Install market theme
Install a theme from the theme market into the current store by its market theme id. Supports
Get theme task
Get the status and details of a theme background task, such as a theme upload or upgrade.