Environment variables
Shoplazza CLI reads the following environment variables.
| Variable | Description | Example |
|---|---|---|
SHOPLAZZA_UAT | User Access Token for non-interactive authentication | uat_abc123... |
SHOPLAZZA_STORE | Default store domain | my-store.myshoplaza.com |
Usage
Set these variables for CI/CD pipelines or automated scripts:
export SHOPLAZZA_UAT=your-token
export SHOPLAZZA_STORE=my-store.myshoplaza.com
# Commands will use these credentials automatically
shoplazza products +search --keyword "shirt"
Precedence
- Command-line flags (
--uat,--store-domain) take highest priority - Environment variables are used when flags are not provided
- Stored credentials (OS keychain) are used as fallback