Appearance
Get Shipping Label Html
Request Method
http
GET /openapi/order-shipping-label/get-shipping-label-html?tracking_num=xxxxxxxx
Header
Field | Description |
---|---|
Content-Type | application/json |
x-auth-token | $TOKEN |
x-auth-name | $APP_NAME |
x-auth-seed | $TS |
Parameter
Field | Mandatory | Type | Description | Length |
---|---|---|---|---|
tracking_num | Y | string | WMG Tracking Num | 1-32 |
Response(Success)
json
{
"code": 0,
"message": "success",
"data": {
"html": "<!doctype html><html lang='en'><head><meta charset='UTF-8'><meta name='viewport' content='width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0'><meta http-equiv='X-UA-Compatible' content='ie=edge'><title>Document</title></head><body></body></html>"
}
}
Response(Fail)
json
{
"code": 1,
"message": "Order Not Found!",
"data": []
}