Anchor to EnvironmentVariablesUserErrorEnvironment
objectEnvironment Variables User Error
Requires Request must be initiated from the Shopify CLI and user must have full access to apps or access to the Hydrogen channel.
Errors that can happen when interacting with environment variables.
Anchor to FieldsFields
- Anchor to codecode•Environment
Variables User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Was this section helpful?
Anchor to MutationsMutations
- Anchor to hydrogenStorefrontEnvironmentVariableBulkReplacehydrogen•mutation
Storefront Environment Variable Bulk Replace Replaces a given environment's variables.
- 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.
Arguments
- Anchor to userErrorsuser•[Environment
Errors Variables User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?