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

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

接口地址:purchase_order_query

请求方法: POST

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

接口请求参数
序号 字段 名称 类型 默认值 描述 是否必要
1 start_time start_time string {{DAYS_AGO_1|datetime}} 111
2 outer_no outer_no string 1 外部创建采购单推送的单号,传该字段可以不传开始时间和结束时间
3 warehouse_no warehouse_no string 1 111
4 status status string 1 10 已取消,20 编辑中,30 待审核,35 待财审,40 已审核,43 待推送,45 推送失败,48 待收货,50 部分到货,60已到货,70 待结算,80 部分结算,90 已完成(不传默认查询全部状态采购单)
5 end_time end_time string {{CURRENT_TIME|datetime}} 111
接口响应参数
序号 字段 名称 类型 默认值 描述 是否必要
1 purchase_id purchase_id string 1 采购单id,采购单表主键
2 purchase_no purchase_no string 1 ERP系统采购单编号
3 purchase_no purchase_no string 1 ERP系统采购单编号
4 purchase_outer_no purchase_outer_no string 1 ERP推送采购单外部返回单号(对应外部仓储单号)。
5 outer_no outer_no string 1 通过接口创建采购单时传的api单号
6 warehouse_name warehouse_name string 1 仓库名称
7 warehouse_no warehouse_no string 1 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置)
8 status status string 1 采购单状态:10已取消,20编辑中,30待审核,35待财审,40已审核,43待推送,45推送失败,48待收货,50部分到货,60已到货,70待结算,80部分结算,90已完成
9 provider_no provider_no string 1 供应商编号
10 provider_name provider_name string 1 供应商名称
11 contact contact string 1 联系人
12 telno telno string 1 电话
13 purchaser_name purchaser_name string 1 采购员
14 receive_address receive_address string 1 收货地址
15 logistics_type logistics_type string 1 货运方式
16 check_time check_time string 1 审核时间,格式:yyyy-MM-dd HH:mm:ss
17 goods_amount goods_amount string 1 货款
18 post_fee post_fee string 1 邮资
19 other_fee other_fee string 1 其他费用
20 tax_goods_amount tax_goods_amount string 1 税后货品总金额
21 remark remark string 1 采购单备注
22 modified modified string 1 单据的最后修改时间,格式:yyyy-MM-dd HH:mm:ss
23 expect_arrive_time expect_arrive_time string 1 采购预计到货时间,格式:yyyy-MM-dd HH:mm:ss
24 prop1 prop1 string 1 自定义属性1
25 prop2 prop2 string 1 自定义属性2
26 created created string 1 单据创建时间,格式:yyyy-MM-dd HH:mm:ss
27 creator_id creator_id string 1 默认为'0',创建人id
28 creator_name creator_name string 1 默认为'0',创建人姓名
29 warehouse_id warehouse_id string 1 仓库id
30 api_outer_no api_outer_no string 1 默认为'',接口创建的单据的外部单号,同outer_no
31 wms_outer_no wms_outer_no string 1 默认为'',对应外部仓库的单号,同purchase_outer_no字段
32 wms_status wms_status string 1 默认为'0',外部状态,与wms对接使用0初始化1失败2成功
33 error_info error_info string 1 默认为'',返回错误信息
34 purchaser_id purchaser_id string 1 默认为'0',采购员id
35 order_type order_type string 1 默认为'0',0普通采购单,1档口采购单,2APP档口采购单
36 flag_id flag_id string 1 默认为'0',颜色标记
37 provider_id provider_id string 1 默认为'0',供应商
38 check_operator_id check_operator_id string 1 默认为'0',审核人
39 facheck_operator_id facheck_operator_id string 1 默认为'0',财审人
40 facheck_time facheck_time string 1 默认为'0000-00-00',财审时间
41 goods_fee goods_fee string 1 默认为'0.0000',货品总价
42 goods_count goods_count string 1 默认为'0.0000',货品数量
43 tax_fee tax_fee string 1 默认为'0',税后总价
44 goods_type_count goods_type_count string 1 默认为'0',货品种类
45 goods_arrive_count goods_arrive_count string 1 默认为'0.0000',到货总量
46 revert_reason revert_reason string 1 默认为'0',驳回原因
47 version_id version_id string 1 默认为'0',版本号
48 note_count note_count string 1 默认为'0',便签条数
49 prop_time1 prop_time1 string 1 默认为'0000-00-0000:00:00',自定义属性时间1
50 details_list details_list array 1 响应参数的2级数据节点,,节点下数据字段详见下述“details_list”
51 rec_id rec_id string 1 采购明细表主键id
52 purchase_id purchase_id string 1 采购单id
53 spec_no spec_no string 1 代表单品(sku)所有属性的编码,SKU概念介绍,单击这里
54 brand_name brand_name string 1 品牌名称,推送此字段前需将版本升级至V2.3.9.1及以上的稳定版本
55 num num string 1 数量
56 price price string 1 税前单价
57 discount discount string 1 折扣
58 tax tax string 1 税率
59 tax_price tax_price string 1 税后单价
60 tax_amount tax_amount string 1 税后金额
61 amount amount string 1 税前金额
62 stockin_amount stockin_amount string 1 采购到货入库总金额
63 stockin_num stockin_num string 1 采购到货入库数量
64 prop1 prop1 string 1 自定义属性1
65 prop2 prop2 string 1 自定义属性2
66 remark remark string 1 明细备注
67 modified modified string 1 修改时间,格式:yyyy-MM-dd HH:mm:ss
68 provider_goods_no provider_goods_no string 1 供应商货品编号
69 goods_no goods_no string 1 货品编号
70 goods_name goods_name string 1 货品名称
71 short_name short_name string 1 货品简称
72 spec_name spec_name string 1 规格名称
73 spec_code spec_code string 1 规格码
74 base_unit base_unit string 1 基本单位
75 purchase_unit purchase_unit string 1 采购单位
76 arrive_num arrive_num string 1 采购到货未入库数量
77 stopwait_num stopwait_num string 1 停止等待数量
78 purchase_price purchase_price string 1 采购价
79 last_price last_price string 1 最后采购价
80 last_second_price last_second_price string 1 上一次采购价
81 lowest_price lowest_price string 1 最低采购价
82 weight weight string 1 重量
83 arrive_more_num arrive_more_num string 1 多到货量
84 lack_num lack_num string 1 未到货量
85 spec_id spec_id string 1 规格id
86 warehouse_id warehouse_id string 1 默认为'0',仓库id
87 tag tag string 1 默认为'0', tag=0表示默认采购
88 num2 num2 string 1 默认为'0.0000',辅助单位数量
89 unit_ratio unit_ratio string 1 默认为'1.0000',基本单位和辅助单位的换算系数
90 unit_id unit_id string 1 辅助单位/采购单位
91 base_unit_id base_unit_id string 1 基本单位
92 created created string 1 单据创建时间,格式:yyyy-MM-dd HH:mm:ss
旺店通·企业版的接口:查询采购单_v1(purchase_order_query),由轻易云数据集成平台API资产管理模块整理收纳,并且根据旺店通·企业版版本更新同步实时更新。轻易云数据集成平台的API资产管理功能,通过统一的视图和控制台,帮助企业全面掌握API资产的使用情况,实现资源的高效利用和优化配置。
联系轻易云集成专家
联系系统对接开发人员卢剑航

卢剑航 加微信

拥有十多年丰富的经验,擅长ERP、MES、数据中台、营销云中台等集成。他能够根据客户需求,为其提供一站式集成解决方案,帮助企业快速实现各类系统数据集成服务。

更多系统对接方案