Get Packed Items
GET
/api/v2/orders/pack/{tracking_number}/Modified at: 7 months ago
Get packed item detail by order. The API return packed quantity, expired date, batch/lot. Call API when order status is RTS or higher.
Request
Path Params
tracking_number
string
required
Example:
BM65221104356
Header Params
Content-Type
string
optional
Example:
application/json
Authorization
string
optional
Example:
Token {{API_TOKEN}}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
total_count
integer
required
tracking_number
string
required
pickup_id
integer
required
Refer to Pickup list
items
array [object {8}]
required
error
boolean
required
error_code
string
required
messages
string
required
request_id
string
required
Example
{
"data": {
"total_count": 2,
"items": [
{
"bsin": "BSN33152982921891",
"seller_sku": "TEST-0004",
"product_name": "TEST-0004",
"packed_quantity": 1,
"quantity": 1,
"batch_number": "",
"expiry_date": 0,
"packed_time": 1703670533,
"line_no": ""
},
{
"bsin": "BSN33152982996791",
"seller_sku": "TEST-0005",
"product_name": "TEST-0005",
"packed_quantity": 1,
"quantity": 1,
"batch_number": "",
"expiry_date": 0,
"packed_time": 1703670533,
"line_no": ""
}
]
},
"error": false,
"error_code": "",
"messages": "",
"request_id": "65a0eace2da934f565b5e4ff"
}
Last modified: 7 months ago