Create theme asset
documentedCreate a new theme asset.
POST /admin/api/2026-01/themes/{theme_id}/assets.jsonOnline Storeno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$store_name}}.myshopify.com/admin/api/2026-01/themes/{{$theme_id}}/assets.json" \
-X PUT \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-Shopify-Access-Token: {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"asset": {"key": "{{$asset_key}}", "src": "{{$asset_src}}", "value": "{{$asset_value}}", "attachment": "{{$asset_attachment}}"}}'