Lingxing
切换旧版

查询销售出库单列表

POST/erp/sc/routing/wms/order/wmsOrderList

支持查询ERP中【仓库】>【销售出库单】数据,即自发货订单销售出库单【默认返回一个月内审核出库的数据,超过一个月请加上时间入参】

接口信息

API Path请求协议请求方式令牌桶容量
/erp/sc/routing/wms/order/wmsOrderListHTTPSPOST1

请求参数

pageinteger
分页页码,默认1
page_sizeinteger
分页长度,默认20,上限200
sid_arrarray<any>
店铺id
status_arrarray<any>
状态:
1 物流下单
2 待出库
3 已出库
4 已截单
logistics_status_arrarray<any>
物流状态:
1 待导入
2 物流待下单
3 物流下单中
4 下单异常
5 下单完成
6 待海外仓下单
7 海外仓下单中
11 待导入国内物流
41 物流取消中
42 物流取消异常
43 物流取消完成
platform_order_no_arrarray<any>
平台单号
order_number_arrarray<any>
系统单号
wo_number_arrarray<any>
销售出库单号
time_typestring
时间类型:
创建时间 create_at
出库时间【单据操作】 delivered_at
流水出库时间 stock_delivered_at
变更时间 update_at
start_datestring
开始日期,格式:Y-m-d,默认为最近1个月
end_datestring
结束日期,格式:Y-m-d,默认为最近1个月

请求示例

