- 1688 开发人员参考
- 1688 商品搜索
- 1688 订单管理
- 1688 订单支付
- 1688 其他接口
- 1688 消息说明
查询订单
POST
/alibaba/trade/get/buyerView
请求参数
Body 参数application/json
appKey
string
必需
appSecret
string
必需
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"
}
