Skip to main content
mutation

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.

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

•[ThemeFilesCopyFileInput!]!
required

The files to update.

Show input fields
•ID!
required

The theme to update.


Was this section helpful?

Anchor to ThemeFilesCopyPayload returnsThemeFilesCopyPayload returns

•[OnlineStoreThemeFileOperationResult!]

The resulting theme files.

Show fields
•[OnlineStoreThemeFilesUserErrors!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?