您的位置 : 文档中心 -> API信息

com.alibaba.logistics:alibaba.trade.getLogisticsInfos.sellerView-1
获取交易订单的物流信息(卖家视角) 免费

获取卖家的订单的物流详情。该接口能查能根据物流单号查看物流详情,包括发件人,收件人,所发货物明细等。由于物流单录入的原因,可能跟踪信息的API查询会有延迟。

API用户授权类型

需要授权

系统级输入参数

名称 类型 是否必须 描述
_aop_timestamp String 请求时间戳
_aop_signature String 请求签名
access_token String 用户授权令牌

应用级输入参数

名称 类型 是否必须 描述 示例值 默认值
orderId Long 订单号 xxx
fields String 需要返回的字段,目前有:company.name,sender,receiver,sendgood。返回的字段要用英文逗号分隔开 company,name,sender,receiver,sendgood
webSite String 是1688业务还是icbu业务 1688或者alibaba

返回结果

名称 类型 是否必须 描述 示例值
+ result alibaba.logistics.OpenPlatformLogisticsOrder[] 查询结果
errorCode String 错误码
errorMessage String 错误信息

返回结果

返回结果范例

  {
  "result": [
    {
      "logisticsId": "BX111841674232006",
      "orderEntryIds": "149989279191615400",
      "status": "SIGN",
      "logisticsCompanyId": "8",
      "remarks": "asdasdasdasdsad啊啊啊",
      "sendGoods": [
        {
          "goodName": "【茂茂回归】12.9公开-sku区间价-淘货源",
          "quantity": 2,
          "unit": "个"
        }
      ],
      "receiver": {
        "receiverName": "XXX",
        "receiverPhone": "",
        "receiverMobile": "13920123122",
        "encrypt": "CN",
        "receiverProvinceCode": "310000",
        "receiverCityCode": "上海市",
        "receiverCountyCode": "310100",
        "receiverAddress": "XXX街道 XX路999",
        "receiverProvince": "上海",
        "receiverCity": "上海市",
        "receiverCounty": "长宁区"
      },
      "sender": {
        "senderName": "张三",
        "senderPhone": "",
        "senderMobile": "12345678900",
        "encrypt": "CN",
        "senderProvinceCode": "330000",
        "senderCityCode": "330100",
        "senderCountyCode": "330108",
        "senderAddress": "网商路699号",
        "senderProvince": "浙江省",
        "senderCity": "杭州市",
        "senderCounty": "滨江区"
      }
    }
  ]
} 

API工具

SDK 示例