| description |
|---|
B2C CLI command reference with global flags and authentication options for managing Salesforce Commerce Cloud instances. |
The b2c CLI provides commands for managing Salesforce B2C Commerce instances.
These flags are available on all commands that interact with B2C instances:
| Flag | Environment Variable | Description |
|---|---|---|
--server, -s |
SFCC_SERVER |
B2C instance hostname |
--webdav-server |
SFCC_WEBDAV_SERVER |
Secure WebDAV hostname |
--code-version, -v |
SFCC_CODE_VERSION |
Code version |
| Flag | Environment Variable | Description |
|---|---|---|
--client-id |
SFCC_CLIENT_ID |
OAuth client ID |
--client-secret |
SFCC_CLIENT_SECRET |
OAuth client secret |
--username, -u |
SFCC_USERNAME |
Username for Basic Auth |
--password, -p |
SFCC_PASSWORD |
Password/access key for Basic Auth |
| Environment Variable | Description |
|---|---|
B2C_SKIP_NEW_VERSION_CHECK |
Skip the new version availability check |
- Code Commands - Deploy cartridges and manage code versions
- Job Commands - Execute and monitor jobs, import/export site archives
- Sites Commands - List and manage sites
- WebDAV Commands - File operations on instance WebDAV
- Sandbox Commands - Create and manage On-Demand Sandboxes
- MRT Commands - Manage Managed Runtime (MRT) projects and deployments
- SLAS Commands - Manage Shopper Login and Access Service (SLAS) API clients
- CIP Commands - Run CIP SQL queries and curated analytics reports
- Custom APIs - SCAPI Custom API endpoint status
- Scaffold Commands - Generate cartridges, controllers, hooks, and more from templates
- Account Manager Commands - Manage Account Manager users, roles, organizations, and API clients
All Account Manager commands are under the am topic:
b2c am users ...- User management commandsb2c am roles ...- Role management commandsb2c am orgs ...- Organization management commandsb2c am clients ...- API client management (list, get, create, update, delete, password)
- Docs Commands - Search/read Script API docs and XSD schemas, and download docs from an instance
- Auth Commands - Authentication and token management
- Logging - Log levels, output formats, and environment variables
Get help for any command:
b2c --help
b2c code --help
b2c code deploy --help