Skip to main content
Anchor to ThemeCreateUserError

ThemeCreateUserError

object

An error that occurs during the execution of ThemeCreate.

•ThemeCreateUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

Creates a theme from an external URL or staged upload. The theme source can either be a ZIP file hosted at a public URL or files previously uploaded using the stagedUploadsCreate mutation. The theme displays in the Themes page in the Shopify admin.

New themes have an UNPUBLISHED role by default. You can optionally specify a DEVELOPMENT role for temporary themes used during development.

Arguments

•URL!
required

An external URL or a staged upload URL of the theme to import.

•String

The name of the theme to be created.

•ThemeRole
Default:UNPUBLISHED

The role of the theme to be created. Only UNPUBLISHED and DEVELOPMENT roles are permitted.



Was this section helpful?


Was this section helpful?