Anchor to themeCreatetheme
mutationtheme Create
Requires The user needs write_themes and an exemption from Shopify to modify themes. 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.
Creates a theme using an external URL or for files that were previously uploaded using the stagedUploadsCreate mutation. These themes are added to the Themes page in Shopify admin.
Anchor to Arguments
Arguments
- Anchor to namename•String
The name of the theme to be created.
- Anchor to rolerole•Theme
RoleDefault:UNPUBLISHED The role of the theme to be created. Only UNPUBLISHED and DEVELOPMENT roles are permitted.
- Anchor to sourcesource•URL!required
An external URL or a staged upload URL of the theme to import.
Was this section helpful?
- Anchor to themetheme•Online
Store Theme The theme that was created.
- Anchor to userErrorsuser•[Theme
Errors Create User Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?