Move a change to another status
compass_opportunities_set_statusMove a change to one of the workspace's statuses, by name (compass_statuses_list has them — e.g. "In review"). The old lane keys (NEW / QUALIFYING / BACKLOG / EXPERIMENTING / SETTLED / REJECTED) still work and land on that lane's default status. Only changes marked as experiments follow the Ledger: when an experiment enters an In progress status with no registered expectation, offer compass_opportunities_register_expectation; when it enters Done with its Ledger entry still open, offer ledger_entries_settle. Other changes just move. May return needs_confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | A lane key. Use this or `statusName`. | |
| workspace | No | Workspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys. | |
| approvalId | No | Approval id from a prior needs_confirmation response, after the user has approved. Omit on the first call. | |
| statusName | No | A status name from compass_statuses_list. Use this or `status`. | |
| opportunityId | Yes | The change's key (e.g. ACME-12) or id, from compass_opportunities_list. |