Anchor to hydrogenStorefrontEnvironmentVariableBulkReplacehydrogen
mutationhydrogen Storefront Environment Variable Bulk Replace
Requires Request must be initiated from the Shopify CLI and user must have full access to apps or access to the Hydrogen channel.
Replaces a given environment's variables.
Anchor to Arguments
Arguments
- Anchor to environmentIdenvironment•ID!required
Id The environment ID for which the variables will be set.
- Anchor to environmentVariablesInputenvironment•[Hydrogen
Variables Input Storefront Environment Variable Input!]!required An array of objects, each representing an environment variable to be created.
- Anchor to storefrontIdstorefront•ID!required
Id The ID of the storefront.
Was this section helpful?
Anchor to HydrogenStorefrontEnvironmentVariableBulkReplacePayload returnsHydrogen Storefront Environment Variable Bulk Replace Payload returns
- Anchor to userErrorsuser•[Environment
Errors Variables User Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?