- 开发指南
- 登录授权
- 基础数据
- 公共
- 客户
- 商品
- 订单
- 退单
- 采购
- 库存
- 资金-收付款
- 常见问题与解答
- 开放接口-商家端-商家订单管理
商家订单列表
POST
/order-aggregation/organizations/merchant-orders/search
开放接口-商家端-商家订单管理
请求参数
Header 参数
access_token
string
必需
x-client-id
string
必需
Body 参数application/json
createTimeBegin
string <date-time>
可选
createTimeEnd
string <date-time>
可选
currentPage
integer <int32>
当前页,默认:1
modifyTimeBegin
string <date-time>
可选
modifyTimeEnd
string <date-time>
可选
orderAuditTimeBegin
string <date-time>
可选
orderAuditTimeEnd
string <date-time>
可选
orderCodes
array[string]
可选
orderStatus
array[string]
可选
枚举值:
ALLOTMENT_AUDIT_PENDINGALLOTMENT_IN_CANCELLEDALLOTMENT_OUT_CANCELLEDAUDITEDCANCELLEDFINANCE_AUDIT_PENDINGFINISHEDINITIALIZEDINVISIBLESORDER_AUDIT_PENDINGSUBMIT_PENDINGSUPERIOR_AUDIT_PENDINGSUPERIOR_CANCELLED
pageSize
integer <int32>
可选
<= 100
paymentStatus
array[string]
可选
枚举值:
FAILIN_PAYPAIDPAID_CHECKINGPART_PAIDUN_PAID
sellerIds
array[integer <int64>]
可选
signStatus
array[string]
可选
枚举值:
FULLNONEPART
withAttachments
boolean
可选
withDetails
boolean
可选
withRemarks
boolean
可选
yjdfRelatedCodes
array[string]
被代发单号列表
示例
{
"createTimeBegin": "2019-08-24T14:15:22Z",
"createTimeEnd": "2019-08-24T14:15:22Z",
"currentPage": 0,
"modifyTimeBegin": "2019-08-24T14:15:22Z",
"modifyTimeEnd": "2019-08-24T14:15:22Z",
"orderAuditTimeBegin": "2019-08-24T14:15:22Z",
"orderAuditTimeEnd": "2019-08-24T14:15:22Z",
"orderCodes": [
"string"
],
"orderStatus": [
"ALLOTMENT_AUDIT_PENDING"
],
"pageSize": 100,
"paymentStatus": [
"FAIL"
],
"sellerIds": [
0
],
"signStatus": [
"FULL"
],
"withAttachments": true,
"withDetails": true,
"withRemarks": true,
"yjdfRelatedCodes": [
"string"
]
}
返回响应
🟢200OK
application/json
Body
currentPage
integer <int32>
可选
items
array[object (开放接口-商家订单信息) {39}]
可选
addressDetail
string
收货地址-详细地址
buyer
object
可选
cityId
integer <int64>
可选
contactName
string
收货联系人
contactPhone
string
收货联系人联系电话
countryId
integer <int64>
可选
createId
integer <int64>
制单人id
createName
string
制单人姓名
createTime
string <date-time>
创建时间
deliveryAddress
string
可选
districtId
integer <int64>
可选
dxMode
enum<string>
可选
枚举值:
DELIVER_BY_CURRENT_ORGDELIVER_BY_MERCHANT
id
integer <int64>
ID
isClose
boolean
订单是否关闭
modifyTime
string <date-time>
修改时间
orderAuditTime
string <date-time>
订单审核时间
orderAuditor
string
订单审核人
orderAuditorId
integer <int64>
订单审核人id
orderCode
string
订单号
orderDetails
array[object (开放接口-商家订单商品信息) {51}]
可选
orderRemarks
array[object (开放接口-订单备注信息) {5}]
可选
orderSource
enum<string>
订单来源
枚举值:
APPPOSWEBWECHAT
orderStatus
enum<string>
可选
枚举值:
ALLOTMENT_AUDIT_PENDINGALLOTMENT_IN_CANCELLEDALLOTMENT_OUT_CANCELLEDAUDITEDCANCELLEDFINANCE_AUDIT_PENDINGFINISHEDINITIALIZEDINVISIBLESORDER_AUDIT_PENDINGSUBMIT_PENDINGSUPERIOR_AUDIT_PENDINGSUPERIOR_CANCELLED
orderTotalAmount
number
结算总额
otherAmount
number
其他费用
paidAmount
number
已支付金额
payableAmount
number
应付金额
paymentStatus
enum<string>
支付状态
枚举值:
FAILIN_PAYPAIDPAID_CHECKINGPART_PAIDUN_PAID
productTotalAmount
number
商品小计总额
provinceId
integer <int64>
可选
refundedAmount
number
退款金额
seller
object
可选
signStatus
enum<string>
可选
枚举值:
FULLNONEPART
sourceBuyerName
string
直发原订单买方名称
sourceCreatorName
string
直发原订单制单人
unPaidAmount
number
待付金额
warehouseId
integer <int64>
源单发货仓库id
warehouseName
string
源单的发货仓库
yjdfRelatedCode
string
被代发/直发单号
pageSize
integer <int32>
可选
totalCount
integer <int64>
可选
totalPage
integer <int64>
可选
示例
{
"currentPage": 0,
"items": [
{
"addressDetail": "string",
"buyer": {
"id": 0,
"code": "string",
"name": "string"
},
"cityId": 0,
"contactName": "string",
"contactPhone": "string",
"countryId": 0,
"createId": 0,
"createName": "string",
"createTime": "2019-08-24T14:15:22Z",
"deliveryAddress": "string",
"districtId": 0,
"dxMode": "DELIVER_BY_CURRENT_ORG",
"id": 0,
"isClose": true,
"modifyTime": "2019-08-24T14:15:22Z",
"orderAuditTime": "2019-08-24T14:15:22Z",
"orderAuditor": "string",
"orderAuditorId": 0,
"orderCode": "string",
"orderDetails": [
{
"auxUnitId": 0,
"auxUnitName": "string",
"auxUnitNumbers": 0,
"baseUnitId": 0,
"baseUnitName": "string",
"baseUnitNumbers": 0,
"brandId": 0,
"brandName": "string",
"categoryId": 0,
"categoryIds": [
0
],
"categoryName": "string",
"categoryNames": [
"string"
],
"combinationProductExt": "string",
"combinationProductUnitId": 0,
"createTime": "2019-08-24T14:15:22Z",
"customPrice": true,
"discountAmount": 0,
"id": 0,
"initialPrice": 0,
"modifyTime": "2019-08-24T14:15:22Z",
"orderCode": "string",
"originalPrice": 0,
"productBarCode": "string",
"productCode": "string",
"productImageUrl": "string",
"productName": "string",
"productNameWithCodeAndSpecText": "string",
"productNameWithSpecText": "string",
"productShortName": "string",
"productSku": 0,
"productSpec": "string",
"productSpecText": "string",
"productSpu": 0,
"productType": "COMBO",
"purchaseNumbers": 0,
"rate": 0,
"remark": "string",
"salePrice": 0,
"saleRate": 0,
"shelfStatus": 0,
"shortCode": "string",
"signAuxNumber": 0,
"signNumber": 0,
"skuStatus": 0,
"sortingTagId": 0,
"sortingTagName": "string",
"subtotal": 0,
"type": "MANUAL_GIFT",
"unitId": 0,
"unitName": "string",
"weight": 0
}
],
"orderRemarks": [
{
"content": "string",
"createTime": "2019-08-24T14:15:22Z",
"id": 0,
"modifyTime": "2019-08-24T14:15:22Z",
"orderCode": "string"
}
],
"orderSource": "APP",
"orderStatus": "ALLOTMENT_AUDIT_PENDING",
"orderTotalAmount": 0,
"otherAmount": 0,
"paidAmount": 0,
"payableAmount": 0,
"paymentStatus": "FAIL",
"productTotalAmount": 0,
"provinceId": 0,
"refundedAmount": 0,
"seller": {
"id": 0,
"code": "string",
"name": "string"
},
"signStatus": "FULL",
"sourceBuyerName": "string",
"sourceCreatorName": "string",
"unPaidAmount": 0,
"warehouseId": 0,
"warehouseName": "string",
"yjdfRelatedCode": "string"
}
],
"pageSize": 0,
"totalCount": 0,
"totalPage": 0
}
修改于 2024-08-19 02:04:46