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[] | List of source groups containing inventory items for deallocation process. | Required | 66.0 |