轻易云
注册体验

旺店通·企业奇门查询采购单_v1接口

类型
WebAPI
作用
QUERY
接口版本
0.1
适配器
\Adapter\Wdt\WdtQMQueryAdapter
授权方式
OTHER
更新日期
2021-04-27

查询采购单_v1

POSTwdt.purchase.order.query
加工厂
{
  "operation": {
    "method": "none"
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1start_timestart_timestring{{DAYS_AGO_1|datetime}}必填111
2outer_noouter_nostring1可选外部创建采购单推送的单号,传该字段可以不传开始时间和结束时间
3purchase_nopurchase_nostring1可选ERP系统采购单编号,传该字段可以不传开始时间和结束时间
4statusstatusstring1可选10 已取消,20 编辑中,30 待审核,35 待财审,40 已审核,43 待推送,45 推送失败,48 待收货,50 部分到货,60已到货,70 待结算,80 部分结算,90 已完成(不传默认查询全部状态采购单)
5warehouse_nowarehouse_nostring1可选111
6purchase_nopurchase_nostring1可选ERP系统采购单编号,传该字段可以不传开始时间和结束时间
7end_timeend_timestring{{CURRENT_TIME|datetime}}必填111

接口响应参数

序号字段名称类型默认值必填描述
1purchase_idpurchase_idstring1可选采购单id,采购单表主键
2purchase_outer_nopurchase_outer_nostring1可选ERP推送采购单外部返回单号(对应外部仓储单号)。
3outer_noouter_nostring1可选通过接口创建采购单时传的api单号
4warehouse_namewarehouse_namestring1可选仓库名称
5warehouse_nowarehouse_nostring1可选代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置)
6statusstatusstring1可选采购单状态:10已取消,20编辑中,30待审核,35待财审,40已审核,43待推送,45推送失败,48待收货,50部分到货,60已到货,70待结算,80部分结算,90已完成
7provider_noprovider_nostring1可选供应商编号
8provider_nameprovider_namestring1可选供应商名称
9contactcontactstring1可选联系人
10telnotelnostring1可选电话
11purchaser_namepurchaser_namestring1可选采购员
12receive_addressreceive_addressstring1可选收货地址
13logistics_typelogistics_typestring1可选货运方式
14check_timecheck_timestring1可选审核时间,格式:yyyy-MM-dd HH:mm:ss
15goods_amountgoods_amountstring1可选货款
16post_feepost_feestring1可选邮资
17other_feeother_feestring1可选其他费用
18tax_goods_amounttax_goods_amountstring1可选税后货品总金额
19remarkremarkstring1可选采购单备注
20modifiedmodifiedstring1可选单据的最后修改时间,格式:yyyy-MM-dd HH:mm:ss
21expect_arrive_timeexpect_arrive_timestring1可选采购预计到货时间,格式:yyyy-MM-dd HH:mm:ss
22prop1prop1string1可选自定义属性1
23prop2prop2string1可选自定义属性2
24createdcreatedstring1可选单据创建时间,格式:yyyy-MM-dd HH:mm:ss
25creator_idcreator_idstring1可选默认为'0',创建人id
26creator_namecreator_namestring1可选默认为'0',创建人姓名
27warehouse_idwarehouse_idstring1可选仓库id
28api_outer_noapi_outer_nostring1可选默认为'',接口创建的单据的外部单号,同outer_no
29wms_outer_nowms_outer_nostring1可选默认为'',对应外部仓库的单号,同purchase_outer_no字段
30wms_statuswms_statusstring1可选默认为'0',外部状态,与wms对接使用0初始化1失败2成功
31error_infoerror_infostring1可选默认为'',返回错误信息
32purchaser_idpurchaser_idstring1可选默认为'0',采购员id
33order_typeorder_typestring1可选默认为'0',0普通采购单,1档口采购单,2APP档口采购单
34flag_idflag_idstring1可选默认为'0',颜色标记
35provider_idprovider_idstring1可选默认为'0',供应商
36check_operator_idcheck_operator_idstring1可选默认为'0',审核人
37facheck_operator_idfacheck_operator_idstring1可选默认为'0',财审人
38facheck_timefacheck_timestring1可选默认为'0000-00-00',财审时间
39goods_feegoods_feestring1可选默认为'0.0000',货品总价
40goods_countgoods_countstring1可选默认为'0.0000',货品数量
41tax_feetax_feestring1可选默认为'0',税后总价
42goods_type_countgoods_type_countstring1可选默认为'0',货品种类
43goods_arrive_countgoods_arrive_countstring1可选默认为'0.0000',到货总量
44revert_reasonrevert_reasonstring1可选默认为'0',驳回原因
45version_idversion_idstring1可选默认为'0',版本号
46note_countnote_countstring1可选默认为'0',便签条数
47prop_time1prop_time1string1可选默认为'0000-00-0000:00:00',自定义属性时间1
48details_listdetails_listarray1可选响应参数的2级数据节点,,节点下数据字段详见下述“details_list”
49rec_idrec_idstring1可选采购明细表主键id
50purchase_idpurchase_idstring1可选采购单id
51spec_nospec_nostring1可选代表单品(sku)所有属性的编码,SKU概念介绍,单击这里
52brand_namebrand_namestring1可选品牌名称,推送此字段前需将版本升级至V2.3.9.1及以上的稳定版本
53numnumstring1可选数量
54pricepricestring1可选税前单价
55discountdiscountstring1可选折扣
56taxtaxstring1可选税率
57tax_pricetax_pricestring1可选税后单价
58tax_amounttax_amountstring1可选税后金额
59amountamountstring1可选税前金额
60stockin_amountstockin_amountstring1可选采购到货入库总金额
61stockin_numstockin_numstring1可选采购到货入库数量
62prop1prop1string1可选自定义属性1
63prop2prop2string1可选自定义属性2
64remarkremarkstring1可选明细备注
65modifiedmodifiedstring1可选修改时间,格式:yyyy-MM-dd HH:mm:ss
66provider_goods_noprovider_goods_nostring1可选供应商货品编号
67goods_nogoods_nostring1可选货品编号
68goods_namegoods_namestring1可选货品名称
69short_nameshort_namestring1可选货品简称
70spec_namespec_namestring1可选规格名称
71spec_codespec_codestring1可选规格码
72base_unitbase_unitstring1可选基本单位
73purchase_unitpurchase_unitstring1可选采购单位
74arrive_numarrive_numstring1可选采购到货未入库数量
75stopwait_numstopwait_numstring1可选停止等待数量
76purchase_pricepurchase_pricestring1可选采购价
77last_pricelast_pricestring1可选最后采购价
78last_second_pricelast_second_pricestring1可选上一次采购价
79lowest_pricelowest_pricestring1可选最低采购价
80weightweightstring1可选重量
81arrive_more_numarrive_more_numstring1可选多到货量
82lack_numlack_numstring1可选未到货量
83spec_idspec_idstring1可选规格id
84warehouse_idwarehouse_idstring1可选默认为'0',仓库id
85tagtagstring1可选默认为'0', tag=0表示默认采购
86num2num2string1可选默认为'0.0000',辅助单位数量
87unit_ratiounit_ratiostring1可选默认为'1.0000',基本单位和辅助单位的换算系数
88unit_idunit_idstring1可选辅助单位/采购单位
89base_unit_idbase_unit_idstring1可选基本单位
90createdcreatedstring1可选单据创建时间,格式:yyyy-MM-dd HH:mm:ss

旺店通·企业奇门的接口:查询采购单_v1(wdt.purchase.order.query),由轻易云数据集成平台 API 资产管理模块整理收纳,并随旺店通·企业奇门版本更新同步更新。

需要对接这个接口?

轻易云已预置该接口的适配能力,联系我们即可开始配置数据集成。