有客户问,淘宝联盟的订单查询接口,是否可以马上查询到刚刚拍下的订单数据?淘宝订单API的实效性如何?
答案:是可以的。
刚拍下的订单马上就能查到。订单API的实效性是实时的。
比如我用一个1元的移动话费充值测试。下单时间 2018-10-05 18:27:23:
如图:
现在马上调用维易订单接口,获取如下数据:
{
"msg": "操作成功",
"error": 0,
"data": [
{
"adzone_id": "1234621668",
"adzone_name": "维易淘客接口",
"alipay_total_price": "1.0200",
"auction_category": "话费充值",
"commission": "0.00",
"commission_rate": "1.0000",
"create_time": "2018-10-05 18:27:23",
"income_rate": "0.0142",
"item_num": 1,
"item_title": "福建移动1元全国快充话费一元手机充值交一块钱快冲花费3两元2五5",
"num_iid": 535891110286,
"order_type": "淘宝",
"pay_price": "0.00",
"price": "1.02",
"pub_share_pre_fee": "0.01",
"seller_nick": "xfm1680",
"seller_shop_title": "咨询客服6充10",
"site_id": "21311991",
"site_name": "维易淘客订单查询接口API",
"subsidy_fee": "0",
"subsidy_rate": "0.0000",
"subsidy_type": "-1",
"terminal_type": "1",
"tk3rd_type": "--",
"tk_status": 12,
"total_commission_fee": "0",
"total_commission_rate": "0.0142",
"trade_id": 339291940990159886,
"trade_parent_id": 339291940990159886
}
]
}
如图: