Qeasy Cloud
Get Started

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

Platform
百胜ME3
Type
QUERY
Effect
QUERY
API Version
1.0
Adapter
\Adapter\Baison\BaisonME3QueryAdapter
Auth Mode
OTHER
Updated At
2023-06-25

销售退货单新增V3.0

GETorm.refund.detail_get
Factory
{
  "operation": {
    "method": "none"
  }
}

Request Parameters

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

Response Parameters

No.FieldNameTypeDefaultRequiredDescription
1orderReturnListGets退单信息arrayorderReturnListGetsOptional退单信息
1.1 return_order_sn退单编号string{{orderReturnListGets. return_order_sn}}Optional退单编号
1.2 refund_code平台退单编号string{{orderReturnListGets. refund_code}}Optional平台退单编号
1.3 relating_order_sn关联订单号string{{orderReturnListGets. relating_order_sn}}Optional关联订单号
1.4 deal_code退单交易号string{{orderReturnListGets. deal_code}}Optional退单交易号
1.5 pay_status付款状态string{{orderReturnListGets. pay_status}}Optional付款状态:0未结算、1已结算、2待结算
1.6 return_order_type退单类型string{{orderReturnListGets. return_order_type}}Optional退单类型 1退货、2追件
1.7 lylx来源类型string{{orderReturnListGets. lylx}}Optional来源类型
1.8 lylx_name来源类型名称string{{orderReturnListGets. lylx_name}}Optional来源类型名称
1.9 return_shipping_code退货快递公司代码string{{orderReturnListGets. return_shipping_code}}Optional退货快递公司代码
1.10 return_shipping_sn退货快递物流单号string{{orderReturnListGets. return_shipping_sn}}Optional退货快递物流单号
1.11 return_shipping_name退货快递公司名称string{{orderReturnListGets. return_shipping_name}}Optional退货快递公司名称
1.12 return_shipping_fee快递费string{{orderReturnListGets. return_shipping_fee}}Optional快递费
1.13 sd_code店铺代码string{{orderReturnListGets. sd_code}}Optional店铺代码
1.14 sd_name店铺名称string{{orderReturnListGets. sd_name}}Optional店铺名称
1.15 last_update最后更新时间date{{orderReturnListGets. last_update}}Optional最后更新时间
1.16 fhck发货仓库代码string{{orderReturnListGets. fhck}}Optional发货仓库代码
1.17 fhck_name发货仓库名称string{{orderReturnListGets. fhck_name}}Optional发货仓库名称
1.18 qd_code渠道代码string{{orderReturnListGets. qd_code}}Optional渠道代码
1.19 qd_name渠道名称string{{orderReturnListGets. qd_name}}Optional渠道名称
1.20 add_time退单生成时间datetime{{orderReturnListGets. add_time}}Optional退单生成时间
1.21 return_shipping_time_rk退单入库时间datetime{{orderReturnListGets. return_shipping_time_rk}}Optional退单入库时间
1.22 tbfx_id淘宝分销交易号string{{orderReturnListGets. tbfx_id}}Optional淘宝分销交易号
1.23 return_user_name会员名称string{{orderReturnListGets. return_user_name}}Optional会员名称
1.24 receiver_name退货人姓名string{{orderReturnListGets. receiver_name}}Optional退货人姓名
1.25 receiver_address退货人地址string{{orderReturnListGets. receiver_address}}Optional退货人地址
1.26 receiver_tel退货人电话string{{orderReturnListGets. receiver_tel}}Optional退货人电话
1.27 receiver_mobile退货人手机string{{orderReturnListGets. receiver_mobile}}Optional退货人手机
1.28 return_total_amount订单总金额string{{orderReturnListGets. return_total_amount}}Optional订单总金额[商品总金额goods_amount+运费shipping_fee+手续费cod_fee]
1.29 return_order_amount买家应付金额string{{orderReturnListGets. return_order_amount}}Optional买家应付金额
1.30 return_payment已付金额string{{orderReturnListGets. return_payment}}Optional已付金额
1.31 return_order_status退单状态string{{orderReturnListGets. return_order_status}}Optional退单状态:0未确定、1已确认、3无效、10已完成
1.32 return_shipping_status物流状态string{{orderReturnListGets. return_shipping_status}}Optional物流状态:0未收货、1已收货,未入库、2已入库、3可入库、4已退回给客户
1.33 js_money财务结算金额string{{orderReturnListGets. js_money}}Optional财务结算金额
1.34 return_market_goods_amount商品金额(市场价之和)string{{orderReturnListGets. return_market_goods_amount}}Optional商品金额(市场价之和)
1.35 return_shop_goods_amount实际应付商品总金额string{{orderReturnListGets. return_shop_goods_amount}}Optional实际应付商品总金额
1.36 return_other_discount_fee订单其他折让(整单折让)string{{orderReturnListGets. return_other_discount_fee}}Optional订单其他折让(整单折让)
1.37 pos_codeipos终端代码string{{orderReturnListGets. pos_code}}Optionalipos终端代码
1.38 is_o2oO2O流程订单标识string{{orderReturnListGets. is_o2o}}OptionalO2O流程订单标识
1.39 o2oO2O交易来源string{{orderReturnListGets. o2o}}OptionalO2O交易来源
1.40 sync_status0-未同步 1-已同步 2-处理中 10-已同步到erpstring{{orderReturnListGets. sync_status}}Optional0-未同步 1-已同步 2-处理中 10-已同步到erp
1.41 receiver_province_name退货人省份string{{orderReturnListGets. receiver_province_name}}Optional退货人省份
1.42 receiver_city_name退货人市string{{orderReturnListGets. receiver_city_name}}Optional退货人市
1.43 receiver_district_name退货人区string{{orderReturnListGets. receiver_district_name}}Optional退货人区
1.44 lastchanged最后更新时间datetime{{orderReturnListGets. lastchanged}}Optional最后更新时间
1.45orderReturnDetailGets退单商品信息列表arrayorderReturnListGets.orderReturnDetailGetsOptional退单商品信息列表
1.45.1orderReturnDetailGet退单商品信息arrayorderReturnDetailGets.orderReturnDetailGetOptional退单商品信息
1.45.1.1goods_sn商品货号string{{orderReturnDetailGet.goods_sn}}Optional商品货号
1.45.1.2goods_name商品名称string{{orderReturnDetailGet.goods_name}}Optional商品名称
1.45.1.3goods_id商品idstring{{orderReturnDetailGet.goods_id}}Optional商品id
1.45.1.4payment实付金额string{{orderReturnDetailGet.payment}}Optional实付金额
1.45.1.5market_price市场价string{{orderReturnDetailGet.market_price}}Optional市场价
1.45.1.6share_price均摊价格string{{orderReturnDetailGet.share_price}}Optional均摊价格
1.45.1.7goods_price商品单价string{{orderReturnDetailGet.goods_price}}Optional商品单价
1.45.1.8share_payment均摊实付金额string{{orderReturnDetailGet.share_payment}}Optional均摊实付金额
1.45.1.9shop_price当前售价string{{orderReturnDetailGet.shop_price}}Optional当前售价
1.45.1.10discount折扣string{{orderReturnDetailGet.discount}}Optional折扣
1.45.1.11goods_number商品数量string{{orderReturnDetailGet.goods_number}}Optional商品数量
1.45.1.12goods_number_return_sj商品入库数量string{{orderReturnDetailGet.goods_number_return_sj}}Optional商品入库数量
1.45.1.13goods_number_return商品实退数量string{{orderReturnDetailGet.goods_number_return}}Optional商品实退数量
1.45.1.14return_reason退货原因string{{orderReturnDetailGet.return_reason}}Optional退货原因
1.45.1.15return_reason_ex二级退货原因string{{orderReturnDetailGet.return_reason_ex}}Optional二级退货原因
1.45.1.16barcode商品条码string{{orderReturnDetailGet.barcode}}Optional商品条码
1.45.1.17color_code颜色代码string{{orderReturnDetailGet.color_code}}Optional颜色代码
1.45.1.18color_name颜色名称string{{orderReturnDetailGet.color_name}}Optional颜色名称
1.45.1.19size_code尺码代码string{{orderReturnDetailGet.size_code}}Optional尺码代码
1.45.1.20brand_name品牌名称string{{orderReturnDetailGet.brand_name}}Optional品牌名称
1.45.1.21brand_code品牌代码string{{orderReturnDetailGet.brand_code}}Optional品牌代码
1.45.1.22sku商品SKUstring{{orderReturnDetailGet.sku}}Optional商品SKU
1.45.1.23scan_detail扫描信息arrayorderReturnDetailGet.scan_detailOptional扫描信息
1.45.1.23.1record_barcode原始扫描条码string{{scan_detail.record_barcode}}Optional原始扫描条码
1.45.1.23.2add_time扫描时间string{{scan_detail.add_time}}Optional扫描时间
1.45.1.23.3smr扫描人string{{scan_detail.smr}}Optional扫描人
1.45.1.23.4sl扫描数string{{scan_detail.sl}}Optional扫描数
1.45.1.23.5remark备注string{{scan_detail.remark}}Optional备注
2{{return_shipping_time_rk}}出库日期string{{return_shipping_time_rk}}Optional出库日期,格式:2019-01-01
3{{orderReturnListGet.sd_code}}客户string{{orderReturnListGet.sd_code}}Optional客户
4{{orderReturnListGet.return_order_sn}}单据编码string{{orderReturnListGet.return_order_sn}}Optional单据编码
5audit操作类型stringauditOptional操作类型,审核audit、提交submit
6orderReturnDetailGets商品分录arrayorderReturnDetailGetsOptional商品分录
6.1{{orderReturnDetailGets.goods_sn}}商品编码string{{orderReturnDetailGets.goods_sn}}Optional商品编码
6.2_function round(({{orderReturnDetailGets.share_payment}}/{{orderReturnDetailGets.goods_number}}),4)含税单价int_function round(({{orderReturnDetailGets.share_payment}}/{{orderReturnDetailGets.goods_number}}),4)Optional含税单价
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 endOptional是否赠品
6.4{{orderReturnDetailGets.goods_number}}数量int{{orderReturnDetailGets.goods_number}}Optional数量
6.5{{orderReturnListGet.fhck}}仓库编码string{{orderReturnListGet.fhck}}Optional仓库编码
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}}Optional单位id

The 销售退货单新增V3.0 API (orm.refund.detail_get) of 百胜ME3 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 百胜ME3 version updates.

Need to integrate this API?

Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.