Hydrogen Storefront Environment Update User Error
Requires Request must be initiated from the Shopify CLI and user must have full access to apps or access to the Hydrogen channel.
An error that occurs while updating a Hydrogen storefront environment.
Learn more about Hydrogen environments.
Anchor to FieldsFields
- code (HydrogenStorefrontEnvironmentUpdateUserErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Hydrogen
Storefront Environment Update User Error Code The error code.
Show enum values
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- hydrogenStorefrontEnvironmentUpdate (HydrogenStorefrontEnvironmentUpdatePayload)
- •mutation
Updates whether a Hydrogen storefront environment is public. A private environment can only be visited with an access token; a public one serves anyone at its URL.
Making an environment public counts toward the shop's limit of public environments. Preview environments can't be updated.
Learn more about Hydrogen environments.
Show payload
- Anchor to environmentIdenvironment•ID!
Id required The ID of the environment to update.
- Anchor to publicpublic•Boolean!required
Whether the environment can be visited without an access token.
- Anchor to storefrontIdstorefront•ID!
Id required The ID of the storefront.
Arguments