旺店通·企业奇门查询采购入库单_v1API接口文档

所属平台: 旺店通·企业奇门
类型: WebAPI
作用: QUERY
接口版本: 0.1
适配器: \Adapter\Wdt\WdtQMQueryAdapter
帮助链接:
描述:
更新日期: 2021-04-27 21:56:31
查询采购入库单_v1

接口地址:wdt.stockin.order.query.purchase

请求方法: POST

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

接口请求参数
序号 字段 名称 类型 默认值 描述 是否必要
1 start_time start_time datetime 1 增量获取数据,start_time作为开始时间,格式:yyyy-MM-dd HH:mm:ss
2 end_time end_time datetime 1 增量获取数据,end_time作为结束时间,格式:yyyy-MM-dd HH:mm:ss
3 status status string 1 入库单状态 10已取消20编辑中25待价格确认30待审核60待结算80已完成(默认80)
4 src_order_no src_order_no string 1 上层单据编号,默认为采购单号,传该字段可以不传开始时间和结束时间
5 warehouse_no warehouse_no string 1 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置),用于获取指定仓库单据数据信息(不支持一次推送多个仓库编号)
接口响应参数
序号 字段 名称 类型 默认值 描述 是否必要
1 stockin_id stockin_id string 1 入库单主键id
2 order_no order_no string 1 入库单号
3 status status string 1 10已取消20编辑中25待价格确认30待审核60待结算80已完成
4 warehouse_no warehouse_no string 1 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置)
5 warehouse_name warehouse_name string 1 仓库
6 stockin_time stockin_time string 1 修改时间,格式:yyyy-MM-dd HH:mm:ss
7 check_time check_time string 1 审核时间,格式:yyyy-MM-dd HH:mm:ss
8 created_time created_time string 1 创建时间,格式:yyyy-MM-dd HH:mm:ss
9 src_order_no src_order_no string 1 采购单号
10 remark remark string 1 备注
11 stockin_reason stockin_reason string 1 入库原因
12 order_type order_type string 1 入库类型(该接口只返回采购入库类型)
13 order_type_name order_type_name string 1 入库类型名称(默认为采购入库)
14 goods_amount goods_amount string 1 货款总额
15 total_price total_price string 1 总成本
16 discount discount string 1 优惠
17 tax_amount tax_amount string 1 税后金额
18 post_fee post_fee string 1 邮费
19 other_fee other_fee string 1 其他费用
20 logistics_type logistics_type string 1 物流方式,详情介绍,单击这里
21 logistics_code logistics_code string 1 旺店通系统内物流公司编号
22 logistics_name logistics_name string 1 旺店通系统内物流公司名称
23 logistics_no logistics_no string 1 物流单号
24 purchase_no purchase_no string 1 采购单编号
25 provider_no provider_no string 1 供应商编号
26 provider_name provider_name string 1 供应商名称
27 outer_no outer_no string 1 上层单据的采购单号可做该入库单的外部单号
28 goods_count goods_count string 1 货品总数量
29 adjust_num adjust_num string 1 调整量,正数或者负数
30 adjust_price adjust_price string 1 纠错金额
31 right_nums right_nums string 1 调整后数量
32 right_price right_price string 1 调整后总金额
33 stockin_no stockin_no string 1 入库单号
34 wms_outer_no wms_outer_no string 1 默认为'',仓储外部编号
35 wms_status wms_status string 1 默认为'0',外部状态,与wms对接使用 0初始化 1失败 2成功
36 wms_result wms_result string 1 默认为'',外部结果,与wms对接使用
37 warehouse_id warehouse_id string 1 默认为'0',仓库id
38 src_order_type src_order_type string 1 1采购入库, 2调拨入库, 3退货入库, 4盘盈入库, 5生产入库, 6其他入库, 7保修入库, 8纠错入库, 9初始化入库 10 预入库 11 JIT退货入库 12 委外入库
39 src_order_id src_order_id string 1 默认为'0',源单据id
40 reason_id reason_id string 1 默认为'0',原因
41 fa_status fa_status string 1 默认为'0',财务同步状态
42 logistics_id logistics_id string 1 默认为'0',物流公司
43 post_share_type post_share_type string 1 默认为'0',邮费分摊类型0,不分摊 1,按数量分摊2,按照金额分摊
44 operator_id operator_id string 1 操作员id
45 check_operator_id check_operator_id string 1 默认为'0',审核人id
46 goods_type_count goods_type_count string 1 默认为'0',货品种类数
47 note_count note_count string 1 默认为'0',便签数量
48 flag_id flag_id string 1 默认为'0',标记
49 modified modified string 1 最后修改时间
50 details_list details_list array 1 响应参数的2级数据节点,包含采购入库货品明细属性信息,节点下数据字段详见下述“details_list”
51 stockin_id stockin_id string 1 入库单主键id
52 rec_id rec_id string 1 入库明细主键
53 src_order_detail_id src_order_detail_id string 1 上层单据明细主键
54 spec_no spec_no string 1 代表单品(sku)所有属性的编码,SKU概念介绍,单击这里
55 goods_count goods_count string 1 货品数量
56 discount discount string 1 优惠金额
57 cost_price cost_price string 1 单价
58 production_date production_date string 1 生产日期,格式:yyyy-MM-dd HH:mm:ss
59 validity_days validity_days string 1 有效期天数
60 expire_date expire_date string 1 有效期,格式:yyyy-MM-dd HH:mm:ss
61 src_price src_price string 1 原价
62 tax_price tax_price string 1 税后价
63 tax_amount tax_amount string 1 税后金额
64 tax tax string 1 税率
65 total_cost total_cost string 1 总成本
66 remark remark string 1 备注
67 adjust_num adjust_num string 1 调整量,正数或者负数
68 adjust_price adjust_price string 1 纠错金额
69 right_num right_num string 1 调整后数量
70 right_price right_price string 1 调整后单价
71 right_cost right_cost string 1 调整后总金额
72 brand_no brand_no string 1 品牌编号
73 brand_name brand_name string 1 品牌名称
74 goods_name goods_name string 1 货品名称
75 goods_no goods_no string 1 货品编号,代表SPU所有属性的唯一编号,用于获取系统货品的数据,SPU概念介绍,单击这里
76 spec_name spec_name string 1 规格名称
77 spec_code spec_code string 1 规格码
78 prop2 prop2 string 1 自定义属性
79 goods_unit goods_unit string 1 单位名称
80 batch_no batch_no string 1 批次号
81 batch_remark batch_remark string 1 批次备注
82 position_no position_no string 1 货位编号
83 src_order_type src_order_type string 1 1采购入库, 2调拨入库, 3退货入库, 4盘盈入库, 5生产入库, 6其他入库, 7保修入库, 8纠错入库, 9初始化入库 10 预入库 11 JIT退货入库 12 委外入库 
84 org_stockin_detail_id org_stockin_detail_id string 1 默认为'0',原始入库单明细
85 spec_id spec_id string 1 规格id
86 batch_id batch_id string 1 默认为'0',批次
87 position_id position_id string 1 默认为'0',货位ID,入库时默认ID
88 num num string 1 默认为'0.0000',数量
89 num2 num2 string 1 默认为'0.0000',辅助数量
90 unit_id unit_id string 1 默认为'0',辅助单位
91 base_unit_id base_unit_id string 1 默认为'0',基本单位
92 unit_ratio unit_ratio string 1 默认为'1.0000',单位换算关系
93 expect_num expect_num string 1 默认为'0.0000',预期入库数量
94 cost_price2 cost_price2 string 1 默认为'0.0000',辅助成本价
95 share_post_cost share_post_cost string 1 默认为'0.0000',邮资分摊成本
96 share_post_total share_post_total string 1 默认为'0.0000',邮资分摊总成本
97 modified modified string 1 最后修改时间
98 created created string 1 创建时间
旺店通·企业奇门的接口:查询采购入库单_v1(wdt.stockin.order.query.purchase),由轻易云数据集成平台API资产管理模块整理收纳,并且根据旺店通·企业奇门版本更新同步实时更新。通过API资产管理,企业能够实现API的集中监控和分析,及时发现并解决潜在的性能瓶颈和安全风险,保障业务的连续性和稳定性。
联系轻易云集成专家
联系系统对接开发人员黄宏棵

黄宏棵 加微信

资深系统集成顾问,专长于ERP、电商OMS、钉钉及CRM系统。他能提供高效的集成方案,优化企业运营流程,提升业务效率和决策智能化。