Deallocate
This API allows you to de-allocate a specific allocated order detail.
To de-allocate, you can pass allocation id either in the URL or payload.
URL to Deallocate a Order Detail using Allocation ID in URL
POST .../wms/lgfapi/v10/entity/allocation/{id}/deallocate
Request Body
Not required as allocation id is passed in the URL
204 No Content
URL to Deallocate a Order Detail using Allocation ID in Payload
POST .../wms/lgfapi/v10/entity/allocation/deallocate
Request Parameters
| Parameter/Field Name | Type | Required | Description |
| facility_id | Integer | Conditional | Facility context by id. |
| facility_id__code | String | Conditional | Facility context by code. |
| company_id | Integer | Conditional | Company context by id. |
| company_id__code | String | Conditional | Company context by code. |
| allocation_id | Integer | Yes | Specify the allocation ID of specific allocated order detail. |
Note:
- Facility and Company details are mandatory to send.
- Either facility_id or facility_id__code is mandatory to send.
- Either company_id or company_id__code is mandatory to send.
Request Body
{
"parameters":{
"company_id__code": "Company1",
"facility_id__code": "Facility1",
"allocation_id": 345
}
}
Sample Response
204 No Content