Pickpack – Get Pending Orders
Retrieve pickpack orders that are waiting for packaging confirmation.
Endpoint
GET /v1/pickpack/get
Request
Header Parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
Authorization | string | Yes | Bearer YOUR_ACCESS_TOKEN | Bearer access token used for authentication. |
Content-Type | string | Yes | application/json | Request body content type. |
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| order_id | string | No | Filter by a specific order ID (numeric string). |
| customer_eid | string | No | Filter by Customer ID (numeric string). |
| request_start_date | string | No | Filter orders created on/after this date (YYYY-MM-DD). |
| request_end_date | string | No | Filter orders created on/before this date (YYYY-MM-DD). |
| status | string | No | Pickpack status code filter; supports comma-separated list (defaults to PICKPACK_PENDING_CONFIRM). See status table. |
| page | string | No | Page number (numeric string), minimum 1 (default 1). |
| limit | string | No | Page size (numeric string) between 1 and 1000 (default 100). |
Example request
curl -X GET "${API_URL}/v1/pickpack/get?customer_eid=123&page=1&limit=20&status=PICKPACK_PENDING_CONFIRM,PICKPACK_CONFIRMED" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json"
Responses
200 Success
200 Success
Response schema:
application/jsondatajson-stringPickpack response wrapper.
data
json-string
Pickpack response wrapper.
ordersjson-stringArray of pickpack order records.
orders
json-string
Array of pickpack order records.
order_id
string
Order ID.
Example:
3550646customer_eid
string
Customer ID.
Example:
1234567890status
string
Pickpack status code.
Example:
PICKPACK_PENDING_CONFIRMtracking_number
string
Tracking number when created.
Example:
SF123456789courier_company
string
Courier display name. Empty when unavailable.
Example:
SF Expressshipment_detailjson-stringShipment details.
shipment_detail
json-string
Shipment details.
parcel_total
string
Total parcel count.
Example:
1request_datetime
string
Pickpack request time
Example:
2024-02-01 10:12:20update_datetime
string
Pickpack update time.
Example:
2024-02-01 10:20:00paginationjson-stringPagination information.
pagination
json-string
Pagination information.
page
string
Current page.
Example:
1limit
string
Page size.
Example:
20total
string
Total matching records.
Example:
1Response sample
{
"data": {
"orders": [
{
"order_id": "3550646",
"customer_eid": "1234567890",
"status": "PICKPACK_PENDING_CONFIRM",
"tracking_number": "SF123456789",
"courier_company": "SF Express",
"shipment_detail": { "parcel_total": "1" },
"request_datetime": "2024-02-01 10:12:20",
"update_datetime": "2024-02-01 10:20:00"
}
],
"pagination": { "page": "1", "limit": "20", "total": "1" }
}
}
400 Bad Request
400 Bad Request
Response schema:
application/jsonerror.code
string
Error code.
Example:
400000error.code_reason
string
Error reason.
Example:
BAD_REQUESTerror.message
string
Human-readable message.
Example:
Bad Requesterror.error_tracearrayList of validation errors.
error.error_trace
array
List of validation errors.
field
string
Request field that failed.
Example:
request_start_datemessage
string
Human-readable message.
Example:
request_start_date must be in YYYY-MM-DD formatResponse sample
{
"error": {
"code": "400000",
"code_reason": "BAD_REQUEST",
"message": "Bad Request",
"error_trace": [
{
"field": "request_start_date",
"message": "request_start_date must be in YYYY-MM-DD format"
}
]
}
}
401 Unauthorized
401 Unauthorized
Response schema:
application/jsoncode
string
Error code.
Example:
401000code_reason
string
Error reason.
Example:
UNAUTHORIZEDmessage
string
Human-readable message.
Example:
Unauthorized{
"error": {
"code": "401000",
"code_reason": "UNAUTHORIZED",
"message": "Unauthorized"
}
}
403 Forbidden
403 Forbidden
Response schema:
application/jsonerror
json-string
Access forbidden for this resource.
404 Not Found
404 Not Found
Response schema:
application/jsonerror
json-string
Resource or endpoint not found.
500 Failure
500 Failure
Response schema:
application/jsoncode
string
Error code.
Example:
500999code_reason
string
Error reason.
Example:
API_ERRORmessage
string
Human-readable message.
Example:
Api Error, please contact customer service{
"error": {
"code": "500999",
"code_reason": "API_ERROR",
"message": "Api Error, please contact customer service"
}
}