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