Skip to main content

moss deal list

List deals with optional filtering.
moss deal list
moss deal list --stage proposal --min-value 10000
OptionRequiredDescription
--page <n>NoPage number
--per-page <n>NoItems per page
--sort <field>NoSort field
--order <dir>NoSort order (asc or desc)
--q <query>NoFull-text search query
--stage <stage>NoFilter by stage (lead, prospect, negotiation, won, lost)
--company-id <id>NoFilter by company
--contact-id <id>NoFilter by linked contact
--min-value <n>NoMinimum deal value
--max-value <n>NoMaximum deal value
--tag <name>NoFilter by tag name

moss deal show

Show details for a single deal.
moss deal show --id deal_abc123
OptionRequiredDescription
--id <id>YesDeal ID

moss deal create

Create a new deal.
moss deal create \
  --name "Acme Corp - Enterprise" \
  --value 50000 \
  --stage lead \
  --company-id cmp_abc123
OptionRequiredDescription
--name <name>YesDeal name
--company-id <id>NoCompany ID
--stage <stage>NoStage (default: lead)
--value <n>NoDeal value
--currency <code>NoCurrency code (default: USD)
--expected-close <date>NoExpected close date (YYYY-MM-DD)
--notes <text>NoFree-text notes
--tags <tags>NoComma-separated tag names
--set <key=value>NoSet a custom field value (repeatable)

moss deal update

Update an existing deal.
moss deal update --id deal_abc123 --value 75000
OptionRequiredDescription
--id <id>YesDeal ID
--name <name>NoDeal name
--company-id <id>NoCompany ID
--value <n>NoDeal value
--currency <code>NoCurrency code
--expected-close <date>NoExpected close date (YYYY-MM-DD)
--notes <text>NoFree-text notes
--tags <tags>NoComma-separated tag names
--set <key=value>NoSet a custom field value (repeatable)

moss deal move

Move a deal to a new stage.
moss deal move --id deal_abc123 --stage proposal
moss deal move --id deal_abc123 --stage lost --lost-reason "Budget cut"
OptionRequiredDescription
--id <id>YesDeal ID
--stage <stage>YesTarget stage
--lost-reason <reason>NoReason (when moving to lost)

moss deal bulk-move

Move multiple deals to a new stage at once.
moss deal bulk-move --ids deal_a1,deal_b2,deal_c3 --stage negotiation
OptionRequiredDescription
--ids <ids>YesComma-separated deal IDs
--stage <stage>YesTarget stage

moss deal delete

Delete a deal.
moss deal delete --id deal_abc123
OptionRequiredDescription
--id <id>YesDeal ID

Deal Contact Commands

Manage contacts linked to a deal.

moss deal contact list

List contacts linked to a deal.
moss deal contact list --deal-id deal_abc123
OptionRequiredDescription
--deal-id <id>YesDeal ID
Link a contact to a deal.
moss deal contact link --deal-id deal_abc123 --contact-id cnt_def456 --role "Decision Maker"
OptionRequiredDescription
--deal-id <id>YesDeal ID
--contact-id <id>YesContact ID
--role <role>NoContact’s role in the deal
Remove a contact from a deal.
moss deal contact unlink --deal-id deal_abc123 --contact-id cnt_def456
OptionRequiredDescription
--deal-id <id>YesDeal ID
--contact-id <id>YesContact ID