Inventory Deallocation (POST)

Deallocates the given source locations for selected item IDs.
Resource
1/connect/inventory/deallocation
Resource example
1https://yourInstance.salesforce.com/services/data/v66.0/connect/inventory/deallocation
Available version
66.0
HTTP methods
POST
Request body for POST
JSON example
1{
2  "deallocationData": [
3    {
4      "sourceId": "0AoSG000006cqWo0AI",
5      "items": [
6        {
7          "sourceItemId": "0CoSG000006cqWo0AI",
8          "sourceLocationIds": ["131SG000001ErblYAC", "131SG000001ErblYBC"],
9          "deallocations": [
10            {
11              "sourceLocationId": "131SG000001ErblYAC",
12              "serializedProductIds": ["0SPRG0000008AA1AI", "0SPRG0000008AA2AI"]
13            }
14          ]
15        }
16      ]
17    }
18  ]
19}
Properties
Name Type Description Required or Optional Available Version
deallocationData Inventory Deallocation Data[] List of source groups containing inventory items for deallocation process. Required 66.0
Response body for POST
Inventory Deallocation Output