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:
When adding deal splits, the deal’s owner must be included as a split owner, the split percentages must add up to 1.0, and you must meet the limits for the split user maximum and split percentage minimum set in your deal split settings. If any deals included in the batch request fail validation for these requirements, the request will result in an error.
For example, to assign even deal credit to two users on a deal, your request would look like:
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: