hydrogen customer-account-pushcommand
Push project configuration to admin
Anchor to flagsFlags
The following flags are available for the hydrogen customer-account-push
command:
- Anchor to --dev-origin <value>--dev-origin <value>stringrequired
The development domain of your application.
- Anchor to --path <value>--path <value>stringenv: 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/'
hydrogencustomeraccountpush
- --dev-origin <value>
The development domain of your application.
string
- --path <value>
The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.
string
- --relative-logout-uri <value>
The relative url of allowed url that will be redirected to post-logout for Customer Account API OAuth flow. Default to nothing.
string
- --relative-redirect-uri <value>
The relative url of allowed callback url for Customer Account API OAuth flow. Default is '/account/authorize'
string
- --storefront-id <value>
The id of the storefront the configuration should be pushed to. Must start with 'gid://shopify/HydrogenStorefront/'
string
export interface hydrogencustomeraccountpush {
/**
* The development domain of your application.
*
*/
'--dev-origin <value>': string
/**
* The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.
* @environment SHOPIFY_HYDROGEN_FLAG_PATH
*/
'--path <value>'?: string
/**
* The relative url of allowed url that will be redirected to post-logout for Customer Account API OAuth flow. Default to nothing.
*
*/
'--relative-logout-uri <value>'?: string
/**
* The relative url of allowed callback url for Customer Account API OAuth flow. Default is '/account/authorize'
*
*/
'--relative-redirect-uri <value>'?: string
/**
* The id of the storefront the configuration should be pushed to. Must start with 'gid://shopify/HydrogenStorefront/'
*
*/
'--storefront-id <value>'?: string
}
Hydrogen customer-account-push
examples
hydrogen customer-account-push
hydrogen customer-account-push
shopify hydrogen customer-account-push [flags]