Appearance
Get Shipping Label
Request Method
http
GET /openapi/order-shipping-label/get-shipping-label?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": {
"base64": "JVBERi0xLjcKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWJRFs8NTJkNTBjMzZkMjQ4ODFjMDVkYTM4NGQxODg2ODU2Yzc+PDUyZDUwYzM2ZDI0ODgxYzA1ZGEzODRkMTg4Njg1NmM3Pl0KPj4Kc3RhcnR4cmVmCjg5NTQ3CiUlRU9GCg=="
}
}
Response(Fail)
json
{
"code": 1,
"message": "Order Not Found!",
"data": []
}