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•Online
Store Theme Files User Errors Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to filenamefilename•String
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!required
Id The theme to update.
Arguments
- Anchor to copiedThemeFilescopied•[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.
Fields
- •mutation
Deletes a theme's files.
- Anchor to filesfiles•[String!]!required
The files to delete.
- Anchor to themeIdtheme•ID!required
Id Specifies the theme to deleted.
Arguments
- Anchor to deletedThemeFilesdeleted•[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.
Fields
- •mutation
Create or update theme files.
- 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.
Arguments
- •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.
Fields