Online Store Theme File Operation Result
Requires access scope.
Represents the result of a copy, delete, or write operation performed on a theme file.
Anchor to FieldsFields
- Anchor to checksumMd5checksum•String
Md5 The md5 digest of the theme file for data integrity.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the theme file was created.
- Anchor to filenamefilename•String!non-null
Unique identifier of the theme file.
- Anchor to sizesize•Unsigned
Int64! non-null The size of the theme file in bytes.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time when the theme file was last updated.
Anchor to MutationsMutations
- •mutation
Copy theme files. Copying to existing theme files will overwrite them.
- Anchor to themeIdtheme•ID!
Id required The theme to update.
- Anchor to filesfiles•[Theme
Files Copy File Input!]! required The files to update.
Arguments
- •mutation
Deletes a theme's files.
- Anchor to themeIdtheme•ID!
Id required Specifies the theme to deleted.
- Anchor to filesfiles•[String!]!required
The files to delete.
Arguments
- •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.
NoteYou can process a maximum of 50 files in a single request.
Each file requires a filename and body content. The body must specify a
typewith the correspondingvalue. The mutation returns ajobfield for tracking asynchronous operations and anfield with details about the processed files.- Anchor to themeIdtheme•ID!
Id required The theme to update.
- Anchor to filesfiles•[Online
Store Theme Files Upsert File Input!]! required The files to update.
Arguments