--- title: OnlineStoreThemeFileBody - GraphQL Admin description: Represents the body of a theme file. api_version: 2026-04 api_name: admin type: union api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/unions/onlinestorethemefilebody md: https://shopify.dev/docs/api/admin-graphql/latest/unions/onlinestorethemefilebody.md --- # Online​Store​Theme​File​Body union Requires `read_themes` access scope. Represents the body of a theme file. ## Fields with this union * [Online​Store​Theme​File.body](https://shopify.dev/docs/api/admin-graphql/latest/objects/OnlineStoreThemeFile#field-OnlineStoreThemeFile.fields.body) OBJECT Represents a theme file. *** ```graphql union OnlineStoreThemeFileBody = OnlineStoreThemeFileBodyBase64 | OnlineStoreThemeFileBodyText | OnlineStoreThemeFileBodyUrl ```