淘宝联盟后台订单下载接口getTbkPaymentDetails.json的返回值的是什么含义?
接口地址:
https://pub.alimama.com/report/getTbkPaymentDetails.json?startTime=2017-05-22&endTime=2017-08-19&payStatus=&queryType=1&toPage=1&perPageSize=20&total=&t=1532831028923&pvid=&_tb_token_=pTK7Mfldfvq&_input_charset=utf-8
返回值含义说明:
转成数组后如下:
Array
(
[invalidKey] =>
[ok] => 1
[data] => Array
(
[paginator] => Array
(
[pages] => 2
[itemsPerPage] => 20
[firstPage] => 1
[lastPage] => 2
[previousPage] => 1
[nextPage] => 2
[slider] => Array
(
[0] => 1
[1] => 2
)
[items] => 30
[beginIndex] => 1
[endIndex] => 20
[length] => 20
[offset] => 0
[page] => 1
)
[hascount] => 1
[paymentList] => Array
(
[0] => Array
(
[preFinishServiceFee] =>
[payStatus] => 12 #12-付款成功,13-订单失效
[auctionTitle] => ins超火的鞋子男小白鞋夏季男鞋韩版潮透气休闲鞋夏天百搭运动鞋
[exShopTitle] => crahlln旗舰店 #所属店铺
[realPayFeeString] => 0
[auctionNum] => 1
[payPrice] => 158 #原价
[taobaoTradeParentId] => 140495545284024635 #订单号
[exNickName] => crahlln旗舰店 #掌柜旺旺
[tkShareRateToString] => 0.00
[tkPubShareFeeString] => 0
[feeString] => 11.80 #效果预估
[terminalType] => 无线
[finalDiscountToString] => 20.00 #收入比率,若是鹊桥则会扣掉5%
[preServiceFee] =>
[exMemberId] => 1752504721 #卖家ID
[realPayFee] =>
[totalAlipayFeeString] => 59.00 #付款金额
[bizType] => 200
[shareRate] => 100.00 % #分成比率
[createTime] => 2018-04-30 15:35:28 #创建时间
[earningTime] =>
[tkBizTag] => 2
[tk3rdPubShareFee] => 0
[tk3rdTypeStr] =>
[auctionUrl] => http://item.taobao.com:80/item.htm?id=567396011148
[auctionId] => 567396011148 #产品ID
[tkShareRate] => 0
[tkServiceRate] =>
[discountAndSubsidyToString] => 20.00 % #收入比率,未扣掉费用前
)
[1] => Array
(
...
)
)
)
[info] => Array
(
[ok] => 1
[message] =>
)
)
【佣金收入:feeString一项】 等于:收入比率finalDiscountToString * 分成比率shareRate * 付款金额totalAlipayFeeString