有维易接口客户问:
淘宝客的订单购买后,申请了退款,订单就变成维权订单了,这时订单接口状态tk_status会变吗?
我们还是用实例来说明“维权订单”在订单接口中的状态变化最靠谱了,
1、去淘宝下一笔订单,然后在效果报表可以看到订单:
2、使用维易淘客订单接口获取数据:
{
"error": "0",
"msg": "操作成功",
"data": [
{
"adzone_id": "5452129931",
"adzone_name": "维易淘客接口",
"alipay_total_price": "26.8000",
"auction_category": "食品-粮油米面",
"click_time": "2018-12-29 13:48:51",
"commission": "0.00",
"commission_rate": "1.0000",
"create_time": "2018-12-29 13:50:47",
"income_rate": "0.1500",
"item_num": 1,
"item_title": "哈伟螺蛳粉300g*5包柳州正宗螺狮粉广西特产螺丝粉方便速食装包邮",
"num_iid": 549445016807,
"order_type": "天猫",
"pay_price": "0.00",
"price": "67.60",
"pub_share_pre_fee": "4.02",
"seller_nick": "哈伟香辣螺蛳粉旗舰店",
"seller_shop_title": "哈伟香辣螺蛳粉旗舰店",
"site_id": "73030226",
"site_name": "维易淘客订单",
"subsidy_rate": "0.0000",
"subsidy_type": "-1",
"terminal_type": "1",
"tk3rd_type": "--",
"tk_status": 12,
"total_commission_rate": "0.1500",
"trade_id": 310301130515719426,
"trade_parent_id": 310301130515719426
}
]
}
特别注意这两个订单接口返回值:
"alipay_total_price": "26.8000",
"tk_status": 12,
它们表明订单付款额是26.8,状态是订单付款。
3、然后去申请退款,
4、这时再调用订单接口,你会发现仍然是之前的返回值,因为这时卖家还没审核通过退款,所以订单状态没变。
5、卖家通过了订单退款申请,订单维权成功,这时,再调用维易订单接口,得到返回值如下:
{
"error": "0",
"msg": "操作成功",
"data": [
{
"adzone_id": "5452129931",
"adzone_name": "维易淘客接口",
"alipay_total_price": "0",
"auction_category": "食品-粮油米面",
"click_time": "2018-12-29 13:48:51",
"commission": "0.00",
"commission_rate": "1.0000",
"create_time": "2018-12-29 13:50:47",
"income_rate": "0.1500",
"item_num": 1,
"item_title": "哈伟螺蛳粉300g*5包柳州正宗螺狮粉广西特产螺丝粉方便速食装包邮",
"num_iid": 549445016807,
"order_type": "天猫",
"pay_price": "0.00",
"price": "67.60",
"pub_share_pre_fee": "0",
"seller_nick": "哈伟香辣螺蛳粉旗舰店",
"seller_shop_title": "哈伟香辣螺蛳粉旗舰店",
"site_id": "73030226",
"site_name": "维易淘客订单",
"subsidy_rate": "0.0000",
"subsidy_type": "-1",
"terminal_type": "1",
"tk3rd_type": "--",
"tk_status": 13,
"total_commission_rate": "0.1500",
"trade_id": 310301130515719426,
"trade_parent_id": 310301130515719426
}
]
}
会发现,这时付款字段为0,订单状态为13(订单失效)
"alipay_total_price": "0",
"tk_status": 13,
6、以上结果,在我们下载EXCEL时,状态也是一样,不会变。当维权成功时,订单状态才会变。
【维权订单状态变化结论】
在买家申请维权时,订单状态是不会变的,只有卖家同意了退款等维权,状态才会变。
在使用订单接口过程中,务必对每个环节认真求证,涉及到钱的,不可马虎。