This endpoint allows you to create a deal. It's useful for integrating with a CRM or another application that has a similar notion of a deal.
You can create associations between deals and contacts or companies. The process is the same as when creating associations between companies and contacts. Associating your deal with contacts and companies isn't required, so you can choose to create an orphaned deal.
You can pass any custom property value to the deals API as long as you've already created the property.
dealstage property is required when creating a deal. While not required, you should always specify the
pipeline property, especially for an account with multiple pipelines. If it isn't specified, the default pipeline will be used. You can manage pipelines and dealstages through the CRM Pipelines API.