按子订单号获取子订单接口
POST
/order/query-order-sub
订单接口
请求参数
Header 参数
apiKey
string
用户的apiKey
sign
string
签名
timestamp
string
当前时间戳
Body 参数application/json
string
可选
示例
"string"
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://prod-cn.your-api-server.com/order/query-order-sub' \
--header 'apiKey;' \
--header 'sign;' \
--header 'timestamp;' \
--header 'Content-Type: application/json' \
--data-raw '"string"'
返回响应
🟢200返回ModelOrderSub
application/json
Body
code
integer <int32>
可选
data
object (子订单 ModelOrderSub)
业务对象
address
string
收件人地址
brand
string
品牌
buyerOrderId
string
买方订单号
city
string
城市
contactName
string
收件人姓名
exceptionReason
string
可选
expressCompany
string
快递公司
expressInfoEntity
object (物流信息 ShowApiExpressResult«物流内容 ExpressInfoBody»)
可选
expressNumber
string
快递单号
expressStatus
integer <int32>
可选
expressStatusString
string
可选
expressTime
integer <int64>
发货时间
extra
string
可选
id
string
子订单编号
orderRefundExpressInfo
string
可选
orderRefundList
array[object (退款申请记录 OrderRefund) {12}]
可选
phone
string
收件人电话
price
number
可选
productId
string
商品编号
productImage
string
可选
productName
string
商品名称
productNumber
string
商品内部编码
productSpecsId
string
商品规格编号
productSpecsName
string
商品规格名称
province
string
省份
quantity
integer <int32>
购买单品数量
remarks
string
买家备注
sellerRemarks
string
卖家备注
userId
string
购买用户编号
msg
string
错误信息
示例
{
"code": 0,
"data": {
"address": "string",
"brand": "string",
"buyerOrderId": "string",
"city": "string",
"contactName": "string",
"exceptionReason": "string",
"expressCompany": "string",
"expressInfoEntity": {
"showapi_fee_num": 0,
"showapi_res_body": {
"data": [
{
"context": "string",
"time": "string"
}
],
"dataSize": 0,
"expSpellName": "string",
"expTextName": "string",
"fee_num": 0,
"flag": true,
"logo": "string",
"mailNo": "string",
"msg": "string",
"queryTimes": 0,
"ret_code": 0,
"status": 0,
"tel": "string",
"update": 0,
"updateStr": "string",
"upgrade_info": "string"
},
"showapi_res_code": 0,
"showapi_res_error": "string",
"showapi_res_id": "string"
},
"expressNumber": "string",
"expressStatus": 0,
"expressStatusString": "string",
"expressTime": 0,
"extra": "string",
"id": "string",
"orderRefundExpressInfo": "string",
"orderRefundList": [
{
"createTime": 0,
"id": "string",
"imagesUrl": "string",
"isAgree": false,
"orderSubId": "string",
"reason": "string",
"refundAddress": "string",
"refundContactName": "string",
"refundPhone": "string",
"reply": "string",
"replyImagesUrl": "string",
"replyTime": 0
}
],
"phone": "string",
"price": 0,
"productId": "string",
"productImage": "string",
"productName": "string",
"productNumber": "string",
"productSpecsId": "string",
"productSpecsName": "string",
"province": "string",
"quantity": 0,
"remarks": "string",
"sellerRemarks": "string",
"userId": "string"
},
"msg": "string"
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2023-02-22 09:19:03