stockout_order_query{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | start_time | start_time | string | 1 | 可选 | 按最后修改时间增量获取数据,start_time作为开始时间,格式:yyyy-MM-dd HH:mm:ss |
| 2 | end_time | end_time | string | 1 | 可选 | 按最后修改时间增量获取数据,end_time作为结束时间,格式:yyyy-MM-dd HH:mm:ss |
| 3 | order_type | order_type | string | 7 | 可选 | 2调拨出库,3采购退货出库,4盘亏出库,5生产出库,7其他出库,8多发出库,9纠错出库,10保修配件出库,11初始化出库,12jit拣货出库,13委外出库 |
| 4 | status | status | string | 1 | 可选 | 出库单状态5:已取消,50:待审核,55:已审核,95:已发货,110:已完成(默认查已发货已完成单据),113:异常发货 |
| 5 | warehouse_no | warehouse_no | string | 1 | 可选 | 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置)(不支持一次推送多个仓库编号) |
| 6 | src_order_no | src_order_no | string | 1 | 可选 | 源单号 |
| 7 | stockout_no | stockout_no | string | 1 | 可选 | 出库单号,传该字段可以不传时间 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | stockout_id | stockout_id | string | 1 | 可选 | 出库单主键id |
| 2 | order_no | order_no | string | 1 | 可选 | 出库单号 |
| 3 | src_order_no | src_order_no | string | 1 | 可选 | 源单号,上层单据的业务单号 |
| 4 | warehouse_no | warehouse_no | string | 1 | 可选 | 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置),用于获取指定仓库数据信息 |
| 5 | status | status | string | 1 | 可选 | 出库单状态 |
| 6 | consign_time | consign_time | string | 1 | 可选 | 出库时间,格式:yyyy-MM-dd HH:mm:ss |
| 7 | order_type | order_type | string | 1 | 可选 | 出库单类型 |
| 8 | order_type_name | order_type_name | string | 1 | 可选 | 出库单类型名称 |
| 9 | subtype | subtype | string | 1 | 可选 | 出库单子类型 |
| 10 | stockout_reason | stockout_reason | string | 1 | 可选 | 出库原因 |
| 11 | goods_count | goods_count | string | 1 | 可选 | 货品数量 |
| 12 | goods_total_amount | goods_total_amount | string | 1 | 可选 | 货品总销售金额 |
| 13 | goods_total_cost | goods_total_cost | string | 1 | 可选 | 货品总成本金额 |
| 14 | post_fee | post_fee | string | 1 | 可选 | 邮费 |
| 15 | logistics_no | logistics_no | string | 1 | 可选 | 物流单号(该出库单的运单号) |
| 16 | package_fee | package_fee | string | 1 | 可选 | 包装费 |
| 17 | receiver_name | receiver_name | string | 1 | 可选 | 该字段已废弃 |
| 18 | receiver_country | receiver_country | string | 1 | 可选 | 国家 |
| 19 | receiver_province | receiver_province | string | 1 | 可选 | 省份 |
| 20 | receiver_city | receiver_city | string | 1 | 可选 | 城市 |
| 21 | receiver_district | receiver_district | string | 1 | 可选 | 地区 |
| 22 | receiver_address | receiver_address | string | 1 | 可选 | 该字段已废弃 |
| 23 | receiver_mobile | receiver_mobile | string | 1 | 可选 | 该字段已废弃 |
| 24 | receiver_telno | receiver_telno | string | 1 | 可选 | 该字段已废弃 |
| 25 | receiver_zip | receiver_zip | string | 1 | 可选 | 邮编 |
| 26 | weight | weight | string | 1 | 可选 | 重量 |
| 27 | remark | remark | string | 1 | 可选 | 备注 |
| 28 | outer_no | outer_no | string | 1 | 可选 | 外部单号 |
| 29 | operator_name | operator_name | string | 1 | 可选 | 操作员姓名 |
| 30 | logistics_type | logistics_type | string | 1 | 可选 | 响应值为代表物流方式的数字,数字对应的物流方式名称单击这里 |
| 31 | logistics_code | logistics_code | string | 1 | 可选 | 代表物流所有属性的唯一编码,用于物流区分,ERP内支持自定义(ERP物流界面设置) |
| 32 | logistics_name | logistics_name | string | 1 | 可选 | erp对应的物流公司名称 |
| 33 | details_list | details_list | array | 1 | 可选 | 响应参数的2级数据节点,包含当出库单货品属性信息的数据节点,节点下数据字段详见下述"details_list" |
| 34 | stockout_id | stockout_id | string | 1 | 可选 | 出库单主键id |
| 35 | rec_id | rec_id | string | 1 | 可选 | 出库单明细id |
| 36 | spec_no | spec_no | string | 1 | 可选 | 代表所单品(sku)所有属性的唯一编码,用于获取系统单品的数据,SKU概念介绍,单击这里 |
| 37 | goods_count | goods_count | string | 1 | 可选 | 货品数量 |
| 38 | sell_price | sell_price | string | 1 | 可选 | 销售价 |
| 39 | brand_no | brand_no | string | 1 | 可选 | 品牌编号 |
| 40 | brand_name | brand_name | string | 1 | 可选 | 品牌名称 |
| 41 | goods_name | goods_name | string | 1 | 可选 | 货品名称 |
| 42 | goods_no | goods_no | string | 1 | 可选 | 代表SPU所有属性的唯一编号,用于获取系统货品的数据,SPU概念介绍,单击这里 |
| 43 | spec_name | spec_name | string | 1 | 可选 | 规格名称 |
| 44 | spec_code | spec_code | string | 1 | 可选 | 规格编号 |
| 45 | cost_price | cost_price | string | 1 | 可选 | 成本价 |
| 46 | total_amount | total_amount | string | 1 | 可选 | 总销售金额 |
| 47 | weight | weight | string | 1 | 可选 | 重量 |
| 48 | remark | remark | string | 1 | 可选 | 备注 |
| 49 | goods_unit | goods_unit | string | 1 | 可选 | 货品单位 |
| 50 | batch_no | batch_no | string | 1 | 可选 | 批次号 |
| 51 | batch_remark | batch_remark | string | 1 | 可选 | 批次备注 |
| 52 | expire_date | expire_date | string | 1 | 可选 | 有效期,格式:yyyy-MM-dd HH:mm:ss |
| 53 | position_list | position_list | array | 1 | 可选 | 响应参数的3级数据节点,节点下数据字段详见下述“position_list”列表 |
| 54 | position_id | position_id | string | 1 | 可选 | 货位ID |
| 55 | position_no | position_no | string | 1 | 可选 | 货位编号 |
| 56 | position_goods_count | position_goods_count | string | 1 | 可选 | 货位出库数量 |
| 57 | stockout_order_detail_id | stockout_order_detail_id | string | 1 | 可选 | 出库单明细id |
| 58 | rec_id | rec_id | string | 1 | 可选 | 货位主键id |
| 59 | stock_spec_detail_id | stock_spec_detail_id | string | 1 | 可选 | 入库单号明细id |
| 60 | stockin_detail_id | stockin_detail_id | string | 1 | 可选 | 入库单明细id |
| 61 | batch_id | batch_id | string | 1 | 可选 | 批次id |
| 62 | batch_no | batch_no | string | 1 | 可选 | 批次号 |
| 63 | cost_price | cost_price | string | 1 | 可选 | 成本价 |
| 64 | modified | modified | string | 1 | 可选 | 最后修改时间,格式:yyyy-MM-dd HH:mm:ss |
| 65 | v_stock_spec_detail_id | v_stock_spec_detail_id | string | 1 | 可选 | 先进先出计价用 |
| 66 | expire_date | expire_date | string | 1 | 可选 | 有效期,格式:yyyy-MM-dd HH:mm:ss |
| 67 | created | created | string | 1 | 可选 | 创建时间,格式:yyyy-MM-dd HH:mm:ss |
旺店通·企业版的接口:查询出库单管理_v1(stockout_order_query),由轻易云数据集成平台 API 资产管理模块整理收纳,并随旺店通·企业版版本更新同步更新。