百胜ME3销售退货单新增V3.0API接口文档

所属平台: 百胜ME3
类型: QUERY
作用: QUERY
接口版本: 1.0
适配器: \Adapter\Baison\BaisonME3QueryAdapter
描述:
更新日期: 2023-06-25 15:04:34
销售退货单新增V3.0

接口地址:orm.refund.detail_get

请求方法: GET

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

接口请求参数
序号 字段 名称 类型 默认值 描述 是否必要
1 return_order_sn 退单编号 string 退单编号
2 refund_deal_code 退单交易号 string 退单交易号
3 startModified 查询起始时间(最后变更时间) datetime 查询起始时间(最后变更时间)
4 endModified 查询结束时间(最后变更时间) datetime 查询结束时间(最后变更时间)
5 add_time_start 退单生成开始时间 datetime 退单生成开始时间
6 add_time_end 退单生成结束时间 datetime 退单生成结束时间
7 rk_time_start 退单入库开始时间 datetime {{LAST_SYNC_TIME|datetime}} 退单入库开始时间
8 rk_time_end 退单入库结束时间 datetime {{CURRENT_TIME|datetime}} 退单入库结束时间
9 pageNo 页码 string 1 页码:取值范围:大于零的整数; 默认值:1
10 pageSize 每页条数 string 100 每页条数。取值范围:大于零的整数;
11 sd_code 店铺代码 string 店铺代码
12 return_order_status 退单状态 string 10 退单状态:0未确定、1已确认、3无效、10已完成 默认为:1
13 return_order_type 退单类型 string 退单类型:1退货、2追件
接口响应参数
序号 字段 名称 类型 默认值 描述 是否必要
1 orderReturnListGets 退单信息 array orderReturnListGets 退单信息
1.1  return_order_sn 退单编号 string {{orderReturnListGets. return_order_sn}} 退单编号
1.2  refund_code 平台退单编号 string {{orderReturnListGets. refund_code}} 平台退单编号
1.3  relating_order_sn 关联订单号 string {{orderReturnListGets. relating_order_sn}} 关联订单号
1.4  deal_code 退单交易号 string {{orderReturnListGets. deal_code}} 退单交易号
1.5  pay_status 付款状态 string {{orderReturnListGets. pay_status}} 付款状态:0未结算、1已结算、2待结算
1.6  return_order_type 退单类型 string {{orderReturnListGets. return_order_type}} 退单类型 1退货、2追件
1.7  lylx 来源类型 string {{orderReturnListGets. lylx}} 来源类型
1.8  lylx_name 来源类型名称 string {{orderReturnListGets. lylx_name}} 来源类型名称
1.9  return_shipping_code 退货快递公司代码 string {{orderReturnListGets. return_shipping_code}} 退货快递公司代码
1.10  return_shipping_sn 退货快递物流单号 string {{orderReturnListGets. return_shipping_sn}} 退货快递物流单号
1.11  return_shipping_name 退货快递公司名称 string {{orderReturnListGets. return_shipping_name}} 退货快递公司名称
1.12  return_shipping_fee 快递费 string {{orderReturnListGets. return_shipping_fee}} 快递费
1.13  sd_code 店铺代码 string {{orderReturnListGets. sd_code}} 店铺代码
1.14  sd_name 店铺名称 string {{orderReturnListGets. sd_name}} 店铺名称
1.15  last_update 最后更新时间 date {{orderReturnListGets. last_update}} 最后更新时间
1.16  fhck 发货仓库代码 string {{orderReturnListGets. fhck}} 发货仓库代码
1.17  fhck_name 发货仓库名称 string {{orderReturnListGets. fhck_name}} 发货仓库名称
1.18  qd_code 渠道代码 string {{orderReturnListGets. qd_code}} 渠道代码
1.19  qd_name 渠道名称 string {{orderReturnListGets. qd_name}} 渠道名称
1.20  add_time 退单生成时间 datetime {{orderReturnListGets. add_time}} 退单生成时间
1.21  return_shipping_time_rk 退单入库时间 datetime {{orderReturnListGets. return_shipping_time_rk}} 退单入库时间
1.22  tbfx_id 淘宝分销交易号 string {{orderReturnListGets. tbfx_id}} 淘宝分销交易号
1.23  return_user_name 会员名称 string {{orderReturnListGets. return_user_name}} 会员名称
1.24  receiver_name 退货人姓名 string {{orderReturnListGets. receiver_name}} 退货人姓名
1.25  receiver_address 退货人地址 string {{orderReturnListGets. receiver_address}} 退货人地址
1.26  receiver_tel 退货人电话 string {{orderReturnListGets. receiver_tel}} 退货人电话
1.27  receiver_mobile 退货人手机 string {{orderReturnListGets. receiver_mobile}} 退货人手机
1.28  return_total_amount 订单总金额 string {{orderReturnListGets. return_total_amount}} 订单总金额[商品总金额goods_amount+运费shipping_fee+手续费cod_fee]
1.29  return_order_amount 买家应付金额 string {{orderReturnListGets. return_order_amount}} 买家应付金额
1.30  return_payment 已付金额 string {{orderReturnListGets. return_payment}} 已付金额
1.31  return_order_status 退单状态 string {{orderReturnListGets. return_order_status}} 退单状态:0未确定、1已确认、3无效、10已完成
1.32  return_shipping_status 物流状态 string {{orderReturnListGets. return_shipping_status}} 物流状态:0未收货、1已收货,未入库、2已入库、3可入库、4已退回给客户
1.33  js_money 财务结算金额 string {{orderReturnListGets. js_money}} 财务结算金额
1.34  return_market_goods_amount 商品金额(市场价之和) string {{orderReturnListGets. return_market_goods_amount}} 商品金额(市场价之和)
1.35  return_shop_goods_amount 实际应付商品总金额 string {{orderReturnListGets. return_shop_goods_amount}} 实际应付商品总金额
1.36  return_other_discount_fee 订单其他折让(整单折让) string {{orderReturnListGets. return_other_discount_fee}} 订单其他折让(整单折让)
1.37  pos_code ipos终端代码 string {{orderReturnListGets. pos_code}} ipos终端代码
1.38  is_o2o O2O流程订单标识 string {{orderReturnListGets. is_o2o}} O2O流程订单标识
1.39  o2o O2O交易来源 string {{orderReturnListGets. o2o}} O2O交易来源
1.40  sync_status 0-未同步 1-已同步 2-处理中 10-已同步到erp string {{orderReturnListGets. sync_status}} 0-未同步 1-已同步 2-处理中 10-已同步到erp
1.41  receiver_province_name 退货人省份 string {{orderReturnListGets. receiver_province_name}} 退货人省份
1.42  receiver_city_name 退货人市 string {{orderReturnListGets. receiver_city_name}} 退货人市
1.43  receiver_district_name 退货人区 string {{orderReturnListGets. receiver_district_name}} 退货人区
1.44  lastchanged 最后更新时间 datetime {{orderReturnListGets. lastchanged}} 最后更新时间
1.45 orderReturnDetailGets 退单商品信息列表 array orderReturnListGets.orderReturnDetailGets 退单商品信息列表
1.45.1 orderReturnDetailGet 退单商品信息 array orderReturnDetailGets.orderReturnDetailGet 退单商品信息
1.45.1.1 goods_sn 商品货号 string {{orderReturnDetailGet.goods_sn}} 商品货号
1.45.1.2 goods_name 商品名称 string {{orderReturnDetailGet.goods_name}} 商品名称
1.45.1.3 goods_id 商品id string {{orderReturnDetailGet.goods_id}} 商品id
1.45.1.4 payment 实付金额 string {{orderReturnDetailGet.payment}} 实付金额
1.45.1.5 market_price 市场价 string {{orderReturnDetailGet.market_price}} 市场价
1.45.1.6 share_price 均摊价格 string {{orderReturnDetailGet.share_price}} 均摊价格
1.45.1.7 goods_price 商品单价 string {{orderReturnDetailGet.goods_price}} 商品单价
1.45.1.8 share_payment 均摊实付金额 string {{orderReturnDetailGet.share_payment}} 均摊实付金额
1.45.1.9 shop_price 当前售价 string {{orderReturnDetailGet.shop_price}} 当前售价
1.45.1.10 discount 折扣 string {{orderReturnDetailGet.discount}} 折扣
1.45.1.11 goods_number 商品数量 string {{orderReturnDetailGet.goods_number}} 商品数量
1.45.1.12 goods_number_return_sj 商品入库数量 string {{orderReturnDetailGet.goods_number_return_sj}} 商品入库数量
1.45.1.13 goods_number_return 商品实退数量 string {{orderReturnDetailGet.goods_number_return}} 商品实退数量
1.45.1.14 return_reason 退货原因 string {{orderReturnDetailGet.return_reason}} 退货原因
1.45.1.15 return_reason_ex 二级退货原因 string {{orderReturnDetailGet.return_reason_ex}} 二级退货原因
1.45.1.16 barcode 商品条码 string {{orderReturnDetailGet.barcode}} 商品条码
1.45.1.17 color_code 颜色代码 string {{orderReturnDetailGet.color_code}} 颜色代码
1.45.1.18 color_name 颜色名称 string {{orderReturnDetailGet.color_name}} 颜色名称
1.45.1.19 size_code 尺码代码 string {{orderReturnDetailGet.size_code}} 尺码代码
1.45.1.20 brand_name 品牌名称 string {{orderReturnDetailGet.brand_name}} 品牌名称
1.45.1.21 brand_code 品牌代码 string {{orderReturnDetailGet.brand_code}} 品牌代码
1.45.1.22 sku 商品SKU string {{orderReturnDetailGet.sku}} 商品SKU
1.45.1.23 scan_detail 扫描信息 array orderReturnDetailGet.scan_detail 扫描信息
1.45.1.23.1 record_barcode 原始扫描条码 string {{scan_detail.record_barcode}} 原始扫描条码
1.45.1.23.2 add_time 扫描时间 string {{scan_detail.add_time}} 扫描时间
1.45.1.23.3 smr 扫描人 string {{scan_detail.smr}} 扫描人
1.45.1.23.4 sl 扫描数 string {{scan_detail.sl}} 扫描数
1.45.1.23.5 remark 备注 string {{scan_detail.remark}} 备注
2 {{return_shipping_time_rk}} 出库日期 string {{return_shipping_time_rk}} 出库日期,格式:2019-01-01
3 {{orderReturnListGet.sd_code}} 客户 string {{orderReturnListGet.sd_code}} 客户
4 {{orderReturnListGet.return_order_sn}} 单据编码 string {{orderReturnListGet.return_order_sn}} 单据编码
5 audit 操作类型 string audit 操作类型,审核audit、提交submit
6 orderReturnDetailGets 商品分录 array orderReturnDetailGets 商品分录
6.1 {{orderReturnDetailGets.goods_sn}} 商品编码 string {{orderReturnDetailGets.goods_sn}} 商品编码
6.2 _function round(({{orderReturnDetailGets.share_payment}}/{{orderReturnDetailGets.goods_number}}),4) 含税单价 int _function round(({{orderReturnDetailGets.share_payment}}/{{orderReturnDetailGets.goods_number}}),4) 含税单价
6.3 _function case '{{orderReturnDetailGets.share_payment}}' when '0.00' then true else false end 是否赠品 bool _function case '{{orderReturnDetailGets.share_payment}}' when '0.00' then true else false end 是否赠品
6.4 {{orderReturnDetailGets.goods_number}} 数量 int {{orderReturnDetailGets.goods_number}} 数量
6.5 {{orderReturnListGet.fhck}} 仓库编码 string {{orderReturnListGet.fhck}} 仓库编码
6.6 _findCollection find base_unit_id from 1be42e4a-5207-3c1d-8d49-1c7e49f90732 where number={{orderReturnDetailGets.goods_sn}} 单位id string _findCollection find base_unit_id from 1be42e4a-5207-3c1d-8d49-1c7e49f90732 where number={{orderReturnDetailGets.goods_sn}} 单位id
百胜ME3的接口:销售退货单新增V3.0(orm.refund.detail_get),由轻易云数据集成平台API资产管理模块整理收纳,并且根据百胜ME3版本更新同步实时更新。通过API资产管理,企业可以对API的使用情况进行详细的分析和报告,为业务决策提供数据支持,优化资源分配和投资回报。
联系轻易云集成专家
联系系统对接开发人员胡秀丛

胡秀丛 加微信

项目总监 她以卓越的数据集成专长,精通ERP、MES系统,以及数据中台的构建与优化。通过创新的一站式解决方案,她助力企业实现数据的无缝对接,提升业务流程效率,确保信息流通无障碍,为企业的数字化转型提供强有力的支持。