Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

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