Get Shipping Label
This endpoint is return html page that can be use to print shipping label for specific order. Shipping label can be seen after order status is on process (400). Shipping label contain Booking Code as barcode that can be scanned by Third-Party Logistic for automatic AWB
Path
get
/v1/order/:order_id/fs/:fs_id/shipping-label
Request Parameters
Parameter | Type | Required | Location | Description |
---|---|---|---|---|
fs_id | Integer | Required | path | Fulfillment service unique identifier |
order_id | Integer | Required | path | Order unique identifier |
printed | Integer | Optional | query | 0 or 1 . Default value is 1 . When flag set to 1 then the seller dashboard will show the order as already printed |
Example Request
- Curl
curl -X GET \
'https://fs.tokopedia.net/v1/order/166296811/fs/13138/shipping-label?printed=0' \
-H 'Authorization: Bearer EUqcir9oRCqNr_9OuvZgkg'
Success Response Examples
Error Response Examples
{
"header": {
"process_time": 0.112139045,
"messages": "Our server encounters an error, please try again later",
"reason": "Data Not Found",
"error_code": "ORD_API_008"
},
"data": null
}
Error Codes
Error Code | Error Message | Description |
---|---|---|
ORD_API_008 | Data Not Found | Order data not found |