wdt.stockout.order.query.return{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | start_time | start_time | string | 1 | Optional | 111 |
| 2 | end_time | end_time | string | 1 | Optional | 按最后修改时间增量获取数据,end_time作为结束时间,格式:yyyy-MM-dd HH:mm:ss |
| 3 | warehouse_no | warehouse_no | string | 1 | Optional | 111 |
| 4 | status | status | string | 1 | Optional | 出库单状态5:已取消,50:待审核,55:已审核,95:已发货,110:已完成(默认查已发货已完成单据) |
| 5 | page_no | page_no | string | 1 | Optional | 111 |
| 6 | page_size | page_size | string | {{PAGINATION_PAGE_SIZE}} | Optional | 每页返回的数据条数,输入值范围1~30,不传本参数,输入值默认为30, |
| 7 | src_order_no | src_order_no | string | 1 | Optional | 111 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | stockout_id | stockout_id | string | 1 | Optional | 出库单主键id |
| 2 | order_no | order_no | string | 1 | Optional | 系统出库单号,默认为CK开头 |
| 3 | src_order_no | src_order_no | string | 1 | Optional | 该源单号为退货单号 |
| 4 | warehouse_no | warehouse_no | string | 1 | Optional | 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置) |
| 5 | status | status | string | 1 | Optional | 出库状态 |
| 6 | consign_time | consign_time | string | 1 | Optional | 出库时间,格式:yyyy-MM-dd HH:mm:ss |
| 7 | order_type | order_type | string | 1 | Optional | 源单据类别 1销售订单, 2调拨出库, 3采购退货出库, 4盘亏出库, 5生产出库, 6现款销售出库, 7其他出库, 8多发出库, 9纠错出库,10保修配件出库, 11初始化出库, 12jit拣货出库 13委外出库 |
| 8 | order_type_name | order_type_name | string | 1 | Optional | 源单据类型名称 |
| 9 | subtype | subtype | string | 1 | Optional | 出库子类型 |
| 10 | goods_count | goods_count | string | 1 | Optional | 货品数量 |
| 11 | goods_total_amount | goods_total_amount | string | 1 | Optional | 货品总售价 |
| 12 | goods_total_cost | goods_total_cost | string | 1 | Optional | 货品总成本 |
| 13 | post_fee | post_fee | string | 1 | Optional | 邮费 |
| 14 | logistics_no | logistics_no | string | 1 | Optional | 代表物流所有属性的唯一编码,用于物流区分,ERP内支持自定义(ERP物流界面设置) |
| 15 | package_fee | package_fee | string | 1 | Optional | 包装费 |
| 16 | receiver_name | receiver_name | string | 1 | Optional | 该字段已废弃 |
| 17 | receiver_country | receiver_country | string | 1 | Optional | 国家 |
| 18 | receiver_province | receiver_province | string | 1 | Optional | 省份 |
| 19 | receiver_city | receiver_city | string | 1 | Optional | 城市 |
| 20 | receiver_district | receiver_district | string | 1 | Optional | 地区 |
| 21 | receiver_address | receiver_address | string | 1 | Optional | 该字段已废弃 |
| 22 | receiver_mobile | receiver_mobile | string | 1 | Optional | 该字段已废弃 |
| 23 | receiver_telno | receiver_telno | string | 1 | Optional | 该字段已废弃 |
| 24 | receiver_zip | receiver_zip | string | 1 | Optional | 邮编 |
| 25 | weight | weight | string | 1 | Optional | 重量 |
| 26 | remark | remark | string | 1 | Optional | 备注 |
| 27 | stockout_reason | stockout_reason | string | 1 | Optional | 出库原因 |
| 28 | outer_no | outer_no | string | 1 | Optional | 外部单号 |
| 29 | operator_name | operator_name | string | 1 | Optional | 操作人 |
| 30 | receiver_area | receiver_area | string | 1 | Optional | 省市区空格分开 |
| 31 | return_no | return_no | string | 1 | Optional | 采购退货单号 |
| 32 | provider_no | provider_no | string | 1 | Optional | 代表供应商所有属性的唯一编码,用于供应商区分,ERP内支持自定义(ERP供应商界面设置) |
| 33 | provider_name | provider_name | string | 1 | Optional | 供应商名称 |
| 34 | modified | modified | string | 1 | Optional | 出库单的最后更新时间,格式:YYYY-MM-DD HH:MM:SS |
| 35 | pr_api_outer_no | pr_api_outer_no | string | 1 | Optional | 采购退货单的外部单号 |
| 36 | last_load_purchase_no | last_load_purchase_no | string | 1 | Optional | 最后引用采购单号 |
| 37 | picklist_print_status | picklist_print_status | string | 1 | Optional | 默认为'0',分拣单打印状态 0未打印 1打印中 2已打印 3无需打印 |
| 38 | logistics_print_status | logistics_print_status | string | 1 | Optional | 默认为'0',物流单打印状态,0未打印 1打印中 2已打印 3无需打印 |
| 39 | sendbill_print_status | sendbill_print_status | string | 1 | Optional | 默认为'0',发货单打印状态,0未打印 1待打中 2已打印 3无需打印 |
| 40 | stockout_no | stockout_no | string | 1 | Optional | 出库单号 |
| 41 | src_order_type | src_order_type | string | 1 | Optional | 源单据类别 1销售订单, 2调拨出库, 3采购退货出库, 4盘亏出库, 5生产出库, 6现款销售出库, 7其他出库, 8多发出库, 9纠错出库,10保修配件出库, 11初始化出库, 12jit拣货出库 13委外出库' |
| 42 | src_order_id | src_order_id | string | 1 | Optional | 源单据id |
| 43 | wms_status | wms_status | string | 1 | Optional | 处理状态 0 待处理 1 推送失败 2 推送成功 3 接口取消成功系统驳回失败 4 服务器正在处理 5 WMS返回发货信息 6 异步标记,推送申请成功 |
| 44 | error_info | error_info | string | 1 | Optional | 接口处理错误信息 |
| 45 | warehouse_type | warehouse_type | string | 1 | Optional | 默认为'0',仓库类别 0不限 1普通仓库 2自动流转外部 3京东仓储 4科捷 5百世物流 6 SKU360 7通天晓 8中联网仓 9顺丰仓储 10网仓2号 11奇门仓储 12旺店通仓储 13心怡仓储 14力威仓储 15京东沧海 16云集仓储 127其他 |
| 46 | warehouse_id | warehouse_id | string | 1 | Optional | 出库的仓库id |
| 47 | customer_id | customer_id | string | 1 | Optional | 默认为'0',客户id |
| 48 | freeze_reason | freeze_reason | string | 1 | Optional | 默认为'0',冻结原因 |
| 49 | is_allocated | is_allocated | string | 1 | Optional | 默认为'0',是否分配 |
| 50 | consign_status | consign_status | string | 1 | Optional | 默认为'0',出库状态 1验货 2称重 4出库 8物流同步 16分拣 32档口, 64拣货 |
| 51 | ebill_status | ebill_status | string | 1 | Optional | 默认为'0',电子面单,获取状态 |
| 52 | operator_id | operator_id | string | 1 | Optional | 默认为'0',制单人 |
| 53 | goods_type_count | goods_type_count | string | 1 | Optional | 默认为'0',货品种类数量 |
| 54 | md5_str | md5_str | string | 1 | Optional | 默认为'',MD5字符串值,用于单据排序 |
| 55 | raw_goods_count | raw_goods_count | string | 1 | Optional | 默认为'0',预留字段 |
| 56 | custom_type | custom_type | string | 1 | Optional | 默认为'0',其他出库自定义子类别0,1,2,3,4 |
| 57 | receiver_ring | receiver_ring | string | 1 | Optional | 默认为'',京东三环内(未使用) |
| 58 | to_deliver_time | to_deliver_time | string | 1 | Optional | 默认为'',配送时间 |
| 59 | pre_charge_time | pre_charge_time | string | 1 | Optional | 默认为'',配送中心 |
| 60 | logistics_id | logistics_id | string | 1 | Optional | 默认为'0',物流公司id |
| 61 | unknown_goods_amount | unknown_goods_amount | string | 1 | Optional | 默认为'0.0000',未知成本销售总额 |
| 62 | calc_post_cost | calc_post_cost | string | 1 | Optional | 默认为'0.0000',预估邮费成本 |
| 63 | post_cost | post_cost | string | 1 | Optional | 默认为'0.0000',邮费成本 |
| 64 | calc_weight | calc_weight | string | 1 | Optional | 默认为'0.0000',预估重量 |
| 65 | post_weight | post_weight | string | 1 | Optional | 默认为'0.0000',快递给的重量 |
| 66 | package_id | package_id | string | 1 | Optional | 默认为'0',包装 |
| 67 | package_cost | package_cost | string | 1 | Optional | 默认为'0.0000',包装成本 |
| 68 | has_invoice | has_invoice | string | 1 | Optional | 默认为'0',是否包含发票 |
| 69 | printer_id | printer_id | string | 1 | Optional | 默认为'0',打单员 |
| 70 | pick_error_count | pick_error_count | string | 1 | Optional | 默认为'0',拣货出错次数 |
| 71 | picker_id | picker_id | string | 1 | Optional | 默认为'0',拣货操作员id |
| 72 | sorter_id | sorter_id | string | 1 | Optional | 默认为'0',包裹分拣员id |
| 73 | examiner_id | examiner_id | string | 1 | Optional | 默认为'0',验货操作员id |
| 74 | consigner_id | consigner_id | string | 1 | Optional | 默认为'0',发货人id |
| 75 | packager_id | packager_id | string | 1 | Optional | 默认为'0',打包员 |
| 76 | pack_score | pack_score | string | 1 | Optional | 默认为'0',打包积分 |
| 77 | pick_score | pick_score | string | 1 | Optional | 默认为'0',拣货积分 |
| 78 | checkouter_id | checkouter_id | string | 1 | Optional | 默认为'0',签出员工id |
| 79 | watcher_id | watcher_id | string | 1 | Optional | 默认为'0',监视员 |
| 80 | picklist_no | picklist_no | string | 1 | Optional | 默认为'',分拣单编号 |
| 81 | picklist_seq | picklist_seq | string | 1 | Optional | 默认为'0',订单在分拣单中序号 |
| 82 | invoice_print_status | invoice_print_status | string | 1 | Optional | 默认为'0',发票打印状态 |
| 83 | flag_id | flag_id | string | 1 | Optional | 默认为'0',颜色标记 |
| 84 | logistics_template_id | logistics_template_id | string | 1 | Optional | 默认为'0', 物流单模板id |
| 85 | sendbill_template_id | sendbill_template_id | string | 1 | Optional | 默认为'0',发货单模板id |
| 86 | pos_allocate_mode | pos_allocate_mode | string | 1 | Optional | 默认为'0',货位分配方式:0系统自动分配, 1手动指定货位分配 2手动指定有效期批次货位 |
| 87 | note_count | note_count | string | 1 | Optional | 默认为'0',便签条数 |
| 88 | reason_id | reason_id | string | 1 | Optional | 默认为'0',其他出库原因 |
| 89 | lock_id | lock_id | string | 1 | Optional | 默认为'0',锁定策略id |
| 90 | reserve | reserve | string | 1 | Optional | 默认为'0',保留 |
| 91 | block_reason | block_reason | string | 1 | Optional | 默认为'0',截停原因1申请退款2已退款4地址被修改8发票被修改16物流被修改32仓库变化64备注修改128更换货品256添加货品512放弃抢单1024其他原因2048拦截赠品4096拦截天猫换货8192买家留言变更16384货品平台规格名变更 |
| 92 | batch_no | batch_no | string | 1 | Optional | 默认为'',打印批次 |
| 93 | stock_check_time | stock_check_time | string | 1 | Optional | 出库单审核时间 |
| 94 | detail_list | detail_list | array | 1 | Optional | 响应参数的2级数据节点,包含的采购退货出库单及其明细的数据节点,节点下数据字段详见下述“detail_list”列表 |
| 95 | rec_id | rec_id | string | 1 | Optional | 出库明细主键id |
| 96 | stockout_id | stockout_id | string | 1 | Optional | 出库单主键id |
| 97 | spec_no | spec_no | string | 1 | Optional | 代表单品(SKU)所有属性的唯一编号,用于系统单品的区分,SKU概念介绍单击这里 |
| 98 | goods_count | goods_count | string | 1 | Optional | 货品数量 |
| 99 | sell_price | sell_price | string | 1 | Optional | 销售价 |
| 100 | brand_no | brand_no | string | 1 | Optional | 品牌编号 |
| 101 | brand_name | brand_name | string | 1 | Optional | 品牌名称 |
| 102 | goods_name | goods_name | string | 1 | Optional | 货品名称 |
| 103 | goods_no | goods_no | string | 1 | Optional | 代表SPU所有属性的唯一编号,用于系统货品的区分,SPU概念介绍单击这里 |
| 104 | spec_name | spec_name | string | 1 | Optional | 规格名称 |
| 105 | spec_code | spec_code | string | 1 | Optional | 规格编号 |
| 106 | cost_price | cost_price | string | 1 | Optional | 成本价 |
| 107 | total_amount | total_amount | string | 1 | Optional | 总货款 |
| 108 | weight | weight | string | 1 | Optional | 重量 |
| 109 | goods_type | goods_type | string | 1 | Optional | 1销售商品 2原材料 3包装 4周转材料5虚拟商品 0其它 |
| 110 | goods_unit | goods_unit | string | 1 | Optional | 单位名称 |
| 111 | batch_no | batch_no | string | 1 | Optional | 批次号 |
| 112 | batch_remark | batch_remark | string | 1 | Optional | 批次备注 |
| 113 | expire_date | expire_date | string | 1 | Optional | 有效期,格式:yyyy-MM-dd HH:mm:ss |
| 114 | remark | remark | string | 1 | Optional | 备注 |
| 115 | goods_id | goods_id | string | 1 | Optional | 货品id |
| 116 | spec_id | spec_id | string | 1 | Optional | 默认为'0',规格id |
| 117 | position_id | position_id | string | 1 | Optional | 默认为'0',货位,指出库货位 |
| 118 | src_order_type | src_order_type | string | 1 | Optional | 默认为'1',源单据类别 1销售订单2,调拨出库3,采购出库4,生产出库5,盘亏出库6,其他出库 |
| 119 | src_order_detail_id | src_order_detail_id | string | 1 | Optional | sales_trade_order表的主键 |
| 120 | base_unit_id | base_unit_id | string | 1 | Optional | 默认为'0',基本单位 |
| 121 | unit_id | unit_id | string | 1 | Optional | 默认为'0',辅助单位 |
| 122 | unit_ratio | unit_ratio | string | 1 | Optional | 默认为'1.0000',单位换算 |
| 123 | num2 | num2 | string | 1 | Optional | 默认为'0.0000,辅助数量 |
| 124 | num | num | string | 1 | Optional | 货品数量 |
| 125 | price | price | string | 1 | Optional | 默认为'0.0000,最终价格 |
| 126 | batch_id | batch_id | string | 1 | Optional | 默认为'0',指定出库批次 |
| 127 | is_examined | is_examined | string | 1 | Optional | 默认为'0',是否验货,用于挂起,已标记为验货的不需要再验货 |
| 128 | is_package | is_package | string | 1 | Optional | 默认为'0',是否包装 |
| 129 | is_zero_cost | is_zero_cost | string | 1 | Optional | 默认为'0',是否允许0成本 |
| 130 | scan_type | scan_type | string | 1 | Optional | 默认为'0',0未验货,1扫描验货,2手工验货 |
| 131 | modified | modified | string | 1 | Optional | 最后修改时间 |
| 132 | created | created | string | 1 | Optional | 创建时间 |
| 133 | position_list | position_list | array | 1 | Optional | 响应参数的3级数据节点,节点下数据字段详见下述“position_list”列表 |
| 134 | position_id | position_id | string | 1 | Optional | 货位ID |
| 135 | position_no | position_no | string | 1 | Optional | 货位编号 |
| 136 | position_goods_count | position_goods_count | string | 1 | Optional | 货位出库数量 |
The 查询采购退货出库单_v1 API (wdt.stockout.order.query.return) of 旺店通·企业奇门 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 旺店通·企业奇门 version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.