文档
测试

订单列表

GET
/sale-order/index

请求头

参数名
类型
描述
必填
token
String
秘钥
必填

请求参数

参数名
类型
描述
必填
localOrPlatformNo
string
本地/平台单号
可选
salesTime
array
销售时间,数组形式:[开始时间, 结束时间]
可选
deliveryTime
array
发货时间,数组形式:[开始时间, 结束时间]
可选
shopIds
string
订单店铺id, 多个用英文逗号隔开
可选
customerInfo
string
客户信息,多个粘贴,精确查询:姓名/电话/邮箱…,多个用英文逗号隔开
可选
spuOrSku
string
商品SPU/SKU,洋桃/系统SPU/SKU,多个用英文逗号隔开
可选
others
string
其它筛选,1: 系统标示, 2: 推送追踪单号失败, 3: 轨迹查询失败或为空, 4: 运单号审核; 多个条件用英文逗号隔开
可选
status
number
1:待支付,2:待处理,3:滞留,4:待配货,5:配货中,6:已配货,7:待出库,8:已出库,9:已发货,10:完成订单,11:作废订单
可选
page
number
页面,默认1
可选
pageSize
number
每页条数,默认20
可选

响应参数

参数名
类型
描述
必填
code
number
响应码
必填
msg
string
提示信息
必填
data
object
列表数据
必填
list
array
列表数据
必填
id
number
必填
shopOrderNumber
string
平台单号
必填
trackingNumber
string
渠道单号
必填
number
string
本地单号
必填
saleAt
string
销售时间
必填
shippedAt
string
发货时间
必填
outboundAt
string
出库时间,如:2020-11-30 11:00:32
必填
platformLogisticsCompanyName
string
平台物流商
必填
lspNumber
string
物流单号
必填
shopName
string
店铺名称
必填
sortText
string
类别
必填
paidStatusText
string
支付状态
必填
allSaleOrderRemark
array
备注
必填
remark
string
备注内容
必填
creatorName
string
创建人
必填
created_at
string
创建时间
必填
saleAmountRMB
number
实付金额
必填
totalAmount
number
销售总金额
必填
grossProfit
boolean
预计毛利
必填
grossProfitDetail
string
毛利详情
必填
grossProfitRate
float
预计毛利率
必填
grossShippingFee
float
预计运费
必填
shippingFee
string
运费收入
必填
discount
float
折扣金额
必填
saleQuantity
number
销售产品数
必填
sellerName
string
销售人员
必填
productPic
string
主图
必填
itemList
array
订单信息
必填
itemSkuList
array
代销SKU信息
必填
itemInfo
array
item信息
必填
orderTypeName
string
订单类型
必填
customerInfo
array
客户资料
必填
customerPhone
string
买家手机号
必填
customerEmail
string
买家Email
必填
customerTown
string
买家区/县
必填
customerCity
string
买家城市
必填
customerState
string
买家省份
必填
customerShopBuyerId
number
买家ID
必填
customerFullname
string
买家姓名
必填
customerStreet1
string
收货地址1
必填
customerStreet2
string
收货地址2
必填
customerZip
string
买家邮编
必填
buyerCheckoutMessage
string
买家留言
必填
paymentMethodName
string
支付方式
必填
paymentTransactionId
string
支付交易号
必填
outboundWarehouseName
string
出库仓库
必填
warehouseName
string
发货仓库
必填
platformOrderId
number
平台订单ID
必填
deliveryChannel
array
邮寄渠道
必填
name
string
邮寄渠道
必填
timeLimitation
string
时效
必填
channelType
string
渠道类型
必填
statusText
string
处理状态(订单状态)
必填
logisticsStatusText
string
物流状态
必填
logisticsChildStatusText
string
物流子状态
必填
lastTrackingContent
string
最新物流商状态
必填
lastTrackingDate
string
最新物流更新时间
必填
labels
array
标签组
必填
name
string
名称
必填
groupName
string
组名
必填
color
string
颜色
必填
estimateWeight
number
预计重量KG
必填
actualWeight
number
实际重量KG
必填
customerInfoId
string
客户资料
必填
purchaseStatusText
string
采购单状态
必填
1688orderSn
string
1688交易单号
必填
keyWords
array
关键词
必填
spus
array
SPU
必填
productNames
array
产品名称
必填
saleRefundSn
array
退款单号
必填
number
string
单号
必填
id
number
ID
必填
statusText
string
状态
必填
saleReturnSn
array
退货单号
必填
number
string
单号
必填
id
number
ID
必填
statusText
string
状态
必填
peachNumbers
array
洋桃SPU
必填
earlyWarningSystem
bool
是否系统预警 含义改为 是否在时效内
必填
earlyWarningSystemTime
number
系统预警时间
必填
tiktokTime
string
抖音时效
必填
collectearlyWarningSystem
string
揽收系统预警
必填
approvalStatus
string
审批状态
必填
products
array
商品数组
必填
picUrl
number
商品图
必填
title
string
商品名称
必填
systemSku
string
系统sku
必填
yangtaoSku
string
洋桃sku
必填
yangtaoSpu
string
洋桃spu
必填
systemSpu
string
系统spu
必填
num
number
商品数量
必填
isGift
boolean
是否是赠品
必填
price
float
商品价格
必填
attr
string
属性字符串,如:灰色/M
必填
operationList
array
可操作列表
必填
total
number
总条数
必填
page
number
页码
必填
pageSize
number
每页条数
必填
orderCount
array
{ "2": "2", "3": "3", "4": "2", "5": "0", "6": "0", "10": "0", "11": "0" }状态码:总条数
必填

