Get Shipping Label
GET
/open/1.0/shipment/shipping-label/{{tracking_number}}Last modified: 4 months ago
The "Get_Shipping_Label" is an Open API that allows users to retrieve the shipping label for orders that have already been created. By integrating this API, users can easily obtain the label in real-time, ensuring seamless shipment handling and improving overall operational efficiency.
Response Message
Response Name | Description |
---|---|
200 | Success |
401 | API Key is Required |
401 | API Key is Invalid |
404 | Data Not Found |
Request
Header Params
X-API-KEY
string
required
Example:
{{ ApiKey}}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
string
required
message
string
required
error_code
integer
required
Example
Success
{
"data": {
"order_id": 1137150,
"tracking_number": "OEX1137150",
"cod_amount": 50000,
"dimension": {
"width": 1,
"length": 1,
"height": 1
},
"shipping": {
"logo": "https://cdn.oexpress.id/images/assets/oexpress-log-new.png",
"service": "SERBU",
"shipping_cost": 1111,
"receipt_number": "OEX00001792327",
"origin_branch_code": "BKI",
"transit_branch_code": "BDO",
"destination_branch_code": "BDO",
"estimation_day": 2,
"is_fragile": false,
"fragile_logo": null
},
"receiver": {
"name": "test",
"phone": "+62899999999",
"address": "jl test 123",
"zip": 40131,
"province": "Jawa Barat",
"city": "Kota Bandung",
"subdistrict": "Coblong"
},
"sender": {
"name": "test karangbahagia",
"phone": "+62899898989",
"address": "Jl test alamat",
"zip": 17530,
"province": "Jawa Barat",
"city": "Kab. Bekasi",
"subdistrict": "Karangbahagia"
},
"product": [
{
"name": "jam",
"quantity": 1
}
],
"insurance": 0,
"pickup_date": "2024-08-22T10:16:00.000000Z",
"total_weight": 1
},
"message": "",
"error_code": 0
}
Last modified: 4 months ago