Anchor to ThemeCreatePayloadTheme
payloadTheme Create Payload
Return type for mutation.
Anchor to FieldsFields
- theme (OnlineStoreTheme)
- userErrors ([ThemeCreateUserError!]!)
- 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?
Anchor to Mutations with this payloadMutations with this payload
- themeCreate (ThemeCreatePayload)
- •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
mutation. The theme displays in the Themes page in the Shopify admin.New themes have an
role by default. You can optionally specify arole for temporary themes used during development.- Anchor to sourcesource•URL!required
An external URL or a staged upload URL of the theme to import.
- Anchor to namename•String
The name of the theme to be created.
- Anchor to rolerole•Theme
Role Default:UNPUBLISHED The role of the theme to be created. Only UNPUBLISHED and DEVELOPMENT roles are permitted.
Arguments
Was this section helpful?