Anchor to hydrogenStorefrontCreatehydrogen
hydrogenStorefrontCreate
mutation
Requires Request must be initiated from the Shopify CLI and user must have full access to apps or access to the Hydrogen channel.
Creates a Hydrogen storefront.
Anchor to Arguments
Arguments
- Anchor to titletitle•String!required
The title for the Hydrogen storefront.
Was this section helpful?
Anchor to HydrogenStorefrontCreatePayload returnsHydrogenStorefrontCreatePayload returns
- Anchor to jobIdjob•
Id ID for job that connects the Hydrogen storefront to Oxygen.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation hydrogenStorefrontCreate($title: String!) {
hydrogenStorefrontCreate(title: $title) {
jobId
userErrors {
field
message
}
}
}
Input
{
"title": "<your-title>"
}
{
"title": "<your-title>"
}