Skip to main content
Anchor to ThemeFilesUpsertPayload

ThemeFilesUpsertPayload

payload

Return type for themeFilesUpsert mutation.

•Job

The theme files write job triggered by the mutation.

•[OnlineStoreThemeFileOperationResult!]

The resulting theme files.

•[OnlineStoreThemeFilesUserErrors!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•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?