Online Store Theme Files User Errors
Requires The user needs write_themes and an exemption from Shopify to modify theme files.
User errors for theme file operations.
Anchor to FieldsFields
- Anchor to codecode•
The error code.
- Anchor to fieldfield•
The path to the input field that caused the error.
- Anchor to filenamefilename•
The filename of the theme file.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- •mutation
Copy theme files. Copying to existing theme files will overwrite them.
- Anchor to filesfiles•[Theme
Files Copy File Input!]!required The files to update.
- Anchor to themeIdtheme•
Id ID!required The theme to update.
Arguments
- Anchor to copiedThemeFilescopied•
Theme Files The resulting theme files.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Fields
- •mutation
Deletes a theme's files.
- Anchor to filesfiles•[String!]!required
The files to delete.
- Anchor to themeIdtheme•
Id ID!required Specifies the theme to deleted.
Arguments
- Anchor to deletedThemeFilesdeleted•
Theme Files The resulting theme files.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Fields
- •mutation
Create or update theme files.
- Anchor to filesfiles•
The files to update.
- Anchor to themeIdtheme•
Id ID!required The theme to update.
Arguments
- •
The theme files write job triggered by the mutation.
- Anchor to upsertedThemeFilesupserted•
Theme Files The resulting theme files.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Fields