---
schema_version: "1"
id: 1b0e90f07d26a96502ea7566b38930060b570801e8a97d717b687857e8131a8a
title: Inventory Allocation Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/connect_requests_inventory_allocation_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/connect_requests_inventory_allocation_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5ef7480459133e3ccfd644155c79cbdd0fd187a33518cba3d7f833f912451892
description: Input representation for inventory allocation.
---
# Inventory Allocation Input

Input representation for inventory allocation.

## JSON Example

{
  "allocationData": \[
    {
      "sourceId": "0AoSG000006cqWo0AI",
      "items": \[
        {
          "sourceItemId": "0CoSG000006cqWo0AI",
          "allocations": \[
            {
              "allocatedQuantity": 10,
              "sourceLocationId": "131SG000001ErblYAC",
              "unbatchedSerializedProductIds": \["0SPRG0000008AA1AI", "0SPRG0000008AA2AI"\]
            }
          \],
          "deallocationLocationIds": \["131SG000001ErblYBD"\],
          "deallocations": \[
            {
              "sourceLocationId": "131SG000001ErblYBE",
              "serializedProductIds": \["0SPRG0000009AA1AI", "0SPRG0000009AA2AI"\]
            }
          \]
        }
      \]
    }
  \]
}

## Properties

| Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| allocationData | [Inventory Allocation Data](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/connect_requests_inventory_allocation_data.htm "List of records associated to a source ID.")\[\] | List of source or parent records for inventory allocation processing. | Required | 66.0 |