Reallocate location

Updates location number of the existing allocation. To update other details, PUT /allocation/{allocationId} endpoint is recommended.

Request
header Parameters
required
object

x-site-context value

Request Body schema: application/json
orderNumber
string

Id of the given document

channel
required
string

Channel

tenant
required
string

Tenant ID

id
required
Array of strings

Unique ID of the document

documentType
required
string

Document type

Enum: "ALLOCATION" "ORDER" "SHIPMENT" "ALLOCATION ORDER"
Array of objects

Optional item list needs to be allocated

Responses
200

Location reallocated

400

AllocationId not found/valid

500

Internal Server Error

put/allocation/reallocate
Request samples
application/json
{
  • "orderNumber": "ship1233234555g",
  • "channel": "ship1233234555g",
  • "tenant": "ship1233234555g",
  • "id": "98ff5c0bec0aed3c86202c32",
  • "documentType": "ALLOCATION",
  • "items": [
    ]
}
Response samples
application/json
{
  • "message": "Reallocation process completed Successfully with !! allocation Ids [6315dec507025b003f20ed3c]"
}