Authentication
To interact with the Shopware Account API, you need to authenticate yourself. Run the command:
shopware-cli account loginA browser window will open for you to log in.
Logout
To log out from the Shopware Account:
shopware-cli account logoutThis removes your stored credentials from the CLI.
CI/CD authentication
For CI/CD pipelines, pass SHOPWARE_CLI_ACCOUNT_CLIENT_ID and SHOPWARE_CLI_ACCOUNT_CLIENT_SECRET as environment variables and directly call the command you want to use. The client ID and client secret can be generated in the Extension Partner section under the Development navigation point in the Shopware Account.
List extensions in producer account
To list all extensions in your producer account (across all projects and versions):
shopware-cli account producer extension listThis displays all extensions you have in the Shopware Store, including their names, versions, and status. This is useful for scripts and automation that need to query your store account.