--- title: ThemeFilesUpsertPayload - GraphQL Admin description: Return type for `themeFilesUpsert` mutation. api_version: 2025-10 api_name: admin type: payload api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/payloads/themefilesupsertpayload md: https://shopify.dev/docs/api/admin-graphql/latest/payloads/themefilesupsertpayload.md --- # Theme​Files​Upsert​Payload payload Return type for `themeFilesUpsert` mutation. ## Fields * job [Job](https://shopify.dev/docs/api/admin-graphql/latest/objects/Job) The theme files write job triggered by the mutation. * upserted​Theme​Files [\[Online​Store​Theme​File​Operation​Result!\]](https://shopify.dev/docs/api/admin-graphql/latest/objects/OnlineStoreThemeFileOperationResult) The resulting theme files. * user​Errors [\[Online​Store​Theme​Files​User​Errors!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/OnlineStoreThemeFilesUserErrors) non-null The list of errors that occurred from executing the mutation. *** ## Mutations with this payload * [theme​Files​Upsert](https://shopify.dev/docs/api/admin-graphql/latest/mutations/themeFilesUpsert) mutation Create or update theme files. *** ## Map ### Mutations with this payload * [theme​Files​Upsert](https://shopify.dev/docs/api/admin-graphql/latest/types/themeFilesUpsert)