轻易云
注册体验

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

所属平台
百胜ME3
类型
QUERY
作用
QUERY
接口版本
1.0
适配器
\Adapter\Baison\BaisonME3QueryAdapter
授权方式
OTHER
更新日期
2023-06-25

销售退货单新增V3.0

GETorm.refund.detail_get
加工厂
{
  "operation": {
    "method": "none"
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1return_order_sn退单编号string可选退单编号
2refund_deal_code退单交易号string可选退单交易号
3startModified查询起始时间(最后变更时间)datetime可选查询起始时间(最后变更时间)
4endModified查询结束时间(最后变更时间)datetime可选查询结束时间(最后变更时间)
5add_time_start退单生成开始时间datetime可选退单生成开始时间
6add_time_end退单生成结束时间datetime可选退单生成结束时间
7rk_time_start退单入库开始时间datetime{{LAST_SYNC_TIME|datetime}}可选退单入库开始时间
8rk_time_end退单入库结束时间datetime{{CURRENT_TIME|datetime}}可选退单入库结束时间
9pageNo页码string1可选页码:取值范围:大于零的整数; 默认值:1
10pageSize每页条数string100可选每页条数。取值范围:大于零的整数;
11sd_code店铺代码string可选店铺代码
12return_order_status退单状态string10可选退单状态:0未确定、1已确认、3无效、10已完成 默认为:1
13return_order_type退单类型string可选退单类型:1退货、2追件

接口响应参数

序号字段名称类型默认值必填描述
1orderReturnListGets退单信息arrayorderReturnListGets可选退单信息
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_codeipos终端代码string{{orderReturnListGets. pos_code}}可选ipos终端代码
1.38 is_o2oO2O流程订单标识string{{orderReturnListGets. is_o2o}}可选O2O流程订单标识
1.39 o2oO2O交易来源string{{orderReturnListGets. o2o}}可选O2O交易来源
1.40 sync_status0-未同步 1-已同步 2-处理中 10-已同步到erpstring{{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.45orderReturnDetailGets退单商品信息列表arrayorderReturnListGets.orderReturnDetailGets可选退单商品信息列表
1.45.1orderReturnDetailGet退单商品信息arrayorderReturnDetailGets.orderReturnDetailGet可选退单商品信息
1.45.1.1goods_sn商品货号string{{orderReturnDetailGet.goods_sn}}可选商品货号
1.45.1.2goods_name商品名称string{{orderReturnDetailGet.goods_name}}可选商品名称
1.45.1.3goods_id商品idstring{{orderReturnDetailGet.goods_id}}可选商品id
1.45.1.4payment实付金额string{{orderReturnDetailGet.payment}}可选实付金额
1.45.1.5market_price市场价string{{orderReturnDetailGet.market_price}}可选市场价
1.45.1.6share_price均摊价格string{{orderReturnDetailGet.share_price}}可选均摊价格
1.45.1.7goods_price商品单价string{{orderReturnDetailGet.goods_price}}可选商品单价
1.45.1.8share_payment均摊实付金额string{{orderReturnDetailGet.share_payment}}可选均摊实付金额
1.45.1.9shop_price当前售价string{{orderReturnDetailGet.shop_price}}可选当前售价
1.45.1.10discount折扣string{{orderReturnDetailGet.discount}}可选折扣
1.45.1.11goods_number商品数量string{{orderReturnDetailGet.goods_number}}可选商品数量
1.45.1.12goods_number_return_sj商品入库数量string{{orderReturnDetailGet.goods_number_return_sj}}可选商品入库数量
1.45.1.13goods_number_return商品实退数量string{{orderReturnDetailGet.goods_number_return}}可选商品实退数量
1.45.1.14return_reason退货原因string{{orderReturnDetailGet.return_reason}}可选退货原因
1.45.1.15return_reason_ex二级退货原因string{{orderReturnDetailGet.return_reason_ex}}可选二级退货原因
1.45.1.16barcode商品条码string{{orderReturnDetailGet.barcode}}可选商品条码
1.45.1.17color_code颜色代码string{{orderReturnDetailGet.color_code}}可选颜色代码
1.45.1.18color_name颜色名称string{{orderReturnDetailGet.color_name}}可选颜色名称
1.45.1.19size_code尺码代码string{{orderReturnDetailGet.size_code}}可选尺码代码
1.45.1.20brand_name品牌名称string{{orderReturnDetailGet.brand_name}}可选品牌名称
1.45.1.21brand_code品牌代码string{{orderReturnDetailGet.brand_code}}可选品牌代码
1.45.1.22sku商品SKUstring{{orderReturnDetailGet.sku}}可选商品SKU
1.45.1.23scan_detail扫描信息arrayorderReturnDetailGet.scan_detail可选扫描信息
1.45.1.23.1record_barcode原始扫描条码string{{scan_detail.record_barcode}}可选原始扫描条码
1.45.1.23.2add_time扫描时间string{{scan_detail.add_time}}可选扫描时间
1.45.1.23.3smr扫描人string{{scan_detail.smr}}可选扫描人
1.45.1.23.4sl扫描数string{{scan_detail.sl}}可选扫描数
1.45.1.23.5remark备注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}}可选单据编码
5audit操作类型stringaudit可选操作类型,审核audit、提交submit
6orderReturnDetailGets商品分录arrayorderReturnDetailGets可选商品分录
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}}单位idstring_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版本更新同步更新。

需要对接这个接口?

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