Anchor to HydrogenStorefrontEnvironmentUpdatePayloadHydrogen
payloadHydrogen Storefront Environment Update Payload
Return type for mutation.
Anchor to FieldsFields
- userErrors ([HydrogenStorefrontEnvironmentUpdateUserError!]!)
- Anchor to userErrorsuser•[Hydrogen
Errors Storefront Environment Update User Error!]! 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
- 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
Was this section helpful?