通过淘宝产品的url进行单品认领(URL需做代码转译。)
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
url | String | 可选 | http://detail.tmall.com/item.htm?spm=a2106.m861.1000384.1.vxsG6t&id=13187863348&source=dou&scm=1029.newlist-0.tagbeta.50000582&ppath=&sku=&ug= | 淘宝或者天猫产品的detail url,url需做代码转译。 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | AeopTaoDaiXiaoClaimResultDto | 0 | result |
|
1 2 3 4 5 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressPostproductRedefiningClaimtaobaoproductsapiRequest req = new AliexpressPostproductRedefiningClaimtaobaoproductsapiRequest(); AliexpressPostproductRedefiningClaimtaobaoproductsapiResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 | < aliexpress_postproduct_redefining_claimtaobaoproductsapi_response > < result > < error_message >has claimed the taobao product</ error_message > < error_code >6003</ error_code > < success >true</ success > </ result > </ aliexpress_postproduct_redefining_claimtaobaoproductsapi_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|