Update allocation
Updates allocation for the given order or item. Primary use cases are to update location number (related to warehouse), allocation number (external use), item details, etc. To specifically update Location Number, the PUT /allocation/reallocate endpoint is recommended
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The 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.
Path Parameters
Body
Allocation details
Unique ID for an allocation document
Same as previous allocation document while creating new allocation
Tenant's ship-from location ID
List of items to be shipped
Current version of allocation document
Allocation request ID used for tracking internal communication. Required to update allocation details.
Allocation number for client tracking
Time of sending allocation event to PPS
Time of allocation creation and when it was stored in database
Time of allocation update
Allocation type
ALLOCATED
, SCRATCHED
, RETURNED
In reallocation scenarios, keeps track of the previously allocation location numbers
Purchase order number (generally, vendor-generated)
Items type
WEB_SHIP
, POS
, WEB
Sub-type of order
IOS
, Android
, International
, Borderfree
Vendor ID
Estimated ship date
Optional field for shipment type
Optional field for shipment method
Unique Id for delivery address
Allocation status code
ALLOCATED
, PENDING_DROP
, PENDING_PICK
, SHIPPED
, PARTIALLY_SHIPPED
, REALLOCATED
, CANCELLED
, PARTIALLY_CANCELLED
Tenant's ship-from location type
Recipient details such as phone number, email, and name
Logs with updated fields
Response
Allocation details
Unique ID for an allocation document
Same as previous allocation document while creating new allocation
Tenant's ship-from location ID
List of items to be shipped
Current version of allocation document
Allocation request ID used for tracking internal communication. Required to update allocation details.
Allocation number for client tracking
Time of sending allocation event to PPS
Time of allocation creation and when it was stored in database
Time of allocation update
Allocation type
ALLOCATED
, SCRATCHED
, RETURNED
In reallocation scenarios, keeps track of the previously allocation location numbers
Purchase order number (generally, vendor-generated)
Items type
WEB_SHIP
, POS
, WEB
Sub-type of order
IOS
, Android
, International
, Borderfree
Vendor ID
Estimated ship date
Optional field for shipment type
Optional field for shipment method
Unique Id for delivery address
Allocation status code
ALLOCATED
, PENDING_DROP
, PENDING_PICK
, SHIPPED
, PARTIALLY_SHIPPED
, REALLOCATED
, CANCELLED
, PARTIALLY_CANCELLED
Tenant's ship-from location type
Recipient details such as phone number, email, and name
Logs with updated fields
Was this page helpful?