deal:create
deal family
Opens a deal for a contact of the caller's own workspace (or a client workspace the caller controls): a title, a value in whole cents and a currency, a stage, an expected close date. A contact can hold several deals. The deal is a thing of the declared type deal, so the BaaS admin lists and edits it too; the first deal declares the type in the workspace manifest. The contact is named by its id or matched on email or phone as lead:capture filed it
- Effect
- ask
- Awaits an outcome — the call returns the response below.
- Caller
- manage_actors
- The class of authority the caller must already hold, decided from the attested context with no round trip.
- Cost
- free
- What one call costs, so you can budget before acting.
- Reversible
- yes
- The effect can be undone by a later call.
- Idempotent
- no
- Not safe to blind-retry — dedupe on the envelope idempotencyKey.
- Version
- 1.0.0
- Pin this to keep a contract stable; additive bumps never break callers.