帮助中心

2001-商城订单推送

2021-12-22

接口编号 2001

接口说明

接口描述:

TotalMoney(商品总金额)=商品数量*商品单价

DiscountAmount(支付优惠金额):订单参与满减和优惠券抵扣的总优惠金额

PayAmount(支付总金额,包含运费)

TotalMoney - DiscountAmount = PayAmount - 运费

明细:

Amount:商品支付金额(Amount = Quantity*PriceSell)

DiscountAmount:商品参与满减,抵扣券优惠金额(DiscountAmount= Amount -AvgAmount)


请求说明

  • HTTP请求方式:POST

  • 返回数据格式:JSON

  • 请求路径:

推送参数


字段类型描述
Codestring订单号
ShopCodestring门店代码(多门店情况下为仓库代码)
StoreCodestring多门店门店代码
StoreTypeint门店类型(默认0,1:商场店)
TotalQtyint商品总量
TotalMoneydecimal商品总金额
DiscountMoney(弃用)decimal折扣优惠金额
DiscountAmountdecimal支付优惠金额
ReturnQuantityint退货数量
OrderTimestring下单时间
OrderPreShipTimestring订单预售发货时间(只有预售订单才有)
IsPayedbool是否付款完成
PayTimestring付款时间
PayAmountdecimal支付金额
UseCouponNostring使用券号
UseCouponValuedecimal使用券面额
RewardFeedecimal分销佣金
UseBonusint抵现积分
ExpressFeedecimal快递费用
ExpressFeeTypestring快递费用类型(MY:人民币 BS:积分)
ExpressCostdecimal快递成本
IsCodbool是否货到付款
CodServiceFeedecimal货到付款服务费
BuyerCodestring买家账号
BuyerOldCodestring买家老卡号
VipCodestring买家会员卡号
BuyerEmailstring买家email
BuyerNickstring买家昵称
RecvConsigneestring收货联系人
RecvMobilestring收货人手机
RecvTelstring收货人电话
RecvAddressstring收货人地址
RecvProvincestring收货省份
RecvCitystring收货城市
RecvCountystring收货区县
OrderStatusint订单状态:0:已取消 1:待付款 2:待发货 4:已发货 8:交易成功 16:交易完成 20:已关闭
BuyerRemarkstring买家备注
OrderRemarkstring订单备注
ServiceSalerCodestring服务导购
ServiceSalerNamestring服务导购名称
ServiceChannelCodestring服务导购所属门店
SellerCodestring分销员(弃用)
DelivTypeDescstring物流方式名称
DelivTypeint物流方式 0-快递 1-自提
SellerSysShopCodestring分销员所属系统门店(弃用)
SelfFetchShopCodestring自提门店编码
UsePrepaidCardAmountdecimal存蓄卡支付金额
DtlsList<SalesOrderDtlGetResInfo>订单明细
UseCouponNoListList<string>多张核销券
ActTypestringOG-开团,JG-参团,BA-砍价,LC-限券购,DOG-多品团开团,DJG-多品团参团,PRE-全款预售,DPRE-定金预售
ExchangeTypeint1:换货原订单 ,2:换货订单
ExchangeRelCodeList<string>换货关联单号
DeliveryCodestring自提码
RelExchangeReturnCodestring换货订单的退货单号
UsePrepaidCardGiftAmountdecimal使用储值卡赠送金额
fxComResListlist<fxComResList>分销员
DataOrigin int 0:线下门店,1:品牌自有商城,2:品牌线上官网,3:PC销售,4:APP销售,6:EZR微商城,7:EZR微信小程序,9:第三方商城订单,10:淘宝,11:京东,20:EZR支付宝小程序

SalesOrderDtlGetResInfo参数

字段类型描述
ItemNostring商品货号
BarCodestring商品条码
PriceOriginaldecimal原始单价
PriceSelldecimal销售单价
Quantityint订购数量
Amountdecimal支付金额
DiscountMoney(弃用)decimal折扣优惠金额
DiscountAmountdecimal支付优惠总金额
FrDiscountAmountdecimal满减支付优惠金额(只有接口传入IsGetDiscountAmountDtl=true才处理)
CouponDiscountAmountdecimal券支付优惠金额(只有接口传入IsGetDiscountAmountDtl=true才处理)
RewardFeedecimal分销佣金
UseBonusint抵现积分
IsGiftbool是否赠品
ReturnQuantitydecimal退货数量
ReturnPricedecimal退货单价
ReturnMoneydecimal退货金额
OutOrderCodestring外部订单号
OrderCouponAmountdecimal订单券分摊金额
VipDiscountAmountdecimal商品的会员折扣金额
ShipTypeint0 国内 1全球购 2香港直邮 3保税速发

导购分销信息 fxComResList


字段类型描述
SellerSysShopCodestring分销员所属系统门店
SellerCodestring分销员编号



7012