hydrogenStorefrontEnvironmentVariableBulkReplace - admin-graphql - MUTATION
Version: unstable
Description:
Replaces a given environment's variables.
Access Scopes
Request must be initiated from the Shopify CLI and user must have full access to apps or access to the Hydrogen channel.
Arguments
-
environmentId:
ID! -
The environment ID for which the variables will be set.
-
environmentVariablesInput:
HydrogenStorefrontEnvironmentVariableInput! -
An array of objects, each representing an environment variable to be created.
-
storefrontId:
ID! -
The ID of the storefront.
Returns
-
userErrors:
EnvironmentVariablesUserError!
The list of errors that occurred from executing the mutation.
Examples