{
    "page": 1,
    "page_size": 20,
    "sid_arr": [
        26
    ],
    "status_arr": [
        1
    ],
    "logistics_status_arr": [
        2
    ],
    "platform_order_no_arr": [
        "test123465021"
    ],
    "wo_number_arr": [
        "WO103132593465409536"
    ],
    "order_number_arr": [
        "103130837064323072"
    ],
    "time_type": "create_at",
    "start_date": "2021-11-23",
    "end_date": "2021-12-20"
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
消息提示
示例 success
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 82D9A20A-FF87-4BFF-E6D9-22D7A6D3433C
response_timestring必填
响应时间
示例 2020-05-18 11:23:47
totalinteger必填
总数
示例 83
dataarray<object>必填
响应数据
隐藏子属性
wo_idinteger必填
出库单id
示例 4398
wo_numberstring必填
销售出库单号
示例 WO103132593465409536
sidinteger必填
店铺id
示例 16
seller_namestring必填
店铺名称
示例 8P-SLITE-US
site_textstring必填
站点名称
示例 [Amazon].美国
widinteger必填
仓库id
示例 26
warehouse_namestring必填
仓库名
示例 仓库1
warehouse_typeinteger必填
仓库类型:
1 本地仓库
2 FBA仓
3 第三方海外仓
示例 1
logistics_wayinteger必填
下单流程
1:物流
2:海外仓
3:仓配分离
示例 1
batch_nostring必填
批次号
reference_nostring必填
参考号
waybill_nostring必填
运单号
tracking_nostring必填
跟踪号
pickerstring必填
拣货人
platform_namestring必填
平台名称
示例 Amazon
platform_order_noarray<any>必填
平台单号
示例 ["test123465021"]
order_numberstring必填
系统单号
示例 103130837064323072
order_fromstring必填
订单来源
示例 手工订单
order_typeinteger必填
订单类型:
1 一单一件
2 多品多件【原一单多件】
3 单品多件
示例 1
order_origin_amountstring必填
订单金额
示例 10.00
order_currency_codestring必填
订单币种
示例 USD
order_customer_service_notesstring必填
客服备注
order_buyer_notesstring必填
买家留言
示例 买家留言1
statusinteger必填
状态:
1 物流下单
2 待出库
3 已出库
4 已截单
示例 4
status_namestring必填
状态名称
示例 物流下单
logistics_statusinteger必填
物流下单状态:
1 待导入
2 物流待下单
3 物流下单中
4 下单异常
5 下单完成
6 待海外仓下单
7 海外仓下单中
11 待导入国内物流
41 物流取消中
42 物流取消异常
43 物流取消完成
示例 43
logistics_status_namestring必填
物流下单状态名称
示例 待导入
logistics_messagestring必填
物流下单消息
cancel_statusinteger必填
第三方仓取消状态:0无需处理、1取消中、2取消异常、3取消成功
示例 1
cancel_messagestring必填
第三方仓取消返回消息
示例 1
delivery_statusinteger必填
第三方仓发货状态:20待发货、21发货中、22发货异常、23发货成功
示例 1
delivery_messagestring必填
第三方仓发货异常消息
示例 1
logistics_provider_idinteger必填
物流服务商id
示例 1
logistics_provider_namestring必填
物流服务商名称
示例 云途
logistics_type_idinteger必填
物流方式id
示例 101
logistics_type_namestring必填
物流方式名称
示例 Wish邮平邮(DG)
logistics_freightstring必填
物流运费
示例 0.00
logistics_freight_currency_codestring必填
物流运费币种
logistics_estimated_freightstring必填
预估运费
示例 0.00
logistics_estimated_freight_currency_codestring必填
预估运费币种
示例 CNY
is_checkinteger必填
是否验货:0 否,1 是
is_weighinteger必填
是否称重:0 否,1 是
is_surface_printinteger必填
面单是否打印:0 否,1 是
is_order_printinteger必填
订单是否打印:0 否,1 是
process_snstring必填
加工单号
target_countrystring必填
收货国家
示例 美国
tag_namesarray<any>必填
标签
pkg_volumestring必填
包裹体积
示例 0.00
pkg_lengthstring必填
包裹尺寸长
示例 0.00
pkg_widthstring必填
包裹尺寸宽
示例 0.00
pkg_heightstring必填
包裹尺寸高
示例 0.00
pkg_weightstring必填
估算重量
示例 0.000
pkg_real_weightstring必填
包裹实重
示例 0.000
pkg_fee_weightstring必填
包裹计费重
示例 0.000
pkg_weight_unitstring必填
预估重量单位
示例 g
pkg_real_weight_unitstring必填
包裹实重单位
示例 g
pkg_fee_weight_unitstring必填
包裹计费重单位
示例 g
pkg_size_unitstring必填
包裹尺寸单位
示例 cm
recipient_tax_nostring必填
收件人税号
sender_tax_nostring必填
发件人税号
delivererstring必填
发货人
deliver_deadlinestring必填
发货时限
delivered_atstring必填
出库时间
stock_delivered_atstring必填
库存流水出库时间
create_atstring必填
创建时间
示例 2021-12-16 20:02:19
update_atstring必填
变更时间
示例 2021-12-16 20:02:19
purchase_timestring必填
下单时间
示例 2023-08-01 15:09:28
payment_timestring必填
付款时间
示例 2023-08-01 15:09:28
surface_print_timestring必填
面单打印时间
示例 0000-00-00 00:00:00
order_print_timestring必填
订单打印时间
示例 0000-00-00 00:00:00
platform_payment_timestring必填
平台结算时间
package_nostring必填
小包号(用于组包)
package_delivered_dataarray<any>必填
包裹出库信息
transfer_logistics_company_codestring必填
国内中转物流公司代码
transfer_logistics_company_idstring必填
国内中转物流公司id
transfer_tracking_nostring必填
国内中转跟踪号
is_lock_storageinteger必填
是否已锁定库存:0 否,1 是
示例 0
is_advance_deliveryinteger必填
是否预发货:0 否,1 是
示例 1
apportion_statusinteger必填
费用分摊状态:
1 未分摊
2 分摊失败
3 分摊成功
示例 0
apportion_messagestring必填
费用分摊消息
remark_attachmentstring必填
客服备注附件json
示例 []
surface_file_typestring必填
面单文件类型
surface_fileobject必填
面单文件
隐藏子属性
cos_urlstring必填
COS地址链接,30分钟有效
uristring必填
链接【已废弃,建议使用cos_url】
extstring必填
文件后缀
sizestring必填
文件尺寸
product_infoarray<object>必填
商品信息
隐藏子属性
wod_idinteger必填
出库单明细id
product_idinteger必填
商品id
示例 6127
skustring必填
SKU
示例 zifahuo
countinteger必填
数量
示例 2
bundle_typeinteger必填
捆绑类型:
0 普通商品 - 含组合产品、子产品
1 捆绑产品
2 捆绑产品拆分子产品
示例 0
bundle_wod_idinteger必填
捆绑产品wod_id【只有拆分子产品才有】
product_namestring必填
商品名
示例 自发货接口测试
seller_skustring必填
MSKU
customizationstring必填
商品备注
示例 DDAV
cn_namestring必填
中文申报名
en_namestring必填
英文申报名
third_product_namestring必填
三方仓品名
third_product_codestring必填
三方仓SKU
unit_pricestring必填
商品单价
currency_codestring必填
币种
示例 $
apportion_freightstring必填
分摊运费 (总计)
示例 0.000000
apportion_freight_singlestring必填
分摊运费 (单个)
示例 0.000000
logistics_freight_currency_codestring必填
物流运费币种
stock_coststring必填
库存成本 (总计)
示例 6.00
stock_sidstring必填
库存颗粒度店铺id
示例 0
stock_seller_namestring必填
库存颗粒度店铺名称
item_unit_pricestring必填
销售单价
示例 100.00
item_total_pricestring必填
销售总价
示例 100.00
real_weight_totalstring必填
费用分摊-总实重
示例 0.00
fee_weight_totalstring必填
费用分摊-总计费重
示例 0.00
volume_weight_totalstring必填
费用分摊-总体集中
示例 0.00
declared_currency_iconstring必填
申报比重图标
示例 &nbsp;

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "42AAD00B-C91D-7E1A-7FF2-EC3169A9BCEF",
    "response_time": "2023-08-03 10:47:20",
    "data": [
        {
            "wo_id": 6879,
            "wo_number": "WO103341008688546816",
            "sid": 104,
            "wid": 25,
            "warehouse_type": 1,
            "order_number": "103340669924180992",
            "batch_no": "",
            "order_from": "补发订单",
            "reference_no": "",
            "deliver_deadline": "",
            "purchase_time": "2023-08-01 15:09:28",
            "payment_time": "2023-08-01 15:09:28",
            "surface_print_time": "0000-00-00 00:00:00",
            "order_print_time": "0000-00-00 00:00:00",
            "waybill_no": "",
            "tracking_no": "",
            "package_no": "",
            "transfer_logistics_company_code": "",
            "transfer_logistics_company_id": "",
            "transfer_tracking_no": "",
            "picker": "",
            "order_type": 2,
            "deliverer": "",
            "status": 4,
            "logistics_status": 5,
            "logistics_message": "",
            "order_customer_service_notes": "",
            "order_buyer_notes": "",
            "is_check": 0,
            "is_weigh": 0,
            "is_surface_print": 0,
            "is_order_print": 0,
            "order_origin_amount": "100.00",
            "order_currency_code": "USD",
            "delivered_at": "",
            "stock_delivered_at": "",
            "process_sn": "",
            "logistics_provider_id": 6,
            "logistics_type_id": 265,
            "surface_file_type": "",
            "is_lock_storage": 0,
            "is_advance_delivery": 1,
            "apportion_status": 0,
            "apportion_message": "",
            "remark_attachment": "[]",
            "platform_payment_time": "",
            "tag_names": [],
            "seller_name": "uboss 1-US",
            "site_text": "[Amazon].美国",
            "product_info": [
                {
                    "wod_id": 6945,
                    "product_id": 22162,
                    "sku": "tianjia",
                    "stock_sid": "0",
                    "stock_seller_name": "",
                    "bundle_type": 0,
                    "bundle_wod_id": 0,
                    "product_name": "添加关联辅料",
                    "count": 1,
                    "seller_sku": "",
                    "customization": "DDAV",
                    "item_unit_price": "100.00",
                    "item_total_price": "100.00",
                    "real_weight_total": "0.00",
                    "fee_weight_total": "0.00",
                    "volume_weight_total": "0.00",
                    "apportion_freight": "0.000000",
                    "apportion_freight_single": "0.000000",
                    "cn_name": "",
                    "en_name": "",
                    "unit_price": "",
                    "currency_code": "$",
                    "declared_currency_icon": "",
                    "logistics_freight_currency_code": "",
                    "stock_cost": "0.000000",
                    "third_product_name": "",
                    "third_product_code": ""
                }
            ],
            "status_name": "已截单",
            "logistics_status_name": "已下单",
            "target_country": "美国",
            "surface_file": {
                "cos_url": "",
                "uri": "",
                "ext": "",
                "size": ""
            },
            "platform_name": "Amazon",
            "platform_order_no": [
                "testverppp0117"
            ],
            "package_delivered_data": [],
            "logistics_provider_name": "shipout",
            "logistics_type_name": "未命名101010",
            "warehouse_name": "ruec本地仓",
            "pkg_volume": "0.00",
            "pkg_length": "0.00",
            "pkg_width": "0.00",
            "pkg_height": "0.00",
            "pkg_weight": "0.000",
            "pkg_real_weight": "0.000",
            "pkg_fee_weight": "0.000",
            "pkg_weight_unit": "g",
            "pkg_real_weight_unit": "g",
            "pkg_fee_weight_unit": "g",
            "pkg_size_unit": "cm",
            "logistics_estimated_freight": "0.00",
            "logistics_freight": "0.00",
            "logistics_estimated_freight_currency_code": "CNY",
            "logistics_freight_currency_code": "",
            "recipient_tax_no": "",
            "sender_tax_no": "",
            "create_at": "2023-08-02 14:07:54"
        }
    ],
    "total": 1
}