Allocation
Reallocate location
Updates location number of the existing allocation. To update other details, PUT /allocation/{allocationId}
endpoint is recommended.
PUT
/
allocation
/
reallocate
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
x-site-context
string
requiredThe x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
Body
application/json
channel
string
requiredChannel
tenant
string
requiredTenant ID
id
string[]
requiredUnique ID of the document
documentType
enum<string>
requiredDocument type
Available options:
ALLOCATION
, ORDER
, SHIPMENT
, ALLOCATION ORDER
orderNumber
string
Id of the given document
items
object[]
Optional item list needs to be allocated
Response
200 - application/json
The response is of type string
.
Was this page helpful?