Sales deals

A sales opportunity with a customer, tracked through the stages of a sales pipeline by value, probability, and time in stage.

Fields

The API name is what the API, MCP and the CLI use.

NameAPI nameTypeRequiredDescription
IDidRecord IDYes
NamelabelText
NumberuidTextThe number is a human-readable, unique identifier for the record.
DaydateDateCalendar date for this value.
InquirysalesinquiryIdReference
CustomercustomerIdReferenceYes
BranchcustomerbranchIdReference
Primary contactcustomercontactIdReference
SelleruserIdUser
PipelinesalespipelineIdReferenceYes
StagesalespipelinestageIdReferenceYes
CampaignsalescampaignIdReference
Expected close datedateExpectedCloseDateCalendar date when the deal is expected to close.
CadencecadenceConstantCommercial recurrence of the deal (one-time or recurring revenue or service).
PrioritypriorityConstantYesWhole number without fractional part.
AmountamountCurrencyExpected financial value or revenue of the deal.
Quote currencycurrencyConstantYesValue from the table catalog for this field.
Win probability (%)probabilityPercentYesEstimated chance of closing, seeded from the selected stage (0 to 1). You can adjust it afterward.
Cancellation reasoncancelReasonOption (Select)Why the deal was canceled. Required when status is canceled; references an organization-defined option.
TagstagIdsTags
DescriptiondescriptionText Area
DatadataData
Created bycreatedByUser
Created atcreatedAtDate and TimeYes
Updated byupdatedByUser
Updated atupdatedAtDate and TimeYes
Closed byclosedByUser
Closed atclosedAtDate and Time
Blocked byblockedByUser
Blocked atblockedAtDate and Time
Archived byarchivedByUser
Archived atarchivedAtDate and Time

Relations

Owned records (solid line) are deleted with their owner. Grouped records (dashed line) can exist alone.

FieldPoints toKind
Inquiry salesinquiryIdSales inquiriesreference
Customer customerIdCustomersreference
Branch customerbranchIdCustomer branchesreference
Primary contact customercontactIdCustomer contactsreference
Seller userIdUsersreference
Pipeline salespipelineIdSales pipelinesreference
Stage salespipelinestageIdSales pipeline stagesreference
Campaign salescampaignIdSales campaignsreference
Tags tagIdsTagsreference

Actions

What you can do with a record. Every action also sends the webhook event salesdeals.<action>. Reads (find, get, count) work on every table.

NameAPI nameDescriptionWhere
CreatecreateAdd a new deal.App · API · MCP · CLI
EditupdateSave changes to this deal.App · API · MCP · CLI
Create quotecreateQuoteCreate a quote from this deal.App · API · MCP · CLI
BlockblockStop edits and deletion of this deal. It stays visible and can still appear on existing documents. Unblock to edit again.App · API · MCP · CLI
UnblockunblockAllow edits and deletion of this deal again.App · API · MCP · CLI
ArchivearchiveRetire this deal from daily use. It leaves active lists and pickers, and most actions stop. Unarchive to restore it.App · API · MCP · CLI
RestoreunarchiveReturn this deal to active lists and actions.App · API · MCP · CLI
DeletedeleteDelete this deal and the data that belongs with it. This cannot be undone.App · API · MCP · CLI

States

How a record moves from state to state. Archive and block can happen in any state.

CloseReopenCreatedClosed

Events

Moments the record reaches on its own. Subscribe to them with a webhook.

NameWebhook eventDescription
Stage overduesalesdeals.stageOverdueThe deal stayed in its pipeline stage longer than the stage allows.