---
schema_version: "1"
id: 6b6f80bc6c784f90379ddb7063339565548bef03633367415d30aadc75f8eeaa
title: Get Inventory Allocation Output
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/connect_responses_get_inventory_allocation_output.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/connect_responses_get_inventory_allocation_output.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a9597905176d6511f79e73b63390e09962afa5ef6bb06a2cf9eaf50cb7b8f202
description: Returns the allocation status, quantities, and source locations for all line items associated with a given entity.
---
# Get Inventory Allocation Output

Returns the allocation status, quantities, and source locations for all line items associated with a given entity.

## JSON Example

{
  "isSuccess": true,
  "errorCode": null,
  "errorMessage": null,
  "errorDetails": \[\],
  "allocationData": \[\],
  "meta": {
    "pageNumber": 1,
    "pageSize": 10,
    "hasNext": false
  }
}

## Properties

| Property Name | Type | Description | Filter Group and Version | Available Version |
| --- | --- | --- | --- | --- |
| allocationData | [Get Inventory Allocation Line Item Data](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/connect_responses_get_inventory_allocation_line_item_data.htm "Allocation data associated to a line item.")\[\] | List of allocation data associated to the sourceId. | Big, 66.0 | 66.0 |
| errorCode | String | The code of the error due to which the request failed. | Big, 66.0 | 66.0 |
| errorDetails | String\[\] | List of detailed error information if the operation failed. | Big, 66.0 | 66.0 |
| errorMessage | String | The details of the error if the operation failed. | Big, 66.0 | 66.0 |
| isSuccess | Boolean | Indicates if the operation was successful (true) or not (false). | Big, 66.0 | 66.0 |
| meta | [Pagination Meta](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/connect_responses_pagination_meta.htm "Pagination metadata for the API responses.")\[\] | Pagination data related to the API response. | Big, 66.0 | 66.0 |