所有速卖通现金返还网站,每次购买后自动获得用户订单。他们是怎么做到的?
通过API我可以获得我的所有联盟订单(访问我生成的URL后的订单),我可以使用API响应获取它们的列表:
并获得:
{
"result": {
"totalResults": "-",
"orders": [{
"orderTime": "04-23-2017 00:20",
"orderNumber": 83426736718999,
"product": "Humor Bear Boys Clothing Sets Brand Boys Clothes 2017 Summer Fashion Style T-Shirts+Stripe Pant 2PCS Boys Clothes",
"orderStatus": "Completed Payments",
"commissionRate": "8.0%",
"paymentAmount": "8.25",
"estimatedCommission": "0.66",
"finalPaymentAmount": "0.00",
"commission": "0.00",
"extraParams": "{}",
"trackingId": "smartbuy",
"pid": "888445371"
}]
},
"errorCode": 20010000
}
但我不知道哪个用户订购此订单。谢谢!