TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallAliautoFulfillmentNativesStorebaseinfoSaveRequest req = new TmallAliautoFulfillmentNativesStorebaseinfoSaveRequest();
TmallAliautoFulfillmentNativesStorebaseinfoSaveRequest.TmallNativeStoreBaseInfoReq obj1 = new TmallAliautoFulfillmentNativesStorebaseinfoSaveRequest.TmallNativeStoreBaseInfoReq();
obj1.setExt("{\"key\",\"value\"}");
obj1.setSpecialFeatureList(""wifi","有空调"");
obj1.setNativeShopStoreId("1234567890");
obj1.setInstallStoreId("123456");
obj1.setTmallycStoreId("1234");
req.setTmallycStoreBaseInfoReq(obj1);
TmallAliautoFulfillmentNativesStorebaseinfoSaveResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
TmallAliautoFulfillmentNativesStorebaseinfoSaveRequest req = new TmallAliautoFulfillmentNativesStorebaseinfoSaveRequest();
TmallAliautoFulfillmentNativesStorebaseinfoSaveRequest.TmallNativeStoreBaseInfoReqDomain obj1 = new TmallAliautoFulfillmentNativesStorebaseinfoSaveRequest.TmallNativeStoreBaseInfoReqDomain();
obj1.Ext = "{\"key\",\"value\"}";
obj1.SpecialFeatureList = ""wifi","有空调"";
obj1.NativeShopStoreId = "1234567890";
obj1.InstallStoreId = "123456";
obj1.TmallycStoreId = "1234";
req.TmallycStoreBaseInfoReq_ = obj1;
TmallAliautoFulfillmentNativesStorebaseinfoSaveResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new TmallAliautoFulfillmentNativesStorebaseinfoSaveRequest;
$tmallyc_store_base_info_req = new TmallNativeStoreBaseInfoReq;
$tmallyc_store_base_info_req->ext="{\"key\",\"value\"}";
$tmallyc_store_base_info_req->special_feature_list="[\"wifi\",\"有空调\"]";
$tmallyc_store_base_info_req->native_shop_store_id="1234567890";
$tmallyc_store_base_info_req->install_store_id="123456";
$tmallyc_store_base_info_req->tmallyc_store_id="1234";
$req->setTmallycStoreBaseInfoReq(json_encode($tmallyc_store_base_info_req));
$resp = $c->execute($req, $sessionKey);
curl -X POST 'http://gw.api.taobao.com/router/rest' \
-H 'Content-Type:application/x-www-form-urlencoded;charset=utf-8' \
-d 'app_key=12129701' \
-d 'format=json' \
-d 'method=tmall.aliauto.fulfillment.natives.storebaseinfo.save' \
-d 'partner_id=apidoc' \
-d 'session=3e6c213b-67a4-46bb-8dfb-bc3fe28052df' \
-d 'sign=5C092C72EB4586E93E997D77E80DF829' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-28+03%3A13%3A12' \
-d 'v=2.0' \
-d 'tmallyc_store_base_info_req=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.TmallAliautoFulfillmentNativesStorebaseinfoSaveRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.tmallyc_store_base_info_req="数据结构示例JSON格式"
try:
resp= req.getResponse(sessionkey)
print(resp)
except Exception,e:
print(e)
pTopRequest pRequest = alloc_top_request();
pTopResponse pResponse = NULL;
pTaobaoClient pClient = alloc_taobao_client(url, appkey, appsecret);
set_api_name(pRequest,"tmall.aliauto.fulfillment.natives.storebaseinfo.save");
add_param(pRequest,"tmallyc_store_base_info_req","数据结构JSON示例");
pResponse = top_execute(pClient,pRequest,sessionKey);
printf("ret code:%d\n",pResponse->code);
if(pResponse->code == 0){
pTopResponseIterator ite = init_response_iterator(pResponse);
pResultItem pResultItem = alloc_result_item();
while(parseNext(ite, pResultItem) == 0){
printf("%s:%s\n",pResultItem->key,pResultItem->value);
}
destroy_response_iterator(ite);
destroy_result_item(pResultItem);
}
destroy_top_request(pRequest);
destroy_top_response(pResponse);
destroy_taobao_client(pClient);
TopClient = require('./topClient').TopClient;
var client = new TopClient({
'appkey': 'appkey',
'appsecret': 'secret',
'REST_URL': 'http://gw.api.taobao.com/router/rest'
});
client.execute('tmall.aliauto.fulfillment.natives.storebaseinfo.save', {
'tmallyc_store_base_info_req':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})