--- title: OnlineStoreThemeFilesUpsertFileInput - GraphQL Admin description: The input fields for the file to create or update. api_version: 2024-10 api_name: admin type: input_object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/OnlineStoreThemeFilesUpsertFileInput md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/OnlineStoreThemeFilesUpsertFileInput.txt --- # Online​Store​Theme​Files​Upsert​File​Input input\_object The input fields for the file to create or update. ## Fields * body [Online​Store​Theme​File​Body​Input!](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/OnlineStoreThemeFileBodyInput) required The body of the theme file. * filename [String!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) non-null The filename of the theme file. *** ## Mutations using this input * [theme​Files​Upsert.​files](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/themeFilesUpsert#argument-files) MUTATION *** ## Map ### Mutations using this input * <\~>[theme​Files​Upsert.files](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/themeFilesUpsert#argument-files)