中文版
产品文档1688 APITaobao / Tmall API增值API
产品文档1688 APITaobao / Tmall API增值API
English
  1. 1688 订单管理
  • 1688 开发人员参考
  • 1688 商品搜索
    • 上传图片获取imageId
      POST
    • 图片搜索
      GET
    • 关键词搜索
      GET
    • 商品详情搜索
      GET
    • 店铺搜索
      GET
    • 商品运费查询
      POST
  • 1688 订单管理
    • 预览订单
      POST
    • 创建订单
      POST
    • 取消订单
      POST
    • 查询订单
      POST
    • 确认收货
      POST
  • 1688 订单支付
    • 批量获取订单的支付链接
      GET
    • 发起免密支付
      POST
  • 1688 其他接口
    • 类目查询
      GET
    • 多语言搜索导航
      GET
  • 1688 消息说明
    • 1688 交易消息
    • 1688消息-签名验证
  1. 1688 订单管理

查询订单

POST
/alibaba/trade/get/buyerView
获取单个交易明细信息,仅限买家调用。

请求参数

Body 参数application/json
appKey
string 
必需
大吉平台appKey
appSecret
string 
必需
秘钥,仅调试使用,正式用sign签名
webSite
string 
站点信息 1688
必需
orderId
交易的订单ID
必需
示例
{
  "appKey": "",
  "appSecret": "",
  "webSite": "1688",
  "orderId": "2257164624870311973"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openapi.dajisaas.com/alibaba/trade/get/buyerView' \
--header 'Content-Type: application/json' \
--data-raw '{
  "appKey": "",
  "appSecret": "",
  "webSite": "1688",
  "orderId": "2257164624870311973"
}'

返回响应

🟢200成功
application/json
Body
code
integer 
返回码
必需
message
string 
消息
必需
data
object 
业务数据
必需
guaranteesTerms
object 
保障条款
必需
internationalLogistics
null 
必需
nativeLogistics
object 
中国收货信息
必需
productItems
array [object {45}] 
商品条目信息
必需
tradeTerms
array[string]
交易条款
必需
extAttributes
array[string]
订单扩展属性
必需
orderRateInfo
object 
订单评价信息
必需
orderInvoiceInfo
null 
发票信息
必需
customs
null 
跨境报关信息
必需
overseasExtraAddress
null 
跨境地址扩展信息
必需
baseInfo
object 
订单基础信息
必需
orderBizInfo
object 
订单业务信息
必需
quoteList
null 
必需
采购单详情列表,为大企业采购订单独有域。
fromEncryptOrder
null 
必需
是否下游脱敏信息创建的订单
encryptOutOrderInfo
null 
外部订单信息
必需
outChannel
null 
必需
sendGoodsOverdueRisk
null 
必需
officialLogisticOrder
null 
必需
timestamp
integer 
时间戳
必需
traceId
string 
traceId
必需
示例
{
  "code": 200,
  "message": "操作成功",
  "data": {
    "guaranteesTerms": {
      "assuranceInfo": "卖家承诺买家签收货物后7天内,在“商品完好”的情形下,向买家提供退货服务。",
      "assuranceType": "qtwlybt",
      "qualityAssuranceType": "7天无理由退货"
    },
    "internationalLogistics": null,
    "nativeLogistics": {
      "address": "网商路699号",
      "area": "普陀区",
      "areaCode": "310107",
      "city": "上海市",
      "contactPerson": "张三",
      "fax": null,
      "mobile": "18888888888",
      "province": "上海",
      "telephone": "18888888888",
      "zip": "000000",
      "logisticsItems": null,
      "townCode": null,
      "town": "长河镇",
      "caid": null,
      "realLogisticsCompanyNo": null
    },
    "productItems": [
      {
        "cargoNumber": null,
        "description": null,
        "itemAmount": 8.96,
        "name": "绘图画画考试2B铅笔小学生学习写字无铅毒铅笔不易断素描套装铅笔",
        "price": 1.8,
        "productID": 623686863670,
        "productImgUrl": [
          "http://cbu01.alicdn.com/img/ibank/O1CN01s3tVTC1Bs2xBEEkxv_!!0-0-cib.80x80.jpg",
          "http://cbu01.alicdn.com/img/ibank/O1CN01s3tVTC1Bs2xBEEkxv_!!0-0-cib.jpg"
        ],
        "productSnapshotUrl": "https://trade.1688.com/order/offer_snapshot.htm?order_entry_id=2257164624870311973",
        "quantity": 5,
        "refund": 0,
        "skuID": 5403412737023,
        "sort": null,
        "status": "cancel",
        "subItemID": 2257164624870312000,
        "type": "common",
        "unit": "盒",
        "weight": null,
        "weightUnit": null,
        "guaranteesTerms": [
          {
            "assuranceInfo": "卖家承诺买家签收货物后7天内,在“商品完好”的情形下,向买家提供退货服务。",
            "assuranceType": "qtwlybt",
            "qualityAssuranceType": "7天无理由退货"
          },
          {
            "assuranceInfo": "卖家在承诺买家保障服务的基础上,向买家提供“48小时发货延必赔”的服务。在买家通过支付宝担保交易完成付款或通过货到付款下单成功后,卖家承诺在买家支付成功起48小时内发货。如卖家未履行前述承诺,买家可在指定期限内发起维权,并申请赔付。",
            "assuranceType": "ssbxsfh",
            "qualityAssuranceType": "48小时发货"
          },
          {
            "assuranceInfo": "“在符合一定的退款申请原因、时效和退款金额范围内,可享受0秒退款服务。",
            "assuranceType": "jstk_p",
            "qualityAssuranceType": "极速退款"
          }
        ],
        "productCargoNumber": "344",
        "skuInfos": [
          {
            "name": "铅芯颜色",
            "value": "2B铅笔1盒"
          },
          {
            "name": "铅芯硬度",
            "value": "2B"
          }
        ],
        "entryDiscount": 0,
        "specId": "53a1eff0fa008b2b9f32a120b0a050f2",
        "quantityFactor": 1,
        "statusStr": "交易取消",
        "refundStatus": null,
        "closeReason": "buyerCancel",
        "logisticsStatus": 1,
        "gmtCreate": "2024-08-14T07:10:38.000+00:00",
        "gmtModified": "2024-08-14T07:31:24.000+00:00",
        "gmtCompleted": "2024-08-14T07:31:24.000+00:00",
        "gmtPayExpireTime": null,
        "refundId": null,
        "subItemIDString": "2257164624870311973",
        "refundIdForAs": null,
        "erpMaterialCode": null,
        "itemDiscountFee": null,
        "cantSendReason": null,
        "canSendGoods": null,
        "barCode": null,
        "permitLogisticsCpCode": null,
        "deliverGoodsOverdueRisk": null,
        "relatedCode": null,
        "freeEntryServiceInfo": null,
        "payEntryServiceInfo": null,
        "extAttributes": null
      }
    ],
    "tradeTerms": [],
    "extAttributes": [],
    "orderRateInfo": {
      "buyerRateStatus": 5,
      "sellerRateStatus": 5,
      "buyerRateList": null,
      "sellerRateList": null
    },
    "orderInvoiceInfo": null,
    "customs": null,
    "overseasExtraAddress": null,
    "baseInfo": {
      "allDeliveredTime": null,
      "businessType": "cb",
      "buyerID": "b2b-2215080317319ef258",
      "buyerMemo": null,
      "completeTime": "2024-08-14T07:31:24.000+00:00",
      "createTime": "2024-08-14T07:10:38.000+00:00",
      "currency": null,
      "id": 2257164624870312000,
      "modifyTime": "2024-08-14T07:31:24.000+00:00",
      "payTime": null,
      "receivingTime": null,
      "refund": 0,
      "remark": "备注信息测试",
      "sellerID": "b2b-2208112041019eda4c",
      "sellerMemo": null,
      "shippingFee": 3,
      "status": "cancel",
      "totalAmount": 11.96,
      "buyerRemarkIcon": null,
      "sellerRemarkIcon": null,
      "discount": 0,
      "buyerContact": {
        "phone": "",
        "fax": null,
        "email": null,
        "imInPlatform": "半马日志",
        "name": null,
        "mobile": null,
        "companyName": null
      },
      "tradeType": "50060",
      "refundStatus": null,
      "refundStatusForAs": null,
      "refundPayment": 0,
      "idOfStr": "2257164624870311973",
      "alipayTradeId": "UNCREATED",
      "receiverInfo": {
        "toFullName": "张三",
        "toDivisionCode": "310107",
        "toMobile": "18888888888",
        "toPhone": "18888888888",
        "toPost": "000000",
        "toTownCode": null,
        "toArea": "上海 上海市 普陀区 镇文本 网商路699号"
      },
      "buyerLoginId": "半马日志",
      "sellerLoginId": "义乌莎诗文具百货有限公司",
      "buyerUserId": null,
      "sellerUserId": null,
      "buyerAlipayId": null,
      "sellerAlipayId": null,
      "confirmedTime": null,
      "closeReason": "buyerCancel",
      "sumProductPayment": 9,
      "stepOrderList": null,
      "stepAgreementPath": null,
      "stepPayAll": false,
      "buyerFeedback": "备注信息测试",
      "overSeaOrder": false,
      "subBuyerLoginId": null,
      "sellerOrder": false,
      "preOrderId": null,
      "refundId": null,
      "flowTemplateCode": "assureTrade",
      "buyerLevel": null,
      "sellerCreditLevel": null,
      "sellerContact": {
        "phone": "86-",
        "fax": null,
        "email": null,
        "imInPlatform": "义乌莎诗文具百货有限公司",
        "name": "蔡景雄",
        "mobile": "18248548872",
        "companyName": "义乌市莎诗贸易有限公司",
        "wgSenderName": null,
        "wgSenderPhone": null
      },
      "newStepOrderList": [
        {
          "gmtStart": "2024-08-14T07:10:38.000+00:00",
          "gmtPay": null,
          "gmtEnd": "2024-08-14T07:31:24.000+00:00",
          "stepNo": 1,
          "lastStep": true,
          "stepName": "全款交易",
          "activeStatus": 1,
          "payStatus": 8,
          "logisticsStatus": 1,
          "payFee": 11.96,
          "paidFee": 0,
          "goodsFee": null,
          "adjustFee": 0,
          "discountFee": 0.04,
          "postFee": 3,
          "paidPostFee": 0
        }
      ],
      "closeRemark": "取消订单备注",
      "closeOperateType": "CLOSE_TRADE_BY_BUYER",
      "couponFee": 0,
      "tradeTypeDesc": "担保交易",
      "payChannelList": [],
      "tradeTypeCode": "assureTrade",
      "payTimeout": 432000,
      "payTimeoutType": 0,
      "payChannelCodeList": [],
      "ccid": null,
      "relatedCode": null,
      "buyerOpenUid": null,
      "buyerSubOpenUid": null,
      "inventoryMode": null,
      "outOrderId": "T20240708002"
    },
    "orderBizInfo": {
      "odsCyd": false,
      "accountPeriodTime": null,
      "creditOrder": false,
      "creditOrderDetail": null,
      "preOrderInfo": null,
      "lstOrderInfo": null,
      "erpBuyerUserId": null,
      "erpOrderId": null,
      "erpBuyerOrgId": null,
      "isCz": null,
      "isDz": null,
      "dz": null,
      "dropshipping": false,
      "shippingInsurance": null
    },
    "quoteList": null,
    "fromEncryptOrder": false,
    "encryptOutOrderInfo": null,
    "outChannel": null,
    "sendGoodsOverdueRisk": null,
    "officialLogisticOrder": null
  },
  "timestamp": 1723623607256,
  "traceId": "7928f1cc7f35"
}
上一页
取消订单
下一页
确认收货
Built with