Get allocation by query
Finds allocation details based on filter criteria
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.
Body
Filter criteria
Filter criteria. <br /> Note: To filter records, the json structure should be similar to target entity structure. That is, order, shipment, etc.
Numbers of records to be returned
Number of records to skipped
Sorting criteria based on attributes
Sorting direction such as ascending or descending
asc
, desc
Response
Unique ID for an allocation document
Current version of allocation document
Allocation request ID used for tracking internal communication. Required to update allocation details.
Allocation number for client tracking
Same as previous allocation document while creating new allocation
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 ID
Tenant's ship-from location type
Recipient details such as phone number, email, and name
List of items to be shipped
Logs with updated fields
Was this page helpful?