Anchor to themeFilesUpserttheme
mutationtheme Files Upsert
Requires The user needs write_themes and an exemption from Shopify to modify theme files. If you think that your app is eligible for an exemption and should have access to this API, then you can submit an exception request.
Create or update theme files.
Anchor to Arguments
Arguments
- Anchor to filesfiles•[Online
Store Theme Files Upsert File Input!]!required The files to update.
- Anchor to themeIdtheme•ID!required
Id The theme to update.
Was this section helpful?
- •Job
The theme files write job triggered by the mutation.
- Anchor to upsertedThemeFilesupserted•[Online
Theme Files Store Theme File Operation Result!] The resulting theme files.
- Anchor to userErrorsuser•[Online
Errors Store Theme Files User Errors!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?