/open/purchaseout/query{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | page_index | 第几页 | string | 1 | 可选 | 第几页,从第一页开始,默认1 |
| 2 | page_size | 每页多少条 | string | 30 | 可选 | 每页多少条,默认30,最大50 |
| 3 | modified_begin | 修改起始时间 | string | {{LAST_SYNC_TIME|datetime}} | 可选 | 修改起始时间,和结束时间必须同时存在,时间间隔不能超过七天,与线上单号不能同时为空 |
| 4 | modified_end | 修改结束时间 | string | {{CURRENT_TIME|datetime}} | 可选 | 修改结束时间,和起始时间必须同时存在,时间间隔不能超过七天,与线上单号不能同时为空 |
| 5 | so_ids | 指定线上订单号 | string | — | 可选 | 指定线上订单号,和时间段不能同时为空 |
| 6 | status | 单据状态 | string | Confirmed | 可选 | 单据状态,Confirmed=生效,WaitConfirm待审核,Creating=草拟,Archive=归档,Cancelled=作废 |
| 7 | io_ids | 采购退货单号列表 | string | — | 可选 | 最大30 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | io_id | 退货单号 | string | — | 可选 | 退货单号 |
| 2 | io_date | 退货日期 | string | — | 可选 | 退货日期 |
| 3 | status | 状态 | string | — | 可选 | Confirmed:生效,WaitConfirm:待审核,Creating:草拟,Cancelled:作废,OuterConfirming:外部确认中,Delete:取消 |
| 4 | so_id | 线上单号 | string | — | 可选 | 线上单号 |
| 5 | f_status | 财务状态 | string | — | 可选 | WaitConfirm=待审核,Confirmed=待审核 |
| 6 | warehouse | 仓库名 | string | — | 可选 | 仓库名 |
| 7 | receiver_name | 收货人/供应商名称 | string | — | 可选 | 收货人/供应商名称 |
| 8 | receiver_mobile | 收货电话 | string | — | 可选 | 收货电话 |
| 9 | receiver_state | 收件人省 | string | — | 可选 | 收件人省 |
| 10 | receiver_city | 收件人市 | string | — | 可选 | 收件人市 |
| 11 | receiver_district | 收件人区 | string | — | 可选 | 收件人区 |
| 12 | receiver_address | 收件人省地址 | string | — | 可选 | 收件人省地址 |
| 13 | wh_id | 仓库编号 | string | — | 可选 | 1=主仓,2=销退仓,3=进货仓,4=次品仓 |
| 14 | remark | 备注 | string | — | 可选 | 备注 |
| 15 | modified | 修改时间 | string | — | 可选 | 修改时间 |
| 16 | po_id | 采购单号 | string | — | 可选 | 采购单号 |
| 17 | wms_co_id | 分仓编号 | string | — | 可选 | 分仓编号 |
| 18 | seller_id | 供应商ID | string | — | 可选 | 供应商ID |
| 19 | labels | 标记|多标签 | string | — | 可选 | 标记|多标签 |
| 20 | logistics_company | 物流公司 | string | — | 可选 | 物流公司 |
| 21 | lc_id | 物流公司编号 | string | — | 可选 | 物流公司编号 |
| 22 | l_id | 物流单号 | string | — | 可选 | 物流单号 |
| 23 | archived | 财务审核日期 | string | — | 可选 | 财务审核日期 |
| 24 | creator_name | 创建人 | string | — | 可选 | 创建人 |
| 25 | lock_wh_id | 虚拟仓编号 | string | — | 可选 | 虚拟仓编号 |
| 26 | lock_wh_name | 虚拟仓名称 | string | — | 可选 | 虚拟仓名称 |
| 27 | items | 商品集合 | array | — | 可选 | 商品集合 |
| 27.1 | ioi_id | 明细id | string | — | 可选 | 明细id |
| 27.2 | sku_id | 商品编码 | string | — | 可选 | 商品编码 |
| 27.3 | name | 商品名称 | string | — | 可选 | 商品名称 |
| 27.4 | properties_value | 属性 | string | — | 可选 | 属性 |
| 27.5 | qty | 数量 | string | — | 可选 | 数量 |
| 27.6 | cost_price | 单价 | string | — | 可选 | 单价 |
| 27.7 | cost_amount | 金额 | string | — | 可选 | 金额 |
| 27.8 | i_id | 款式编码 | string | — | 可选 | 款式编码 |
| 27.9 | remark | 备注 | string | — | 可选 | 备注 |
| 27.10 | io_id | 退货单号 | string | — | 可选 | 退货单号 |
| 27.11 | co_id | 公司编号 | string | — | 可选 | 公司编号 |
| 27.12 | batch_no | 批次号 | string | — | 可选 | 系统中相关业务项需配置 |
| 28 | batchs | 批次集合 | array | — | 可选 | 获取该节点系统中相关业务项需配置 |
| 28.1 | batch_no | 批次号 | string | — | 可选 | 批次号 |
| 28.2 | sku_id | 商品编码 | string | — | 可选 | 商品编码 |
| 28.3 | qty | 数量 | string | — | 可选 | 数量 |
| 28.4 | product_date | 批次日期 | string | — | 可选 | 批次日期 |
| 28.5 | supplier_id | 供应商编号 | string | — | 可选 | 供应商编号 |
| 28.6 | supplier_name | 供应商名称 | string | — | 可选 | 供应商名称 |
| 29 | sns | 唯一码集合 | array | — | 可选 | 唯一码集合 |
| 29.1 | sku_id | 商品编码 | string | — | 可选 | 商品编码 |
| 29.2 | sn | 唯一码 | string | — | 可选 | 唯一码 |
聚水潭的接口:采购退货查询V3.0(/open/purchaseout/query),由轻易云数据集成平台 API 资产管理模块整理收纳,并随聚水潭版本更新同步更新。