---
schema_version: "1"
id: 1ee6d60d03da45299747a2a5241326ca48b8773041ed8a72db4cfe1b8db5475c
title: Inventory Deallocation (POST)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/connect_resources_inventory_deallocation.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/connect_resources_inventory_deallocation.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6b6fc3c13a4f926263271b5dd1cacecaf08c516d18f298d0e5baf9c3749063c7
description: Deallocates the given source locations for selected item IDs.
---
# Inventory Deallocation (POST)

Deallocates the given source locations for selected item IDs.

## Resource

/connect/inventory/deallocation

## Resource Example

https://yourInstance.salesforce.com/services/data/v66.0/connect/inventory/deallocation

## Available Version

66.0

## HTTP Methods

POST

## Request Body for POST

### JSON Example

{
  "deallocationData": \[
    {
      "sourceId": "0AoSG000006cqWo0AI",
      "items": \[
        {
          "sourceItemId": "0CoSG000006cqWo0AI",
          "sourceLocationIds": \["131SG000001ErblYAC", "131SG000001ErblYBC"\],
          "deallocations": \[
            {
              "sourceLocationId": "131SG000001ErblYAC",
              "serializedProductIds": \["0SPRG0000008AA1AI", "0SPRG0000008AA2AI"\]
            }
          \]
        }
      \]
    }
  \]
}

### Properties

| Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| deallocationData | [Inventory Deallocation Data](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/connect_requests_inventory_deallocation_data.htm "Source group containing inventory items for deallocation process.")\[\] | List of source groups containing inventory items for deallocation process. | Required | 66.0 |

## Response Body for POST

[Inventory Deallocation Output](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/connect_responses_inventory_deallocation_output.htm "Output representation to cancel product item allocations.")