Skip to main content
Anchor to HydrogenStorefrontEnvironmentUpdateUserError

HydrogenStorefrontEnvironmentUpdateUserError

object

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.

•HydrogenStorefrontEnvironmentUpdateUserErrorCode

The error code.

Show enum values
•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•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

Arguments

•ID!
required

The ID of the environment to update.

•Boolean!
required

Whether the environment can be visited without an access token.

•ID!
required

The ID of the storefront.



Was this section helpful?


Was this section helpful?