alegra contacts
alegra contacts¶
Manage contacts (clients and providers)
Synopsis¶
Create, list, update, and delete Alegra contacts — your clients and providers.
Body notes: identification is an object {type, number} (e.g. {"type":"NIT","number":"901123456"}); type is an array like ["client"] or ["provider"]; kindOfPerson is LEGAL_ENTITY or PERSON_ENTITY.
Options¶
-h, --help help for contacts
Options inherited from parent commands¶
--base-url string Override the API base URL (env: ALEGRA_BASE_URL)
--columns strings Comma-separated columns for table/csv output
--dry-run Print the equivalent curl request without sending it
--no-color Disable colored output (also respects the NO_COLOR env var)
-o, --output string Output format: table, json, yaml, csv (env: ALEGRA_OUTPUT)
--profile string Configuration profile to use (env: ALEGRA_PROFILE)
--requests-per-second float Client-side rate limit (default from config)
--show-token In --dry-run, do not redact the Authorization header
-v, --verbose Enable verbose (debug) logging to stderr
SEE ALSO¶
- alegra - Alegra accounting system CLI
- alegra contacts create - Create a contact
- alegra contacts delete - Delete a contact by ID
- alegra contacts export - Export all contacts to CSV or JSON
- alegra contacts get - Get a single contact by ID
- alegra contacts import - Bulk-create contacts from a CSV file
- alegra contacts list - List contacts
- alegra contacts update - Update a contact by ID