---
title: OnlineStoreThemeFileBody - GraphQL Admin
description: Represents the body of a theme file.
api_version: 2026-10
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
api_name: admin
api_type: graphql
type: union
---

# 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
```
