jazzhq-cli
Command-line tool for managing customer and partner data using the JazzHQ APIs.
Install
uv tool install jazzhq-cli
# or
pipx install jazzhq-cli
# or, inside a virtual environment
pip install jazzhq-cli
This puts a jazzhq-cli command on your PATH.
Configure
jazzhq-cli authenticates with a vendor API key, sent as the X-API-KEY header on
every request. Set it, along with the API host, as environment variables:
export JAZZHQ_API_KEY="your-vendor-api-key"
export JAZZHQ_API_BASE_URL="https://api.jazzhq.ai"
Or override either one per-command with --api-key / --base-url, which take
precedence over the environment variables:
jazzhq-cli list-partners --api-key "your-vendor-api-key" --base-url "https://api.jazzhq.ai"
If neither the environment variable nor the flag is set, the command exits with a configuration error before making any request.
Commands
Every command prints the raw JSON API response body to stdout on success. Errors go to stderr, including any field-level validation errors returned by the API.
All commands accept --api-key and --base-url as described above.
invite-partner
Invite a new partner.
| Flag | Required | Description |
|---|---|---|
--company-name |
yes | Partner's company name |
--contact-name |
yes | Primary contact's full name |
--contact-email-address |
yes | Primary contact's email address |
--contact-phone |
no | Primary contact's phone number |
--type |
no | One of RESELLER, DISTRIBUTOR |
jazzhq-cli invite-partner \
--company-name "Acme Inc" \
--contact-name "Jane Doe" \
--contact-email-address "jane@acme.com" \
--type RESELLER
The table above covers the commonly used fields. Run jazzhq-cli invite-partner --help
for the full set of accepted options.
reinvite-partner
Resend an invite email to an existing partner.
| Argument / Flag | Required | Description |
|---|---|---|
partner_id (positional) |
yes | The partner's ID |
--email-address |
yes | Email address to resend the invite to |
jazzhq-cli reinvite-partner 1001 --email-address "jane@acme.com"
list-partners
List partners connected to your vendor account.
| Flag | Required | Default | Description |
|---|---|---|---|
--page |
no | 0 |
Page number |
--per-page |
no | 20 |
Results per page |
--sort-by |
no | id |
Field to sort by |
jazzhq-cli list-partners --page 0 --per-page 20
Exit codes
| Code | Meaning |
|---|---|
0 |
Success |
1 |
API error (e.g. duplicate entry, validation failure) or network error |
2 |
Usage or configuration error (missing arg, missing API key/base URL) |
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jazzhq_cli-0.1.1.tar.gz.
File metadata
- Download URL: jazzhq_cli-0.1.1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fadc7de8739e795d0ac02267d0842f547d2b056c4475c4e86d285fed2c2defae
|
|
| MD5 |
cd2fa54a5281455ad36f628aa6831518
|
|
| BLAKE2b-256 |
f567187c8cb830f2c1cdc2ee09ee538c76b50a7b36162bb2802c1db60c1fc292
|
File details
Details for the file jazzhq_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: jazzhq_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9439a8f6b316faa3387424113ff26a268b62f1b233360b22322628c5ecd0eb68
|
|
| MD5 |
da87fa810e669a2c2d172d1dd426a433
|
|
| BLAKE2b-256 |
b342668d40376e8c0a41396d99bb1e45ffbb40721f0eeeac06950570cd58d9f8
|