出库单模块 storage.stockout.list 非订单出库单能力(对应奇门 stockout.create):用于处理由奇门创建的非订单出库单;主出口为 storage.stockout.*,不再推荐通过 storage.delivery.* 命名使用。storage.delivery.* 仅保留兼容转发。 Params (3) 名称 类型 必填 说明 pagination object 否 分页参数,支持 page/pageSize where object 否 统一 where 条件对象;推荐使用 { operator, value, type } 标准结构,历史简写会在 main 中自动标准化;常用字段包括 delivery_order_code、status、outbound_status、buyer_nick、mobile 与日期区间字段。 sort object 否 排序参数,支持 sortField/sortOrder,默认按 updated_at DESC、id DESC Response (2) 名称 类型 必填 说明 list array 是 出库单列表 pagination object 是 分页信息(page、pageSize、total、totalPages、hasPrevious、hasNext) 接口返回数据: { "flag": "success", "code": 200, "message": "ok", "data": { "list": [ { "id": 32, "delivery_order_code": "CK26013001179", "pre_delivery_order_code": "", "pre_delivery_order_id": "", "order_type": "JYCK", "warehouse_code": "wdt02060120001", "order_flag": "", "source_platform_code": "OFFLINE", "source_platform_name": "线下", "create_at": "2026-01-20T13:02:59.000Z", "delete_at": null, "updated_at": "2026-03-25T13:36:02.000Z", "place_order_time": "2026-01-20T13:02:59.000Z", "pay_time": "2026-01-20T13:02:59.000Z", "pay_no": "", "service_code": null, "operator_name": null, "operate_time": "2026-03-25T13:36:02.000Z", "delivery_time": null, "shop_nick": "af69a68", "seller_nick": null, "buyer_nick": "肖宇玄", "total_amount": "12990.00", "item_amount": "0.00", "discount_amount": "0.00", "freight": "5.00", "ar_amount": "0.00", "got_amount": "12990.00", "service_fee": null, "logistics_code": "YTO", "logistics_name": null, "express_code": "", "logistics_area_code": "", "delivery_type": null, "is_urgency": "N", "invoice_flag": "N", "status": "pedding", "name": "肖宇玄", "zip_code": "", "tel": "18727038559", "mobile": "18727038559", "email": "", "country_code": "", "province": "北京", "city": "北京市", "area": "西城区", "town": "", "detail_address": "湖北省襄阳市宏泰越秀星汇城", "id_type": null, "id_number": null, "oaid": null, "sync_status": "padding", "store_id": 1000016, "warehouse_id": 100000, "from_key": 21363512, "items": "101874+100|101875+1@2", "items_count": 2, "items_total": 101, "items_weight": "2.00", "items_hash": "4dc8eceb86a6dfeb730321a6779bc360", "items_crc": 1137, "wave_id": 0, "post_status": "none", "storage_status": "none", "pick_status": "none", "pack_status": "none", "inspection_status": "none", "print_status": null, "claim_status": "none", "outbound_status": "none", "lock_status": null, "intercept_status": null }, { "id": 31, "delivery_order_code": "CK26012800003", "pre_delivery_order_code": "", "pre_delivery_order_id": "", "order_type": "JYCK", "warehouse_code": "wdt02060120001", "order_flag": "", "source_platform_code": "OFFLINE", "source_platform_name": "线下", "create_at": "2026-01-20T13:02:59.000Z", "delete_at": null, "updated_at": "2026-01-28T02:33:35.000Z", "place_order_time": "2026-01-20T13:02:59.000Z", "pay_time": "2026-01-20T13:02:59.000Z", "pay_no": "", "service_code": null, "operator_name": null, "operate_time": "2026-01-28T02:33:35.000Z", "delivery_time": null, "shop_nick": "af69a68", "seller_nick": null, "buyer_nick": "肖宇玄", "total_amount": "12990.00", "item_amount": "0.00", "discount_amount": "0.00", "freight": "5.00", "ar_amount": "0.00", "got_amount": "12990.00", "service_fee": null, "logistics_code": "YTO", "logistics_name": null, "express_code": "", "logistics_area_code": "", "delivery_type": null, "is_urgency": "N", "invoice_flag": "N", "status": "pedding", "name": "肖宇玄", "zip_code": "", "tel": "18727038559", "mobile": "18727038559", "email": "", "country_code": "", "province": "北京", "city": "北京市", "area": "西城区", "town": "", "detail_address": "湖北省襄阳市宏泰越秀星汇城", "id_type": null, "id_number": null, "oaid": null, "sync_status": "padding", "store_id": 1000016, "warehouse_id": 100000, "from_key": 21363512, "items": "101874+100|101875+1@2", "items_count": 2, "items_total": 101, "items_weight": "2.00", "items_hash": "4dc8eceb86a6dfeb730321a6779bc360", "items_crc": 1137, "wave_id": 0, "post_status": "none", "storage_status": "none", "pick_status": "none", "pack_status": "none", "inspection_status": "none", "print_status": null, "claim_status": "none", "outbound_status": "none", "lock_status": null, "intercept_status": null }, { "id": 30, "delivery_order_code": "CK26012000895", "pre_delivery_order_code": "", "pre_delivery_order_id": "", "order_type": "JYCK", "warehouse_code": "wdt02060120001", "order_flag": "", "source_platform_code": "OFFLINE", "source_platform_name": "线下", "create_at": "2026-01-20T13:00:40.000Z", "delete_at": null, "updated_at": "2026-01-20T13:11:37.000Z", "place_order_time": "2026-01-20T13:00:41.000Z", "pay_time": "2026-01-20T13:00:41.000Z", "pay_no": "", "service_code": null, "operator_name": null, "operate_time": "2026-01-20T13:11:37.000Z", "delivery_time": null, "shop_nick": "af69a68", "seller_nick": null, "buyer_nick": "测试", "total_amount": "6495.00", "item_amount": "0.00", "discount_amount": "0.00", "freight": "5.00", "ar_amount": "0.00", "got_amount": "6495.00", "service_fee": null, "logistics_code": "YTO", "logistics_name": null, "express_code": "", "logistics_area_code": "", "delivery_type": null, "is_urgency": "N", "invoice_flag": "N", "status": "pedding", "name": "测试", "zip_code": "", "tel": "11111111111", "mobile": "11111111111", "email": "", "country_code": "", "province": "北京", "city": "北京市", "area": "东城区", "town": "", "detail_address": "测试", "id_type": null, "id_number": null, "oaid": null, "sync_status": "padding", "store_id": 1000016, "warehouse_id": 100000, "from_key": 21363512, "items": "101874+50|101875+1@2", "items_count": 2, "items_total": 51, "items_weight": "2.00", "items_hash": "e87473418ea8a893825a3b13c2663c10", "items_crc": 1093, "wave_id": 0, "post_status": "none", "storage_status": "none", "pick_status": "none", "pack_status": "none", "inspection_status": "none", "print_status": null, "claim_status": "none", "outbound_status": "none", "lock_status": null, "intercept_status": null }, { "id": 29, "delivery_order_code": "CK26012000894", "pre_delivery_order_code": "", "pre_delivery_order_id": "", "order_type": "JYCK", "warehouse_code": "wdt02060120001", "order_flag": "", "source_platform_code": "OFFLINE", "source_platform_name": "线下", "create_at": "2026-01-20T13:02:59.000Z", "delete_at": null, "updated_at": "2026-01-20T13:11:33.000Z", "place_order_time": "2026-01-20T13:02:59.000Z", "pay_time": "2026-01-20T13:02:59.000Z", "pay_no": "", "service_code": null, "operator_name": null, "operate_time": "2026-01-20T13:11:33.000Z", "delivery_time": null, "shop_nick": "af69a68", "seller_nick": null, "buyer_nick": "肖宇玄", "total_amount": "12990.00", "item_amount": "0.00", "discount_amount": "0.00", "freight": "5.00", "ar_amount": "0.00", "got_amount": "12990.00", "service_fee": null, "logistics_code": "YTO", "logistics_name": null, "express_code": "", "logistics_area_code": "", "delivery_type": null, "is_urgency": "N", "invoice_flag": "N", "status": "pedding", "name": "肖宇玄", "zip_code": "", "tel": "18727038559", "mobile": "18727038559", "email": "", "country_code": "", "province": "北京", "city": "北京市", "area": "西城区", "town": "", "detail_address": "湖北省襄阳市宏泰越秀星汇城", "id_type": null, "id_number": null, "oaid": null, "sync_status": "padding", "store_id": 1000016, "warehouse_id": 100000, "from_key": 21363512, "items": "101874+100|101875+1@2", "items_count": 2, "items_total": 101, "items_weight": "2.00", "items_hash": "4dc8eceb86a6dfeb730321a6779bc360", "items_crc": 1137, "wave_id": 0, "post_status": "none", "storage_status": "none", "pick_status": "none", "pack_status": "none", "inspection_status": "none", "print_status": null, "claim_status": "none", "outbound_status": "none", "lock_status": null, "intercept_status": null }, { "id": 22, "delivery_order_code": "935520", "pre_delivery_order_code": "", "pre_delivery_order_id": "", "order_type": "JYCK", "warehouse_code": "100000", "order_flag": "", "source_platform_code": "OFFLINE", "source_platform_name": "线下", "create_at": "2026-01-13T15:27:36.000Z", "delete_at": null, "updated_at": "2026-01-13T15:27:38.000Z", "place_order_time": "2026-01-13T14:49:50.000Z", "pay_time": "2026-01-13T14:51:36.000Z", "pay_no": "S20260113225136223", "service_code": null, "operator_name": null, "operate_time": "2026-01-13T15:27:36.000Z", "delivery_time": null, "shop_nick": "{线下}", "seller_nick": null, "buyer_nick": "刘付明仁", "total_amount": "0.00", "item_amount": "0.00", "discount_amount": "0.00", "freight": "0.00", "ar_amount": "0.00", "got_amount": "0.00", "service_fee": null, "logistics_code": "SFKY", "logistics_name": "顺丰速运_空运", "express_code": "", "logistics_area_code": "", "delivery_type": null, "is_urgency": "N", "invoice_flag": "N", "status": "pedding", "name": "刘付明仁", "zip_code": "", "tel": "", "mobile": "18022440198", "email": "", "country_code": "", "province": "广东省", "city": "广州市", "area": "白云区", "town": "", "detail_address": "钟落潭良沙二路32号", "id_type": null, "id_number": null, "oaid": null, "sync_status": "padding", "store_id": 1000000, "warehouse_id": 100000, "from_key": 23060081, "items": "101391+5", "items_count": 1, "items_total": 5, "items_weight": "0.00", "items_hash": "26939f46b9fb7d216a485c89b6bda980", "items_crc": 399, "wave_id": 0, "post_status": "none", "storage_status": "none", "pick_status": "none", "pack_status": "none", "inspection_status": "none", "print_status": null, "claim_status": "none", "outbound_status": "none", "lock_status": null, "intercept_status": null }, { "id": 21, "delivery_order_code": "JY2026011327233", "pre_delivery_order_code": "", "pre_delivery_order_id": "", "order_type": "JYCK", "warehouse_code": "100000", "order_flag": "", "source_platform_code": "PDD", "source_platform_name": "拼多多", "create_at": "2026-01-13T15:26:07.000Z", "delete_at": null, "updated_at": "2026-01-13T15:26:07.000Z", "place_order_time": "2026-01-13T15:22:03.000Z", "pay_time": "2026-01-13T15:22:03.000Z", "pay_no": "", "service_code": null, "operator_name": "1", "operate_time": "2026-01-13T15:26:07.000Z", "delivery_time": null, "shop_nick": "火火家de小店", "seller_nick": "1", "buyer_nick": "刘付明仁18022440198", "total_amount": "10.00", "item_amount": "10.00", "discount_amount": "0.00", "freight": "0.00", "ar_amount": "0.00", "got_amount": "0.00", "service_fee": null, "logistics_code": "SFKY", "logistics_name": "顺丰空运", "express_code": "", "logistics_area_code": "", "delivery_type": null, "is_urgency": "N", "invoice_flag": "N", "status": "pedding", "name": "刘付明仁", "zip_code": "", "tel": "", "mobile": "18022440198", "email": "", "country_code": "CN", "province": "广东省", "city": "广州市", "area": "白云区", "town": "太和镇", "detail_address": "广东省 广州市 白云区 太和镇 二路32号", "id_type": null, "id_number": null, "oaid": null, "sync_status": "padding", "store_id": 1000000, "warehouse_id": 100000, "from_key": 24869601, "items": "101384+10", "items_count": 1, "items_total": 10, "items_weight": "0.00", "items_hash": "0043ebfd4f730160a5e9db969f1b856c", "items_crc": 445, "wave_id": 0, "post_status": "none", "storage_status": "none", "pick_status": "none", "pack_status": "none", "inspection_status": "none", "print_status": null, "claim_status": "none", "outbound_status": "none", "lock_status": null, "intercept_status": null }, { "id": 20, "delivery_order_code": "935502", "pre_delivery_order_code": "", "pre_delivery_order_id": "", "order_type": "JYCK", "warehouse_code": "100000", "order_flag": "", "source_platform_code": "OFFLINE", "source_platform_name": "线下", "create_at": "2026-01-13T15:09:37.000Z", "delete_at": null, "updated_at": "2026-01-13T15:09:40.000Z", "place_order_time": "2026-01-13T14:49:50.000Z", "pay_time": "2026-01-13T14:51:36.000Z", "pay_no": "S20260113225136223", "service_code": null, "operator_name": null, "operate_time": "2026-01-13T15:09:37.000Z", "delivery_time": null, "shop_nick": "{线下}", "seller_nick": null, "buyer_nick": "刘付明仁", "total_amount": "0.00", "item_amount": "0.00", "discount_amount": "0.00", "freight": "0.00", "ar_amount": "0.00", "got_amount": "0.00", "service_fee": null, "logistics_code": "SF", "logistics_name": "顺丰", "express_code": "", "logistics_area_code": "", "delivery_type": null, "is_urgency": "N", "invoice_flag": "N", "status": "pedding", "name": "刘付明仁", "zip_code": "", "tel": "", "mobile": "18022440198", "email": "", "country_code": "", "province": "广东省", "city": "广州市", "area": "白云区", "town": "", "detail_address": "钟落潭良沙二路32号", "id_type": null, "id_number": null, "oaid": null, "sync_status": "padding", "store_id": 1000000, "warehouse_id": 100000, "from_key": 23060081, "items": "101391+5", "items_count": 1, "items_total": 5, "items_weight": "0.00", "items_hash": "26939f46b9fb7d216a485c89b6bda980", "items_crc": 399, "wave_id": 0, "post_status": "none", "storage_status": "none", "pick_status": "none", "pack_status": "none", "inspection_status": "none", "print_status": null, "claim_status": "none", "outbound_status": "none", "lock_status": null, "intercept_status": null }, { "id": 19, "delivery_order_code": "935496", "pre_delivery_order_code": "", "pre_delivery_order_id": "", "order_type": "JYCK", "warehouse_code": "100000", "order_flag": "", "source_platform_code": "OFFLINE", "source_platform_name": "线下", "create_at": "2026-01-13T15:05:38.000Z", "delete_at": null, "updated_at": "2026-01-13T15:05:40.000Z", "place_order_time": "2026-01-13T14:49:50.000Z", "pay_time": "2026-01-13T14:51:36.000Z", "pay_no": "S20260113225136223", "service_code": null, "operator_name": null, "operate_time": "2026-01-13T15:05:38.000Z", "delivery_time": null, "shop_nick": "{线下}", "seller_nick": null, "buyer_nick": "刘付明仁", "total_amount": "0.00", "item_amount": "0.00", "discount_amount": "0.00", "freight": "0.00", "ar_amount": "0.00", "got_amount": "0.00", "service_fee": null, "logistics_code": "SF", "logistics_name": "顺丰", "express_code": "", "logistics_area_code": "", "delivery_type": null, "is_urgency": "N", "invoice_flag": "N", "status": "pedding", "name": "刘付明仁", "zip_code": "", "tel": "", "mobile": "18022440198", "email": "", "country_code": "", "province": "广东省", "city": "广州市", "area": "白云区", "town": "", "detail_address": "钟落潭良沙二路32号", "id_type": null, "id_number": null, "oaid": null, "sync_status": "padding", "store_id": 1000000, "warehouse_id": 100000, "from_key": 23060081, "items": "101391+5", "items_count": 1, "items_total": 5, "items_weight": "0.00", "items_hash": "26939f46b9fb7d216a485c89b6bda980", "items_crc": 399, "wave_id": 0, "post_status": "none", "storage_status": "none", "pick_status": "none", "pack_status": "none", "inspection_status": "none", "print_status": null, "claim_status": "none", "outbound_status": "none", "lock_status": null, "intercept_status": null }, { "id": 17, "delivery_order_code": "2885-832", "pre_delivery_order_code": "", "pre_delivery_order_id": "", "order_type": "JYCK", "warehouse_code": "khgj2025100902", "order_flag": "", "source_platform_code": "OFFLINE", "source_platform_name": "线下", "create_at": "2026-01-13T14:46:22.000Z", "delete_at": null, "updated_at": "2026-01-13T14:46:22.000Z", "place_order_time": "2026-01-13T14:36:37.000Z", "pay_time": "2026-01-13T14:36:37.000Z", "pay_no": "", "service_code": null, "operator_name": null, "operate_time": "2026-01-13T14:40:48.000Z", "delivery_time": null, "shop_nick": "线下店铺", "seller_nick": null, "buyer_nick": null, "total_amount": "0.00", "item_amount": "0.00", "discount_amount": "0.00", "freight": "0.00", "ar_amount": "0.00", "got_amount": "0.00", "service_fee": null, "logistics_code": "SF", "logistics_name": null, "express_code": "", "logistics_area_code": "", "delivery_type": null, "is_urgency": "N", "invoice_flag": "N", "status": "pedding", "name": "刘付明仁", "zip_code": "", "tel": "", "mobile": "18022440198", "email": "", "country_code": "", "province": "广东省", "city": "广州市", "area": "白云区", "town": "", "detail_address": "钟落潭良沙二路32号", "id_type": null, "id_number": null, "oaid": null, "sync_status": "padding", "store_id": 1000016, "warehouse_id": 100000, "from_key": 34597803, "items": "101842+1|101845+1", "items_count": 2, "items_total": 2, "items_weight": "0.00", "items_hash": "78ebc40a9cfca92e44e69e4cc3828c3e", "items_crc": 919, "wave_id": 0, "post_status": "none", "storage_status": "none", "pick_status": "none", "pack_status": "none", "inspection_status": "none", "print_status": null, "claim_status": "none", "outbound_status": "none", "lock_status": null, "intercept_status": null }, { "id": 14, "delivery_order_code": "2885-831", "pre_delivery_order_code": "", "pre_delivery_order_id": "", "order_type": "JYCK", "warehouse_code": "khgj2025100902", "order_flag": "", "source_platform_code": "OFFLINE", "source_platform_name": "线下", "create_at": "2026-01-13T14:17:35.000Z", "delete_at": null, "updated_at": "2026-01-13T14:17:35.000Z", "place_order_time": "2026-01-13T13:37:42.000Z", "pay_time": "2026-01-13T13:37:42.000Z", "pay_no": "", "service_code": null, "operator_name": null, "operate_time": "2026-01-13T13:38:05.000Z", "delivery_time": null, "shop_nick": "线下店铺", "seller_nick": null, "buyer_nick": null, "total_amount": "0.00", "item_amount": "0.00", "discount_amount": "0.00", "freight": "0.00", "ar_amount": "0.00", "got_amount": "0.00", "service_fee": null, "logistics_code": "SF", "logistics_name": null, "express_code": "", "logistics_area_code": "", "delivery_type": null, "is_urgency": "N", "invoice_flag": "N", "status": "pedding", "name": "刘付明仁", "zip_code": "", "tel": "", "mobile": "18022440198", "email": "", "country_code": "", "province": "广东省", "city": "广州市", "area": "白云区", "town": "", "detail_address": "钟落潭良沙二路32号", "id_type": null, "id_number": null, "oaid": null, "sync_status": "padding", "store_id": 1000016, "warehouse_id": 100000, "from_key": 34597803, "items": "101845+5", "items_count": 1, "items_total": 5, "items_weight": "0.00", "items_hash": "cbb47c0389ebc6c930a4671a4ea5d3a3", "items_crc": 403, "wave_id": 0, "post_status": "none", "storage_status": "none", "pick_status": "none", "pack_status": "none", "inspection_status": "none", "print_status": "none", "claim_status": "none", "outbound_status": "none", "lock_status": "none", "intercept_status": "none" } ], "pagination": { "page": 1, "pageSize": 20, "total": 10, "totalPages": 1, "hasNext": false, "hasPrevious": false } }, "timestamp": 1775696873 } ----- storage.stockout.listItems 按出库单查询商品明细(用于非订单出库单),底层复用 order.listItems。 Params (3) 名称 类型 必填 说明 delivery_order_code string 否 出库单号,可用于定位订单 order_id number 否 订单ID,可与 id 兼容用于定位订单 id number 否 订单ID,可选;与 delivery_order_code / order_id 至少传一个 Response (2) 名称 类型 必填 说明 order object 是 订单基础信息(含 id、delivery_order_code) items array 是 出库单商品明细 ---------- 收货单模块 storage.receiving.getReceivingList Params (2) 名称 类型 必填 说明 pagination object 否 分页参数,支持 page/pageSize where object 否 统一 where 条件对象;推荐使用 { operator, value, type } 标准结构,历史简写会在 main 中自动标准化;支持 quickWhere、status、store_id、日期区间等字段。示例:where.status={operator:eq,value:finished}; where.store_id={operator:eq,value:1001}; where.create_time_start={value:2026-03-01}。 Response (3) 名称 类型 必填 说明 list array 是 收货单列表 pagination object 是 分页信息(page、pageSize、total、totalPages、hasPrevious、hasNext) summary object 是 汇总信息(total_quantity、total_locked、total_available、total_items) 接口返回数据: { "flag": "success", "code": 200, "message": "ok", "data": { "order": { "id": 32, "delivery_order_code": "CK26013001179" }, "items": [ { "id": 15, "order_id": 32, "actual_price": "0.00", "retail_price": "0.00", "ext_code": "rrxm202502", "inventory_type": "ZP", "item_code": "rrxm202502", "item_id": 1000691, "item_name": "真空包装软糯香米5斤*1袋", "order_line_no": "2786718138979320012", "owner_code": "wdt02060120001", "plan_qty": 1, "source_order_code": "TID2601200501", "sub_source_order_code": "OID2601200503", "extend_props": null, "stock_id": null, "created_at": "2026-01-30T02:42:45.000Z", "updated_at": "2026-01-30T02:42:45.000Z", "createdAt": "2026-01-30T02:42:45.000Z", "updatedAt": "2026-01-30T02:42:45.000Z" }, { "id": 16, "order_id": 32, "actual_price": "129.90", "retail_price": "129.90", "ext_code": "三层钢蒸锅+屉26cm", "inventory_type": "ZP", "item_code": "三层钢蒸锅+屉26cm", "item_id": 1000690, "item_name": "【勇哥专属】微压锅电磁炉燃气灶通用7L大容量", "order_line_no": "2786718137599393996", "owner_code": "wdt02060120001", "plan_qty": 100, "source_order_code": "TID2601200501", "sub_source_order_code": "OID2601200502", "extend_props": null, "stock_id": null, "created_at": "2026-01-30T02:42:45.000Z", "updated_at": "2026-01-30T02:42:45.000Z", "createdAt": "2026-01-30T02:42:45.000Z", "updatedAt": "2026-01-30T02:42:45.000Z" } ] }, "timestamp": 1775697215 }