Menu

Shopify Theme API 2026: Read Theme Files, Check App Block Support & the write_themes Exemption
πŸ“°

Shopify Theme API 2026: Read Theme Files, Check App Block Support & the write_themes Exemption

DEV Community: graphqlΒ·Fayyaz AhmedΒ·about 9 hours ago
#kJu168RC
#devtographql#devto#dev#theme#shopify
Long article (1641 words) β€” no AI summary yet.
Reading 0:00
15s threshold

Shopify theme API tutorial (2026): read every theme and theme file from your own Shopify app with the GraphQL Admin API - and see what happens when the app tries to change one. Even with write_themes on my own store, Shopify answers ACCESS_DENIED without an exemption. Then the approved route: checking which themes accept app blocks. Shopify app development series, episode 17 - everything shown is real, nothing skipped.

What you'll learn

Scope write_themes / read_themes

themes(roles: [MAIN]) + theme ids

theme.files with wildcards (the GraphQL theme assets API)

Read a file's content (and the JSON comment gotcha)

themeFilesUpsert β†’ ACCESS_DENIED + the exemption

App block support: @app in the section schema

GraphQL aliases: one request for every theme

πŸ’» Free source code for this episode: https://github.com/fayyaz315/shopify-app-development-2026/tree/ep17

3 quick fixes from this episode

Shopify Theme API: Why themeFilesUpsert Says ACCESS_DENIED

Shopify theme API (2026-10): my app has write_themes, on…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.