轻易云
注册体验

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

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

查询采购退货单_v1

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

接口请求参数

序号字段名称类型默认值必填描述
1start_timestart_timedatetime{{DAYS_AGO_1|datetime}}必填增量获取数据,start_time作为开始时间,格式:yyyy-MM-dd HH:mm:ss
2end_timeend_timedatetime{{CURRENT_TIME|datetime}}必填增量获取数据,end_time作为结束时间,格式:yyyy-MM-dd HH:mm:ss
3statusstatusstring1可选采购退货单状态:10,已取消,20,编辑中,30,待审核,40,已审核,42,待推送,44,推送失败,46,委外待出库,50,部分出库,60,已完成
4warehouse_nowarehouse_nostring1可选代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置),用于获取指定仓库单据数据信息(不支持一次推送多个仓库编号)

接口响应参数

序号字段名称类型默认值必填描述
1return_idreturn_idstring1可选采购退货单主键id
2return_noreturn_nostring1可选退货单号
3provider_nameprovider_namestring1可选供应商
4statusstatusstring1可选采购退货单状态:10,已取消,20,编辑中,30,待审核,40,已审核,42,待推送,44,推送失败,46,委外待出库,50,部分出库,60,已完成
5warehouse_nowarehouse_nostring1可选代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置)
6warehouse_namewarehouse_namestring1可选系统仓库名称
7purchaser_idpurchaser_idstring1可选采购员id
8purchaser_namepurchaser_namestring1可选采购员名称
9logistics_typelogistics_typestring1可选物流方式,详情介绍,单击这里
10other_feeother_feestring1可选其它费用
11post_feepost_feestring1可选邮费
12goods_feegoods_feestring1可选总货款
13goods_countgoods_countstring1可选退货开单量
14goods_type_countgoods_type_countstring1可选货品种类数
15goods_out_countgoods_out_countstring1可选退货出库量
16remarkremarkstring1可选采购退货单备注
17createdcreatedstring1可选格式:yyyy-MM-dd HH:mm:ss
18modifiedmodifiedstring1可选格式:yyyy-MM-dd HH:mm:ss
19api_outer_noapi_outer_nostring1可选外部接口单号
20outer_noouter_nostring1可选外部单号
21prop1prop1string1可选自定义属性1
22prop2prop2string1可选自定义属性2
23provider_noprovider_nostring1可选供应商编号
24purchase_nopurchase_nostring1可选引用采购单号
25creator_idcreator_idstring1可选制单员id
26creator_namecreator_namestring1可选制单员姓名
27typetypestring1可选默认为'1',1退货
28flag_idflag_idstring1可选默认为'0',颜色标记
29warehouse_idwarehouse_idstring1可选出库id
30provider_idprovider_idstring1可选默认为'0',供应商id
31contactcontactstring1可选供商商联系人姓名
32telnotelnostring1可选供应商联系电话
33receive_addressreceive_addressstring1可选退货地址
34check_operator_idcheck_operator_idstring1可选默认为'0',审核人
35check_timecheck_timestring1可选默认'0000-00-00 00:00:00',审核时间
36note_countnote_countstring1可选默认为'0',便签条数
37provinceprovincestring1可选默认为'',省份
38citycitystring1可选默认为'',城市
39districtdistrictstring1可选默认为'',地区
40wms_outer_nowms_outer_nostring1可选默认为'',对应外部仓库的单号
41wms_statuswms_statusstring1可选默认为'0',处理状态
42error_infoerror_infostring1可选默认为'',接口调用错误信息
43version_idversion_idstring1可选默认为'0',版本号
44last_load_purchase_idlast_load_purchase_idstring1可选默认为'0',最后一次引用的采购单id
45detail_listdetail_listarray1可选响应参数的2级数据节点,包含采购退货单货货品明细所有属性信息,节点下数据字段详见下述“detail_list”
46return_idreturn_idstring1可选默认为'0',标记
47provider_goods_noprovider_goods_nostring1可选最后修改时间
48spec_nospec_nostring1可选响应参数的2级数据节点,包含采购入库货品明细属性信息,节点下数据字段详见下述“details_list”
49goods_nogoods_nostring1可选入库单主键id
50goods_namegoods_namestring1可选入库明细主键
51spec_namespec_namestring1可选上层单据明细主键
52spec_codespec_codestring1可选代表单品(sku)所有属性的编码,SKU概念介绍,单击这里
53numnumstring1可选货品数量
54num2num2string1可选优惠金额
55unit_idunit_idstring1可选单价
56unit_ratiounit_ratiostring1可选生产日期,格式:yyyy-MM-dd HH:mm:ss
57base_unit_idbase_unit_idstring1可选有效期天数
58pricepricestring1可选有效期,格式:yyyy-MM-dd HH:mm:ss
59discountdiscountstring1可选原价
60amountamountstring1可选税后价
61unit_nameunit_namestring1可选税后金额
62base_unit_namebase_unit_namestring1可选税率
63remarkremarkstring1可选总成本
64taxtaxstring1可选备注
65tax_amounttax_amountstring1可选调整量,正数或者负数
66rec_idrec_idstring1可选纠错金额
67spec_idspec_idstring1可选调整后数量
68out_numout_numstring1可选调整后单价
69out_amountout_amountstring1可选调整后总金额
70tax_pricetax_pricestring1可选品牌编号
71modifiedmodifiedstring1可选品牌名称
72createdcreatedstring1可选货品名称

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

需要对接这个接口?

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