Flattens the account hierarchies of the specified accounts under the specified internal organization unit.
Resource
/connect/industries/retail/flatten-account-iou-hierarchy
Resource example
https://yourInstance.salesforce.com/services/data/v68.0/connect/industries/retail/flatten-account-iou-hierarchy
Available version
68.0
Requires Chatter
No
HTTP methods
POST
Request body for POST
See Flatten Account Internal Organization Unit Hierarchy Input.
{
"internalOrganizationUnitId": "0gJxx00000000srEAA",
"accountIds": ["001xx000003GadmAAC"]
}
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
internalOrganizationUnitId |
String | Specifies the ID of the internal organization unit under which the specified accounts are flattened. | Optional | 68.0 |
accountIds |
String[] | Specifies the IDs of account records to flatten under the specified internal organization unit. Maximum number of Account Ids per call: 2000. | Optional | 68.0 |
Response body for POST
See Flatten Account Internal Organization Unit Hierarchy Output.