---
schema_version: "1"
id: 7be1a3b7086c0c7a24650027ba81e6bf264b8219db66eb4c9ea62b42f3e28935
title: Flatten Account Internal Organization Unit Hierarchy Input
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/penny-perfect-pricing/references/requests/flatten-account-iou-hierarchy-input.md
canonical_url: https://developer.salesforce.com/docs/industries/penny-perfect-pricing/references/penny-perfect-pricing-rest/flatten-account-iou-hierarchy-input.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: a0454919e2139279d958bd1120f81425d4e04ddce7156aae06929ca943725a54
products:
  - Penny Perfect Pricing Developer Guide
  - Industries Developer Documentation
---
# Flatten Account Internal Organization Unit Hierarchy Input

Input representation to flatten the account hierarchies of the specified accounts under an internal organization unit.

## JSON example

```json
{
  "internalOrganizationUnitId": "0gJxx00000000srEAA",
  "accountIds": ["001xx000003GadmAAC"]
}
```

## Properties

| 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              |
