Scope requirements
Scope requirements
Create or update deal splits
To add new splits or update existing splits for deals, make aPOST request to crm/v3/objects/deals/splits/batch/upsert.
In your request, include the following fields for each deal:
| Field | Description |
|---|---|
id | The ID of the deal. You can retrieve this via the deals API. |
splits | An array that contains the user to assign a split to, and the percentage of the deal amount to assign. In the array, include the following fields:ownerId: the owner ID assigned to the HubSpot user.percentage: the percentage of the deal amount to assign to the owner. |
Retrieve deal splits
To view split information for deals, make aPOST request to crm/v3/objects/deals/splits/batch/read. In your request, include the id values of the deals with splits you want to view. You can retrieve a deal’s id via the deals API.
For example, to retrieve deal splits for two deals, your request could look like: