Skip to main content

hydrogen customer-account-push
command

Push project configuration to admin

The following flags are available for the hydrogen customer-account-push command:

Anchor to --dev-origin <value>
--dev-origin <value>
string
required

The development domain of your application.

string
env: SHOPIFY_HYDROGEN_FLAG_PATH

The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.

Anchor to --relative-logout-uri <value>
--relative-logout-uri <value>
string

The relative url of allowed url that will be redirected to post-logout for Customer Account API OAuth flow. Default to nothing.

Anchor to --relative-redirect-uri <value>
--relative-redirect-uri <value>
string

The relative url of allowed callback url for Customer Account API OAuth flow. Default is '/account/authorize'

Anchor to --storefront-id <value>
--storefront-id <value>
string

The id of the storefront the configuration should be pushed to. Must start with 'gid://shopify/HydrogenStorefront/'

Was this section helpful?

Hydrogen customer-account-push

shopify hydrogen customer-account-push [flags]