Skip to main content
Anchor to OnlineStoreThemeFileOperationResult

OnlineStoreThemeFileOperationResult

object

Requires read_themes access scope.

Represents the result of a copy, delete, or write operation performed on a theme file.

String

The md5 digest of the theme file for data integrity.

DateTime!
non-null

The date and time when the theme file was created.

String!
non-null

Unique identifier of the theme file.

UnsignedInt64!
non-null

The size of the theme file in bytes.

DateTime!
non-null

The date and time when the theme file was last updated.


Was this section helpful?

mutation

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

Arguments

ID!
required

The theme to update.

[ThemeFilesCopyFileInput!]!
required

The files to update.


mutation

Deletes a theme's files.

Arguments

ID!
required

Specifies the theme to deleted.

[String!]!
required

The files to delete.


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.

Arguments

ID!
required

The theme to update.

[OnlineStoreThemeFilesUpsertFileInput!]!
required

The files to update.



Was this section helpful?