旺店通·企业版查询采购退货单_v1API接口文档

所属平台: 旺店通·企业版
类型: WebAPI
作用: QUERY
接口版本: 0.1
适配器: \Adapter\Wdt\WdtQueryAdapter
帮助链接:
描述:
更新日期: 2021-01-11 19:57:47
查询采购退货单_v1

接口地址:purchase_return_query

请求方法: POST

加工厂: {"operation":{"method":"none"}}

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

胡秀丛 加微信

项目总监 她以卓越的数据集成专长,精通ERP、MES系统,以及数据中台的构建与优化。通过创新的一站式解决方案,她助力企业实现数据的无缝对接,提升业务流程效率,确保信息流通无障碍,为企业的数字化转型提供强有力的支持。