Skip to main content
A deal is a regular custom object: an object whose object type is named Deals. There are no deal-specific endpoints. Deals are read and written with the custom object endpoints, with Deals as the objectType path parameter.
Everything documented for custom objects applies to deals: their fields, their constraints, their webhook events and their errors.

Deals is a naming convention

Deals is not a reserved name, only the one folk suggests for tracking opportunities. An object type has whatever name its group gives it: Opportunities, Projects or Job Applications work exactly like Deals. Always use the name of the object type as it is in the group, which is case-sensitive: deals is not Deals. To know which object types a group has, see Find the object types of a group.

Create a deal

If the group has no Deals object type yet, create it first, with Create a group custom field of type objectField, with person or company as the entity type:
The custom fields of the deals, such as a Status or a Deal value, are created the same way, with Deals as the entity type. See Manage object types. Then create the deal with Create an object, with Deals as the objectType:
The people and companies must already be in the group, or they are ignored.

Custom objects

Read more about custom objects

Deal endpoints

List deals

GET /v1/groups/{groupId}/Deals

Create a deal

POST /v1/groups/{groupId}/Deals

Get a deal

GET /v1/groups/{groupId}/Deals/{objectId}

Update a deal

PATCH /v1/groups/{groupId}/Deals/{objectId}

Delete a deal

DELETE /v1/groups/{groupId}/Deals/{objectId}
Deals can also be created, updated and deleted in batch, like any other object.