旺店通·企业版查询销售出库单_v1API接口文档

所属平台: 旺店通·企业版
类型: WebAPI
作用: QUERY
接口版本: 0.1
适配器: \Adapter\Wdt\WdtQueryAdapter
帮助链接:
描述:
更新日期: 2021-01-11 11:52:04
查询销售出库单_v1

接口地址:stockout_order_query_trade

请求方法: 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 5已取消,55已审核,95已发货,105 部分打款,110已完成,113:异常发货
4 src_order_no src_order_no string 1 111
5 src_tid src_tid string 1 111
6 stockout_no stockout_no string 1 111
7 shop_no shop_no string 1 代表店铺所有属性的唯一编码,用于店铺区分,ERP内支持自定义(ERP店铺界面设置),用于获取指定店铺单据数据信息
8 warehouse_no warehouse_no string 1 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置),用于获取指定仓库单据数据信息(不支持一次推送多个仓库编号)
接口响应参数
序号 字段 名称 类型 默认值 描述 是否必要
1 stockout_id stockout_id string 1 出库单主键id
2 order_no order_no string 1 出库单号,唯一单号
3 src_order_no src_order_no string 1 源单号,旺店通系统单号(多默认为JY开头)
4 warehouse_no warehouse_no string 1 仓库编号
5 consign_time consign_time string 1 销售出库单发货时间  时间格式:yyyy-MM-dd HH:mm:ss
6 order_type order_type string 1 出库单类型
7 trade_status trade_status string 1 订单状态 5已取消 10待付款 12待尾款 13待选仓 15等未付16延时审核 19预订单前处理 20前处理(赠品,合并,拆分)21委外前处理22抢单前处理 25预订单 27待抢单 30待客审 35待财审 40待递交仓库 45递交仓库中 50已递交仓库 53未确认 55已确认 95已发货 105部分打款 110已完成 113异常发货
8 order_type_name order_type_name string 1 固定名称“销售出库”
9 trade_type trade_type string 1 1网店销售 2线下零售 3售后换货 4批发业务 5保修换新 6保修完成 7订单补发 .. 101自定义类型1 102自定义类型2 103自定义类型3 104自定义类型4 105自定义类型5 106自定义类型6
10 subtype subtype string 1 出库子类型
11 goods_count goods_count string 1 货品数量
12 goods_total_amount goods_total_amount string 1 货品总售价
13 goods_total_cost goods_total_cost string 1 货品总成本
14 post_fee post_fee string 1 邮资成本
15 logistics_no logistics_no string 1 物流单号
16 package_fee package_fee string 1 包装费
17 receiver_name receiver_name string 1 收件人
18 receiver_country receiver_country string 1 国家
19 receiver_province receiver_province string 1 省份
20 receiver_city receiver_city string 1 城市
21 receiver_district receiver_district string 1 地区
22 receiver_address receiver_address string 1 详细地址
23 receiver_mobile receiver_mobile string 1 收件人移动电话
24 receiver_telno receiver_telno string 1 收件人固定电话
25 receiver_zip receiver_zip string 1 邮编
26 receiver_dtb receiver_dtb string 1 大头笔
27 weight weight string 1 ERP系统称重功能记录的重量,如果没有使用称重功能默认使用货品档案维护的预估重量
28 logistics_type logistics_type string 1 响应值为ERP定义的ID数值,数值对应的物流公司类型名称单击这里
29 logistics_code logistics_code string 1 代表物流所有属性的唯一编码,用于物流区分,ERP内支持自定义(ERP物流界面设置)
30 logistics_name logistics_name string 1 物流公司名称
31 print_remark print_remark string 1 打印备注
32 paid paid string 1 已付金额
33 refund_status refund_status string 1 退款状态: 0无退款,1取消退款,2已申请退款,3等待退货,4等待收货,5退款成功
34 salesman_no salesman_no string 1 业务员编号
35 salesman_name salesman_name string 1 业务员名称
36 fullname fullname string 1 业务员名称
37 warehouse_name warehouse_name string 1 仓库
38 created created string 1 创建时间  时间格式:yyyy-MM-dd HH:mm:ss
39 remark remark string 1 备注
40 stockout_reason stockout_reason string 1 出库原因
41 outer_no outer_no string 1 外部单号
42 trade_no trade_no string 1 系统订单编号,默认单号为JY开头,ERP内支持自定义(设置路径:设置——编码设置)
43 src_trade_no src_trade_no string 1 商城或电商平台的订单编号,合并订单的多个订单编号有逗号隔开
44 nick_name nick_name string 1 网名
45 customer_name customer_name string 1 客户名称(客户真实姓名,取自receiver_name)
46 customer_no customer_no string 1 客户编号
47 trade_time trade_time string 1 交易时间   时间格式:yyyy-MM-dd HH:mm:ss
48 pay_time pay_time string 1 付款时间   时间格式:yyyy-MM-dd HH:mm:ss
49 status status string 1 出库单状态 5 已取消 48未确认 50待审核 52待推送 53同步失败  55已审核 95 已发货 105部分打款 110已完成  113 异常发货 115回传失败 120回传成功
50 shop_name shop_name string 1 店铺名称
51 shop_no shop_no string 1 代表店铺所有属性的唯一编码,用于店铺区分,ERP内支持自定义(ERP店铺界面设置)
52 buyer_message buyer_message string 1 买家留言
53 cs_remark cs_remark string 1 客服备注
54 flag_name flag_name string 1 订单标记
55 post_amount post_amount string 1 从平台获取的销售订单的邮费
56 block_reason block_reason string 1 截停原因:1申请退款2已退款4地址被修改8发票被修改16物流被修改32仓库变化64备注修改128更换货品256添加货品512放弃抢单1024其他 2048 拦截赠品 4096 拦截天猫换货 8192 买家留言变更 16384 该换货订单存在退货/退款
57 invoice_type invoice_type string 1 发票类别0 不需要,1普通发票,2普通增值税发票,3专用增值税发票
58 invoice_title invoice_title string 1 发票抬头
59 invoice_content invoice_content string 1 发票内容
60 invoice_id invoice_id string 1 发票ID,目前只设0-1,1表示已开发票
61 delivery_term delivery_term string 1 发货条件 1款到发货 2货到付款(包含部分货到付款) 3分期付款 4挂账单
62 fenxiao_type fenxiao_type string 1 0 非分销订单 1 转供销 2 代销 3经销
63 fenxiao_nick fenxiao_nick string 1 分销订单的分销商id,或转供销时供应商id
64 cod_amount cod_amount string 1 货到付款金额
65 id_card_type id_card_type string 1 1 身份证
66 receiver_area receiver_area string 1 省市区空格分隔
67 shop_remark shop_remark string 1 店铺备注
68 modified modified string 1 最后修改时间   时间格式:yyyy-MM-dd HH:mm:ss
69 platform_id platform_id string 1 平台id
70 trade_id trade_id string 1 订单表主键
71 checker_name checker_name string 1 审单员编号
72 employee_no employee_no string 1 审单员编号
73 operator_name operator_name string 1 审核员
74 packager_no packager_no string 1 打包员编号
75 packager_name packager_name string 1 打包员
76 picker_no picker_no string 1 拣货员编号
77 picker_name picker_name string 1 拣货员
78 printer_no printer_no string 1 打单员编号
79 printer_name printer_name string 1 打单员
80 examiner_no examiner_no string 1 验货员编号
81 examiner_name examiner_name string 1 验货员
82 stockout_no stockout_no string 1 出库单号
83 src_order_type src_order_type string 1 源单据类别,1 销售订单
84 wms_status wms_status string 1 处理状态 0 待处理 1 推送失败 2 推送成功 3 接口取消成功系统驳回失败 4 服务器正在处理 5 WMS返回发货信息 6 异步标记,推送申请成功'
85 error_info error_info string 1 接口处理错误信息
86 warehouse_type warehouse_type string 1 仓库类别  0不限 1普通仓库 2自动流转外部 3京东仓储 4科捷 5百世物流 6 SKU360 7通天晓 8中联网仓 9顺丰仓储 10网仓2号 11奇门仓储 12旺店通仓储 13心怡仓储 14力威仓储 15京东沧海 16云集仓储 127其他
87 warehouse_id warehouse_id string 1 出库的仓库id
88 customer_id customer_id string 1 客户id
89 freeze_reason freeze_reason string 1 冻结原因
90 is_allocated is_allocated string 1 是否分配stockout_order_detail_position
91 consign_status consign_status string 1 出库状态 1验货 2称重 4出库 8物流同步 16分拣 32档口, 64拣货 1073741824原始单已完成
92 ebill_status ebill_status string 1 电子面单,获取状态(0 还未获取单号或获取单号和打印信息完毕;1 手动获取物流单号中;100-105 获取打印数据中)
93 operator_id operator_id string 1 制单人
94 goods_type_count goods_type_count string 1 货品种类数量
95 md5_str md5_str string 1 MD5字符串值,用于单据排序
96 custom_type custom_type string 1 其他出库自定义子类别0,1,2,3,4
97 receiver_ring receiver_ring string 1 京东三环内
98 to_deliver_time to_deliver_time string 1 配送时间,如周末
99 pre_charge_time pre_charge_time string 1 配送中心
100 logistics_id logistics_id string 1 物流公司ID
101 unknown_goods_amount unknown_goods_amount string 1 未知成本销售总额
102 calc_post_cost calc_post_cost string 1 预估邮费成本
103 post_cost post_cost string 1 邮费成本
104 calc_weight calc_weight string 1 预估重量
105 post_weight post_weight string 1 快递给的重量
106 package_id package_id string 1 包装id
107 package_cost package_cost string 1 包装成本
108 has_invoice has_invoice string 1 是否包含发票
109 printer_id printer_id string 1 打单员
110 pick_error_count pick_error_count string 1 拣货出错次数
111 picker_id picker_id string 1 拣货操作员ID
112 sorter_id sorter_id string 1 包裹分拣员id
113 examiner_id examiner_id string 1 验货操作员id
114 consigner_id consigner_id string 1 发货人id
115 packager_id packager_id string 1 打包id
116 pack_score pack_score string 1 打包积分
117 pick_score pick_score string 1 拣货积分
118 checkouter_id checkouter_id string 1 签出员工id
119 watcher_id watcher_id string 1 监视员
120 picklist_no picklist_no string 1 分拣单编号
121 picklist_seq picklist_seq string 1 订单在分拣单中序号
122 invoice_print_status invoice_print_status string 1 发票打印状态
123 flag_id flag_id string 1 颜色
124 logistics_template_id logistics_template_id string 1 物流单模板id
125 sendbill_template_id sendbill_template_id string 1 发货单模板id
126 pos_allocate_mode pos_allocate_mode string 1 货位分配方式:0系统自动分配, 1手动指定货位分配 2手动指定有效期批次货位 3其它出库优化使用出库货位 4按批次出库
127 note_count note_count string 1 便签条数
128 reason_id reason_id string 1 其他出库原因
129 lock_id lock_id string 1 锁定策略id
130 reserve reserve string 1 保留
131 batch_no batch_no string 1 打印批次
132 discount discount string 1 优惠金额
133 src_tids src_tids string 1 原始单号,平台订单号
134 tax tax string 1 税额
135 tax_rate tax_rate string 1 税率
136 currency currency string 1 币种
137 id_card id_card string 1 证件号码
138 stock_check_time stock_check_time string 1 出库单审核时间    时间格式:yyyy-MM-dd HH:mm:ss
139 bad_reason bad_reason string 1 需要通过异或的方式判断,异常订单(bit位),1无库存记录 2地址发生变化 4发票变化 8仓库变化16备注变化32平台更换货品64退款…512抢单异常
140 print_batch_no print_batch_no string 1 ERP中的单据的打印批次信息,如需该字段,请升级至2.4.0.8版本及以上
141 sendbill_print_status sendbill_print_status string 1 0未打印 1打印中 2已打印 3无需打印
142 logistics_print_status logistics_print_status string 1 0未打印 1打印中 2已打印 3无需打印
143 picklist_print_status picklist_print_status string 1 0未打印 1打印中 2已打印 3无需打印
144 details_list details_list array 1 货品列表节点
145 rec_id rec_id string 1 出库明细主键
146 stockout_id stockout_id string 1 出库单主键id
147 spec_no spec_no string 1 代表单品(sku)所有属性的编码,SKU概念介绍,单击这里
148 goods_count goods_count string 1 货品数量
149 sell_price sell_price string 1 销售价,最终交易价格,扣除优惠
150 brand_no brand_no string 1 品牌编号
151 brand_name brand_name string 1 品牌名称
152 goods_type goods_type string 1 货品类型: 1销售商品 2原材料 3包装 4周转材料5虚拟商品6固定资产 0其它
153 gift_type gift_type string 1 是否是赠品 0非赠品 1自动赠送 2手工赠送
154 goods_name goods_name string 1 货品名称
155 goods_no goods_no string 1 代表货品(spu)所有属性的编号,SPU概念介绍,单击这里
156 spec_name spec_name string 1 规格名称
157 spec_code spec_code string 1 规格码
158 suite_no suite_no string 1 来源组合装编码
159 cost_price cost_price string 1 成本价
160 total_amount total_amount string 1 总货款,sell_price * goods_count=total_amount
161 goods_id goods_id string 1 货品id
162 spec_id spec_id string 1 商品主键
163 weight weight string 1 估重
164 remark remark string 1 备注
165 paid paid string 1 已支付金额
166 refund_status refund_status string 1 退款状态
167 market_price market_price string 1 零售价
168 discount discount string 1 总折扣金额
169 share_amount share_amount string 1 分摊后合计应收
170 tax_rate tax_rate string 1 税率
171 barcode barcode string 1 条码
172 unit_name unit_name string 1 基本单位
173 sale_order_id sale_order_id string 1 订单详情表主键
174 share_post share_post string 1 邮费分摊
175 src_oid src_oid string 1 原始子订单号
176 src_tid src_tid string 1 原始订单号
177 from_mask from_mask string 1 1手机订单 2聚划算 4服务子订单 8家装 16二次付款 32开具电子发票 1024库存不足 2048当日达 4096次日达 8192预约时效
178 src_order_type src_order_type string 1 源单据类别 以主单为准
179 src_order_detail_id src_order_detail_id string 1 sales_trade_order表的主键
180 base_unit_id base_unit_id string 1 基本单位
181 unit_id unit_id string 1 辅助单位
182 unit_ratio unit_ratio string 1 单位换算
183 num num string 1 货品数量
184 num2 num2 string 1 辅助数量
185 price price string 1 最终价格,share_price删掉,取代share_price
186 batch_id batch_id string 1 指定出库批次
187 is_examined is_examined string 1 是否验货,用于挂起,已标记为验货的不需要再验货
188 is_package is_package string 1 是否包装
189 is_zero_cost is_zero_cost string 1 是否允许0成本
190 scan_type scan_type string 1 0未验货,1扫描验货,2手工验货,3快速验货,4无需验货
191 good_prop1 good_prop1 string 1 货品档案自定义属性1
192 good_prop2 good_prop2 string 1 货品档案自定义属性2
193 good_prop3 good_prop3 string 1 货品档案自定义属性3
194 good_prop4 good_prop4 string 1 货品档案自定义属性4
195 good_prop5 good_prop5 string 1 货品档案自定义属性5
196 good_prop6 good_prop6 string 1 货品档案自定义属性6
197 prop1 prop1 string 1 单品列表自定义属性1
198 prop2 prop2 string 1 单品列表自定义属性2
199 prop3 prop3 string 1 单品列表自定义属性3
200 prop4 prop4 string 1 单品列表自定义属性4
201 prop5 prop5 string 1 单品列表自定义属性5
202 prop6 prop6 string 1 单品列表自定义属性6
203 batch_no batch_no string 1 批次号
204 batch_remark batch_remark string 1 批次备注
205 expire_date expire_date string 1 有效期,时间格式:yyyy-MM-dd HH:mm:ss
206 position_list position_list array 1 货位节点列表
207 position_id position_id string 1 货位ID
208 position_no position_no string 1 货位编号
209 stockout_order_detail_id stockout_order_detail_id string 1 出库单明细id
210 rec_id rec_id string 1 货位主键id
211 stockin_detail_id stockin_detail_id string 1 入库单明细id
212 num num string 1 货品数量
213 stock_spec_detail_id stock_spec_detail_id string 1 入库单号明细id
214 batch_id batch_id string 1 批次id
215 batch_no batch_no string 1 批次号
216 modified modified string 1 最后更新时间
217 cost_price cost_price string 1 成本价
218 position_goods_count position_goods_count string 1 货位出库数量
旺店通·企业版的接口:查询销售出库单_v1(stockout_order_query_trade),由轻易云数据集成平台API资产管理模块整理收纳,并且根据旺店通·企业版版本更新同步实时更新。通过API资产管理,企业能够实现API的集中监控和分析,及时发现并解决潜在的性能瓶颈和安全风险,保障业务的连续性和稳定性。
联系轻易云集成专家
联系系统对接开发人员黄宏棵

黄宏棵 加微信

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