Sign in

Create theme asset

documented

Create a new theme asset.

POST /admin/api/2026-01/themes/{theme_id}/assets.jsonOnline Storeno implementation yet0 runs

Input

store_name
Shop domain / store name
e.g. my-store
theme_id*
Theme ID
e.g. 828155753
asset_key*
Asset key (path within theme)
e.g. assets/theme.css
asset_src
Asset source URL
e.g. https://example.com/theme.css
asset_value
Asset content (inline content)
e.g. /* CSS content */
asset_attachment
Asset attachment (Base64)
Base64 string
Calls Shopify as you (your API key is your account); keychains.dev holds the credentials.