简要描述:
- 查询订单明细
方法名称:
- getOrder
请求JSON:
{"reference_no":"QGADCX18041700000003"}
响应JSON:
{
"ask":"Success",
"message":"Success",
"reference_no":"QGADCX18041700000003",
"data":{
"shipping_method":"PK0068",
"country_code":"AD",
"reference_no":"",
"shipper_hawbcode":"QGADCX18041700000003",
"shipping_method_no":"QGADCX18041700000003",
"channel_hawbcode":"34161184947327",
"system_hawbcode":null,
"clearance_system_hawbcode":"AG96445156",
"order_weight":"1.000",
"order_pieces":"1",
"buyer_id":"",
"modify_date":"2018-04-17 17:39:08",
"mail_cargo_type":"1",
"insurance_value":null,
"is_return":"N",
"status":"C",
"Consignee":{
"consignee_countrycode":"AD",
"consignee_company":"",
"consignee_province":"",
"consignee_name":"",
"consignee_city":"",
"consignee_telephone":"",
"consignee_mobile":"",
"consignee_postcode":null,
"consignee_email":"",
"consignee_street":"dfdfdfdf",
"consignee_street2":"",
"consignee_street3":"",
"consignee_certificatetype":"ID",
"consignee_certificatecode":"",
"consignee_credentials_period":"",
"consignee_doorplate":"",
"consignee_taxno":""
},
"Shipper":{
"shipper_name":"aaa",
"shipper_company":"qqq",
"shipper_countrycode":"CN",
"shipper_province":"111",
"shipper_city":"深圳",
"shipper_street":"北京市",
"shipper_postcode":"518000",
"shipper_areacode":"",
"shipper_telephone":"13800138001",
"shipper_mobile":"",
"shipper_email":"52856238562@qq.com",
"shipper_fax":""
},
"ItemArr":[
{
"invoice_cnname":"",
"invoice_enname":"dfgdfgdf",
"unit_code":"PCE",
"invoice_weight":"0.000",
"invoice_quantity":"1",
"invoice_totalcharge":"0.000",
"invoice_totalWeight":"0.000",
"invoice_currencycode":"USD",
"hs_code":"",
"invoice_note":"",
"invoice_url":"",
"sku":"",
"HSTaxrate":"0.00000",
"box_no":"U001",
"Material":"",
"ASIN":"",
"AmazonPrice":"0.000",
"product_id":"",
"transaction_id":"",
"use":""
}
],
"volume":[
{
"length":"1.0",
"width":"1.0",
"height":"1.0",
"grossweight":"15.620",
"box_no":"U001",
"child_track_number":"",
"fba_number":"",
"cbm":"0.001",
"reference_id":""
}
],
"extra_service":""
},
"time_cost(s)":3.9738001823425
}
paramsJson参数:
参数名 | 数据类型 | 是否必须 | 说明 |
---|---|---|---|
reference_no | string | require | 运单号 |
response参数:
参数名 | 数据类型 | 说明 |
---|---|---|
ask | string | 参考response公共参数 |
message | string | 参考response公共参数 |
reference_no | string | 运单号 |
data | object | 数据内容(2维数组),参考参考Data说明 |
Error | object | 参考Error格式 |
Data参数:
参数名 | 数据类型 | 说明 |
---|---|---|
reference_no | string | 客户单号 |
shipper_hawbcode | string | 运单号 |
shipping_method | string | 配送方式/运输方式 |
country_code | string | 收件人国家二字码 |
extra_service | string | 附加服务代码,多个以英文分号“;”隔开 |
order_weight | float | 订单重量,单位KG |
shipping_method_no | string | 服务商单号 |
channel_hawbcode | string | 渠道转单号 |
system_hawbcode | string | 第三方系统单号 |
clearance_system_hawbcode | string | 第三方系统单号2 |
order_pieces | int | 外包装件数 |
buyer_id | string | 买家ID |
insurance_value | float | 投保金额 |
mail_cargo_type | string | 包裹申报种类: 1:Gif礼品 2:CommercialSample,商品货样 3:Document,文件 4:Other,其他 默认4 |
length | int | 包裹长 |
width | int | 包裹宽 |
height | int | 包裹高 |
is_return | int | 海外件是否退回,是Y;否N |
status | string | 订单状态:D草稿;P已预报;V已签入;C已签出;Q暂存件;E已废弃;O妥投;U问题件;R退件 |
Consignee | object | 收件人信息 |
Shipper | object | 发件人信息 |
ItemArr | object | 海关申报信息 |
Consignee参数:
参数名 | 数据类型 | 说明 |
---|---|---|
consignee_company | string | 收件人公司名 |
consignee_province | string | 收件人省 |
consignee_city | string | 收件人城市 |
consignee_street | string | 收件人地址1 |
consignee_street2 | string | 收件人地址2 |
consignee_street3 | string | 收件人地址3 |
consignee_postcode | string | 收件人邮编 |
consignee_name | string | 收件人姓名 |
consignee_telephone | string | 收件人电话 |
consignee_mobile | string | 收件人手机 |
consignee_email | string | 收件人邮箱 |
consignee_certificatetype | string | 证件类型: ID:身份证 PP:护照 |
consignee_certificatecode | string | 号码 |
consignee_credentials_period | string | 有效期,格式:2014-04-15 |
buyer_id | string | 买家ID |
consignee_doorplate | string | 收件人门牌号 |
consignee_taxno | string | 收件人税号 |
Shipper参数:
参数名 | 数据类型 | 说明 |
---|---|---|
shipper_company | string | 发件人公司名 |
shipper_countrycode | string | 发件人国家二字码 |
shipper_province | string | 发件人省 |
shipper_city | string | 发件人城市 |
shipper_street | string | 发件人地址 |
shipper_postcode | string | 发件人邮编 |
shipper_areacode | string | 区域代码 |
shipper_name | string | 发件人姓名 |
shipper_telephone | string | 发件人电话 |
shipper_mobile | string | 发件人手机 |
shipper_email | string | 发件人邮箱 |
shipper_fax | string | 发件人传真 |
ItemArr参数:
参数名 | 数据类型 | 说明 |
---|---|---|
invoice_enname | string | 海关申报品名 |
invoice_cnname | string | 中文海关申报品名 |
unit_code | string | 单位(MTR(米),PCE(件),SET(套)),默认PCE |
invoice_weight | float | 申报重量,单位KG,精确到三位小数。 |
invoice_quantity | int | 申报数量 |
invoice_totalcharge | float | 单个申报信息总价 |
invoice_totalWeight | float | 单个申报信息总重 |
invoice_currencycode | string | 申报币种,默认为USD(美元) |
hs_code | string | 海关协制编号 |
invoice_note | string | 配货信息 |
invoice_url | string | 销售地址 |
sku | string | 产品SKU编码 |
HSTaxrate | float | 税率 |
box_no | string | 箱号 |
Material | string | 材质 |
ASIN | string | ASIN |
AmazonPrice | float | 成交价 |
product_id | string | 产品ID |
transaction_id | string | 交易ID |
use | string | 用途 |
volume参数: 签入取签入的数据,签出取签出的数据
参数名 | 数据类型 | 说明 |
---|---|---|
length | float | 箱子长 |
width | float | 箱子宽 |
height | float | 箱子高 |
grossweight | float | 箱子实重 |
box_no | string | 箱号 |
child_track_number | string | 子单跟踪号 |
fba_number | string | fba单号 |
cbm | string | 立方 |
reference_id | string | reference_id单号 |