Pipelines and stages
A pipeline is a set of ordered stages, each with a win probability. Read yours first: you need a pipelineid and a stage id to create a deal.
POST /pipelines.
Deals
currency defaults to your account currency. You can link a deal to a companyId and a main contactId.
GET /deals filters by pipelineId, status (open, won, lost) and search, and returns pipeline totals.