页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

接口说明

The carrier are used to push tracking information.

Path

HTTP Verb URL
Post/services/integration/carrier/bagging

Request field

#Field (API)Data TypeLengthMandatoryDetails
1barcodeString40M

Thebarcodeonthescanned
label,ifalabelcontainsmore
thanonebarcode,separatedby
";"

2bagNoString40MBagnumber
3operatingAccountString40OTheaccountofoperatorineTower

Response content

Field

Type

Mandatory/
Optional

Description

status

 

Enumeration

M

Success/Failure

errors

 

Arrays

O

Errors

100009

Orderisnotexisted

300003

Bagisnotexisted


data

 

Objects

M

OperationalData

 

trackingNo

String

M

Trackingnumber

 

bagNo

String

M

Bagnumber,If the package has been bagged, return the correct bag number in the system

 

baggingStatus

Enumeration

M

Baggingstatus:
1.baggedsuccessfully
2.bagged

3.despatched
4.hold
5.unweighed
7.Theorderdonomatch
thebagnumber
8.Thebagisoverweight
9.bagclosed



Request message


代码块
languagejs
borderStylesolid
firstline1
titleRequest
linenumberstrue
{
  "barcode": "BJR2048503011420",
  "bagNo": "DEMOSYD20210315123456",
  "operatingAccount": "test.li@buylogic.cc"
}


Response message

代码块
languagejava
firstline1
titleResponse
linenumberstrue
{
    "status": "Success",
    "errors": null,
    "data": {
              "trackingNo": "LVS2020933301951164N1",
              "bagNo": "680009900001/0055-76",
              "baggingStatus": 9
           }  
}



Bagnumber