说明 / 示例

```js { "code": 1, "msg": "成功", "data": { "total": "1122", "list": [ { "id": "4916195", "trackingNumber": "YT2108400336155", "number": "S2012040002205", "shopOrderNumber": "", "saleAt": "2020-12-04 17:35:00", "shippedAt": "2020-12-04 17:35:00", "outboundAt": "-", "platformLogisticsCompanyName": "圆通快递", "lspNumber": "YT2108400336155", "shopName": "洋桃好货之轻奢", "sortText": "普通", "paidStatusText": "已支付", "allSaleOrderRemark": [ { "remark": "12.4直播间加入粉丝团赠送", "creatorName": "张小惠(Xiaohui)", "created_at": "2020-12-04 17:40:15" } ], "saleAmountRMB": 0, "totalAmount": 0, "grossProfit": "¥-23.04", "grossProfitDetail": "预计利润:<br/>销售金额+运费收入(0.00)<br/>-采购成本(19.04)<br/>-交易综合成本费用(0.00)<br/>-预估运费(4.00)", "grossProfitRate": "-", "grossShippingFee": 4, "shippingFee": "¥0.0000", "discount": "¥0", "saleQuantity": 1, "sellerName": "", "productPic": "@cdnUrl/AZY3B/1A9J10R.jpg", "itemList": [ "559226 * 1" ], "itemSkuList": [], "itemInfo": [ "" ], "orderTypeName": "赠送", "customerInfo": { "customerPhone": "18835129166", "customerEmail": "", "customerTown": "迎泽区", "customerState": "山西省", "customerCity": "太原市", "customerShopBuyerId": "", "customerFullname": "刘超", "customerStreet1": "山西省太原市迎泽区朝阳街96号110", "customerStreet2": "", "customerZip": "" }, "buyerCheckoutMessage": "", "paymentMethodName": "支付宝", "paymentTransactionId": "", "outboundWarehouseName": "洋桃-花都成品仓", "warehouseName": "洋桃-花都成品仓", "platformOrderId": "", "deliveryChannel": { "name": "圆通快递", "timeLimitation": "2 - 5", "channelType": "快递" }, "statusText": "待出库", "logisticsStatusText": "出库中", "logisticsChildStatusText": "出库中", "lastTrackingContent": "", "lastTrackingDate": "", "labels": { "name": "运单号审核", "groupName": "系统标示", "color": "info" }, "estimateWeight": 0.14, "actualWeight": 0.15, "customerInfoId": "", "purchaseStatusText": "-", "1688orderSn": "", "keyWords": [], "products": [ { "title": "洋小胖秋季新款大码女装遮肚显瘦民族风印花洋气性感内搭外穿吊带花色 M", "picUrl": "/AZY3B/1A9J10R.jpg", "attr": "花色|M", "systemSpu": "P027010", "yangtaoSpu": "2002010216057607403", "systemSku": "559226", "num": 1, "price": "0.0000" } ], "saleRefundSn": [], "saleReturnSn": [], "peachNumbers": [ "200201021605760001" ], "earlyWarningSystem": true, "earlyWarningSystemTime": 235016, "tiktokTime": "", "collectearlyWarningSystem": "", "approvalStatus ": "完成", "titokTime": "", "operationList": [ "查看", "订单标签修改", "创建退款单", "确认订单", "查看订单", "克隆订单", "截单", "生成客户资料" ] } ], "page": 1, "pageSize": 1, "orderCount": { "2": "0", "3": "0", "4": "0", "5": "0", "6": "1", "10": "0", "11": "0" } } } ```