--- title: OnlineStoreThemeFilesUpsertFileInput - GraphQL Admin description: The input fields for the file to create or update. api_version: 2025-10 api_name: admin type: input-object api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OnlineStoreThemeFilesUpsertFileInput md: https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OnlineStoreThemeFilesUpsertFileInput.md --- # 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/latest/input-objects/OnlineStoreThemeFileBodyInput) required The body of the theme file. * filename [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The filename of the theme file. *** ## Map No referencing types