--- title: OnlineStoreThemeFileOperationResult - GraphQL Admin description: >- Represents the result of a copy, delete, or write operation performed on a theme file. api_version: 2025-01 api_name: admin type: object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2025-01/objects/OnlineStoreThemeFileOperationResult md: >- https://shopify.dev/docs/api/admin-graphql/2025-01/objects/OnlineStoreThemeFileOperationResult.md --- # Online​Store​Theme​File​Operation​Result object Requires `read_themes` access scope. Represents the result of a copy, delete, or write operation performed on a theme file. ## Fields * filename [String!](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String) non-null Unique identifier of the theme file. *** ## Map No referencing types *** ## Mutations * [theme​Files​Copy](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/themeFilesCopy) mutation Copy theme files. Copying to existing theme files will overwrite them. * [theme​Files​Delete](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/themeFilesDelete) mutation Deletes a theme's files. * [theme​Files​Upsert](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/themeFilesUpsert) mutation Creates or updates theme files in an online store theme. This mutation allows batch operations on multiple theme files, either creating new files or overwriting existing ones with the same filename. *** Note You can process a maximum of 50 files in a single request. *** Each file requires a filename and body content. The body must specify a [`type`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/themeFilesUpsert#arguments-files.fields.body.type) with the corresponding [`value`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/themeFilesUpsert#arguments-files.fields.body.value). The mutation returns a [`job`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/themeFilesUpsert#returns-job) field for tracking asynchronous operations and an [`upsertedThemeFiles`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/themeFilesUpsert#returns-upsertedThemeFiles) field with details about the processed files. *** ## <\~> OnlineStoreThemeFileOperationResult Mutations ### Mutated by * <\~>[theme​Files​Copy](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/themeFilesCopy) * <\~>[theme​Files​Delete](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/themeFilesDelete) * <\~>[theme​Files​Upsert](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/themeFilesUpsert)