Asset

Version 2019-10

Theme assets are the individual files that make up a shop's theme.

A theme's assets include its templates, images, stylesheets, and extra snippets of code. They are arranged among the theme's directories, such as layout, templates, and assets. You can use the Asset resource to add, change, or remove asset files from a shop's theme. For a complete list of theme directories, see Theme structure.

To learn how to create your own theme, see Building themes.

What you can do with Asset

The Shopify API lets you do the following with the Asset resource. More detailed versions of these general actions may be available: