Skip to main content
Anchor to HydrogenStorefrontEnvironmentUpdatePayload

HydrogenStorefrontEnvironmentUpdatePayload

payload

Return type for hydrogenStorefrontEnvironmentUpdate mutation.

•[HydrogenStorefrontEnvironmentUpdateUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•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?