wdt.purchase.return.query{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | start_time | start_time | datetime | {{DAYS_AGO_1|datetime}} | Required | 增量获取数据,start_time作为开始时间,格式:yyyy-MM-dd HH:mm:ss |
| 2 | end_time | end_time | datetime | {{CURRENT_TIME|datetime}} | Required | 增量获取数据,end_time作为结束时间,格式:yyyy-MM-dd HH:mm:ss |
| 3 | status | status | string | 1 | Optional | 采购退货单状态:10,已取消,20,编辑中,30,待审核,40,已审核,42,待推送,44,推送失败,46,委外待出库,50,部分出库,60,已完成 |
| 4 | warehouse_no | warehouse_no | string | 1 | Optional | 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置),用于获取指定仓库单据数据信息(不支持一次推送多个仓库编号) |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | return_id | return_id | string | 1 | Optional | 采购退货单主键id |
| 2 | return_no | return_no | string | 1 | Optional | 退货单号 |
| 3 | provider_name | provider_name | string | 1 | Optional | 供应商 |
| 4 | status | status | string | 1 | Optional | 采购退货单状态:10,已取消,20,编辑中,30,待审核,40,已审核,42,待推送,44,推送失败,46,委外待出库,50,部分出库,60,已完成 |
| 5 | warehouse_no | warehouse_no | string | 1 | Optional | 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置) |
| 6 | warehouse_name | warehouse_name | string | 1 | Optional | 系统仓库名称 |
| 7 | purchaser_id | purchaser_id | string | 1 | Optional | 采购员id |
| 8 | purchaser_name | purchaser_name | string | 1 | Optional | 采购员名称 |
| 9 | logistics_type | logistics_type | string | 1 | Optional | 物流方式,详情介绍,单击这里 |
| 10 | other_fee | other_fee | string | 1 | Optional | 其它费用 |
| 11 | post_fee | post_fee | string | 1 | Optional | 邮费 |
| 12 | goods_fee | goods_fee | string | 1 | Optional | 总货款 |
| 13 | goods_count | goods_count | string | 1 | Optional | 退货开单量 |
| 14 | goods_type_count | goods_type_count | string | 1 | Optional | 货品种类数 |
| 15 | goods_out_count | goods_out_count | string | 1 | Optional | 退货出库量 |
| 16 | remark | remark | string | 1 | Optional | 采购退货单备注 |
| 17 | created | created | string | 1 | Optional | 格式:yyyy-MM-dd HH:mm:ss |
| 18 | modified | modified | string | 1 | Optional | 格式:yyyy-MM-dd HH:mm:ss |
| 19 | api_outer_no | api_outer_no | string | 1 | Optional | 外部接口单号 |
| 20 | outer_no | outer_no | string | 1 | Optional | 外部单号 |
| 21 | prop1 | prop1 | string | 1 | Optional | 自定义属性1 |
| 22 | prop2 | prop2 | string | 1 | Optional | 自定义属性2 |
| 23 | provider_no | provider_no | string | 1 | Optional | 供应商编号 |
| 24 | purchase_no | purchase_no | string | 1 | Optional | 引用采购单号 |
| 25 | creator_id | creator_id | string | 1 | Optional | 制单员id |
| 26 | creator_name | creator_name | string | 1 | Optional | 制单员姓名 |
| 27 | type | type | string | 1 | Optional | 默认为'1',1退货 |
| 28 | flag_id | flag_id | string | 1 | Optional | 默认为'0',颜色标记 |
| 29 | warehouse_id | warehouse_id | string | 1 | Optional | 出库id |
| 30 | provider_id | provider_id | string | 1 | Optional | 默认为'0',供应商id |
| 31 | contact | contact | string | 1 | Optional | 供商商联系人姓名 |
| 32 | telno | telno | string | 1 | Optional | 供应商联系电话 |
| 33 | receive_address | receive_address | string | 1 | Optional | 退货地址 |
| 34 | check_operator_id | check_operator_id | string | 1 | Optional | 默认为'0',审核人 |
| 35 | check_time | check_time | string | 1 | Optional | 默认'0000-00-00 00:00:00',审核时间 |
| 36 | note_count | note_count | string | 1 | Optional | 默认为'0',便签条数 |
| 37 | province | province | string | 1 | Optional | 默认为'',省份 |
| 38 | city | city | string | 1 | Optional | 默认为'',城市 |
| 39 | district | district | string | 1 | Optional | 默认为'',地区 |
| 40 | wms_outer_no | wms_outer_no | string | 1 | Optional | 默认为'',对应外部仓库的单号 |
| 41 | wms_status | wms_status | string | 1 | Optional | 默认为'0',处理状态 |
| 42 | error_info | error_info | string | 1 | Optional | 默认为'',接口调用错误信息 |
| 43 | version_id | version_id | string | 1 | Optional | 默认为'0',版本号 |
| 44 | last_load_purchase_id | last_load_purchase_id | string | 1 | Optional | 默认为'0',最后一次引用的采购单id |
| 45 | detail_list | detail_list | array | 1 | Optional | 响应参数的2级数据节点,包含采购退货单货货品明细所有属性信息,节点下数据字段详见下述“detail_list” |
| 46 | return_id | return_id | string | 1 | Optional | 默认为'0',标记 |
| 47 | provider_goods_no | provider_goods_no | string | 1 | Optional | 最后修改时间 |
| 48 | spec_no | spec_no | string | 1 | Optional | 响应参数的2级数据节点,包含采购入库货品明细属性信息,节点下数据字段详见下述“details_list” |
| 49 | goods_no | goods_no | string | 1 | Optional | 入库单主键id |
| 50 | goods_name | goods_name | string | 1 | Optional | 入库明细主键 |
| 51 | spec_name | spec_name | string | 1 | Optional | 上层单据明细主键 |
| 52 | spec_code | spec_code | string | 1 | Optional | 代表单品(sku)所有属性的编码,SKU概念介绍,单击这里 |
| 53 | num | num | string | 1 | Optional | 货品数量 |
| 54 | num2 | num2 | string | 1 | Optional | 优惠金额 |
| 55 | unit_id | unit_id | string | 1 | Optional | 单价 |
| 56 | unit_ratio | unit_ratio | string | 1 | Optional | 生产日期,格式:yyyy-MM-dd HH:mm:ss |
| 57 | base_unit_id | base_unit_id | string | 1 | Optional | 有效期天数 |
| 58 | price | price | string | 1 | Optional | 有效期,格式:yyyy-MM-dd HH:mm:ss |
| 59 | discount | discount | string | 1 | Optional | 原价 |
| 60 | amount | amount | string | 1 | Optional | 税后价 |
| 61 | unit_name | unit_name | string | 1 | Optional | 税后金额 |
| 62 | base_unit_name | base_unit_name | string | 1 | Optional | 税率 |
| 63 | remark | remark | string | 1 | Optional | 总成本 |
| 64 | tax | tax | string | 1 | Optional | 备注 |
| 65 | tax_amount | tax_amount | string | 1 | Optional | 调整量,正数或者负数 |
| 66 | rec_id | rec_id | string | 1 | Optional | 纠错金额 |
| 67 | spec_id | spec_id | string | 1 | Optional | 调整后数量 |
| 68 | out_num | out_num | string | 1 | Optional | 调整后单价 |
| 69 | out_amount | out_amount | string | 1 | Optional | 调整后总金额 |
| 70 | tax_price | tax_price | string | 1 | Optional | 品牌编号 |
| 71 | modified | modified | string | 1 | Optional | 品牌名称 |
| 72 | created | created | string | 1 | Optional | 货品名称 |
The 查询采购退货单_v1 API (wdt.purchase.return.query) 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.