Skip to main content
Anchor to OnlineStoreThemeFilesUserErrors

OnlineStoreThemeFilesUserErrors

object

Requires The user needs write_themes and an exemption from Shopify to modify theme files.

User errors for theme file operations.

OnlineStoreThemeFilesUserErrorsCode

The error code.

[String!]

The path to the input field that caused the error.

String

The filename of the theme file.

String!
non-null

The error message.


Was this section helpful?

mutation

Copy theme files. Copying to existing theme files will overwrite them.

mutation

Deletes a theme's files.

mutation

Creates or updates theme files in an online store theme. This mutation allows batch operations on multiple theme files, either creating new files or overwriting existing ones with the same filename.


Note

You can process a maximum of 50 files in a single request.


Each file requires a filename and body content. The body must specify a type with the corresponding value. The mutation returns a job field for tracking asynchronous operations and an upsertedThemeFiles field with details about the processed files.


Was this section helpful?


Was this section helpful?