Cancel allocation
Cancels allocation by allocation ID
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.
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
Path Parameters
Response
Unique ID for an allocation document
"62ff5c0bec0aed3c86202c32"
Same as previous allocation document while creating new allocation
"62ff5c0bec0aed3c86202c32"
Tenant's ship-from location ID
"1234B"
List of items to be shipped
Details of allocation items
Current version of allocation document
2
Allocation request ID used for tracking internal communication. Required to update allocation details.
"62ff5c0bec0aed3c86202c32"
Allocation number for client tracking
"xxyyzz12345"
Time of sending allocation event to PPS
"2022-08-01T18:03:28.483971941Z"
Time of allocation creation and when it was stored in database
"2022-08-01T18:03:28.483971941Z"
Time of allocation update
"2022-08-01T20:03:28.483971941Z"
Allocation type
ALLOCATED
, SCRATCHED
, RETURNED
"ALLOCATED"
In reallocation scenarios, keeps track of the previously allocation location numbers
410
Purchase order number (generally, vendor-generated)
"1125"
Items type
WEB_SHIP
, POS
, WEB
"WEB_SHIP"
Sub-type of order
IOS
, Android
, International
, Borderfree
"BORDERFREE"
Vendor ID
"56"
Estimated ship date
null
Optional field for shipment type
"SHIP_TO_ADDRESS"
Optional field for shipment method
"Overnight Delivery"
Unique Id for delivery address
"98ff5c0bec0aed3c86202c32"
Allocation status code
ALLOCATED
, PENDING_DROP
, PENDING_PICK
, SHIPPED
, PARTIALLY_SHIPPED
, REALLOCATED
, CANCELLED
, PARTIALLY_CANCELLED
"PENDING_PICK"
Tenant's ship-from location type
"1234B"
Recipient details such as phone number, email, and name
Order pickup details
Logs with updated fields
Details of order audit log
Was this page helpful?