TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressPostproductRedefiningEditsimpleproductfiledRequest req = new AliexpressPostproductRedefiningEditsimpleproductfiledRequest();
req.setProductId(1234L);
req.setFiedName("deliveryTime");
req.setFiedvalue("{ \"mobileDetail\": [ { \"type\": \"text\", \"content\": \" POSTAGE<>: We provide free express shipping via UPS / DHL / FEDEX / EMS / TNT / ARAMEX / for most of country when your orders around US$200 (please contact us if you have qustions). Delivery time around 4-7 days (business days).NOTE<>: We have only one store called 'TWOTWINSTYLE' on aliexpress. The products selling in other stores with same designs or photos are not from us. 'TWOTWINSTYLE' have their own separate production lines, all merchandise sold are exclusive and high quality.\" } ], \"version\": \"1.0\", \"versionNum\": 1}");
AliexpressPostproductRedefiningEditsimpleproductfiledResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AliexpressPostproductRedefiningEditsimpleproductfiledRequest req = new AliexpressPostproductRedefiningEditsimpleproductfiledRequest();
req.ProductId = 1234L;
req.FiedName = "deliveryTime";
req.Fiedvalue = "{ \"mobileDetail\": [ { \"type\": \"text\", \"content\": \" POSTAGE<>: We provide free express shipping via UPS / DHL / FEDEX / EMS / TNT / ARAMEX / for most of country when your orders around US$200 (please contact us if you have qustions). Delivery time around 4-7 days (business days).NOTE<>: We have only one store called 'TWOTWINSTYLE' on aliexpress. The products selling in other stores with same designs or photos are not from us. 'TWOTWINSTYLE' have their own separate production lines, all merchandise sold are exclusive and high quality.\" } ], \"version\": \"1.0\", \"versionNum\": 1}";
AliexpressPostproductRedefiningEditsimpleproductfiledResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AliexpressPostproductRedefiningEditsimpleproductfiledRequest;
$req->setProductId("1234");
$req->setFiedName("deliveryTime");
$req->setFiedvalue("{ \"mobileDetail\": [ { \"type\": \"text\", \"content\": \" POSTAGE<>: We provide free express shipping via UPS / DHL / FEDEX / EMS / TNT / ARAMEX / for most of country when your orders around US$200 (please contact us if you have qustions). Delivery time around 4-7 days (business days).NOTE<>: We have only one store called 'TWOTWINSTYLE' on aliexpress. The products selling in other stores with same designs or photos are not from us. 'TWOTWINSTYLE' have their own separate production lines, all merchandise sold are exclusive and high quality.\" } ], \"version\": \"1.0\", \"versionNum\": 1}");
$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=aliexpress.postproduct.redefining.editsimpleproductfiled' \
-d 'partner_id=apidoc' \
-d 'session=8c9e35dc-3525-491f-aa9e-e7c70d392b71' \
-d 'sign=2B0ECD5738FB8E39F5BBB80AB07A2B86' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-25+18%3A48%3A39' \
-d 'v=2.0' \
-d 'fied_name=deliveryTime' \
-d 'fiedvalue=%7B++%5C%22mobileDetail%5C%22%3A+%5B++%7B++++++++%5C%22type%5C%22%3A+%5C%22text%5C%22%2C++++++++%5C%22content%5C%22%3A+%5C%22+POSTAGE%3C%3E%3A++We+provide+free+express+shipping+via+UPS+%2F+DHL+%2F+FEDEX+%2F+EMS+%2F+TNT+%2F+ARAMEX+%2F+for+most+of+country+when+your+orders+around+US%24200+%28please+contact+us+if+you+have+qustions%29.+Delivery+time+around+4-7+days+%28business+days%29.NOTE%3C%3E%3A+We+have+only+one+store+called+%27TWOTWINSTYLE%27+on+aliexpress.+The+products+selling+in+other+stores+with+same+designs+or+photos+are+not+from+us.+%27TWOTWINSTYLE%27+have+their+own+separate+production+lines%2C+all+merchandise+sold+are+exclusive+and+high+quality.%5C%22++++++%7D+%5D%2C++%5C%22version%5C%22%3A+%5C%221.0%5C%22%2C++%5C%22versionNum%5C%22%3A+1%7D' \
-d 'product_id=1234'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AliexpressPostproductRedefiningEditsimpleproductfiledRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.product_id=1234
req.fied_name="deliveryTime"
req.fiedvalue="{ \"mobileDetail\": [ { \"type\": \"text\", \"content\": \" POSTAGE<>: We provide free express shipping via UPS / DHL / FEDEX / EMS / TNT / ARAMEX / for most of country when your orders around US$200 (please contact us if you have qustions). Delivery time around 4-7 days (business days).NOTE<>: We have only one store called 'TWOTWINSTYLE' on aliexpress. The products selling in other stores with same designs or photos are not from us. 'TWOTWINSTYLE' have their own separate production lines, all merchandise sold are exclusive and high quality.\" } ], \"version\": \"1.0\", \"versionNum\": 1}"
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,"aliexpress.postproduct.redefining.editsimpleproductfiled");
add_param(pRequest,"product_id","1234");
add_param(pRequest,"fied_name","deliveryTime");
add_param(pRequest,"fiedvalue","{ \"mobileDetail\": [ { \"type\": \"text\", \"content\": \" POSTAGE<>: We provide free express shipping via UPS / DHL / FEDEX / EMS / TNT / ARAMEX / for most of country when your orders around US$200 (please contact us if you have qustions). Delivery time around 4-7 days (business days).NOTE<>: We have only one store called 'TWOTWINSTYLE' on aliexpress. The products selling in other stores with same designs or photos are not from us. 'TWOTWINSTYLE' have their own separate production lines, all merchandise sold are exclusive and high quality.\" } ], \"version\": \"1.0\", \"versionNum\": 1}");
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('aliexpress.postproduct.redefining.editsimpleproductfiled', {
'product_id':'1234',
'fied_name':'deliveryTime',
'fiedvalue':'{ \"mobileDetail\": [ { \"type\": \"text\", \"content\": \" POSTAGE<>: We provide free express shipping via UPS / DHL / FEDEX / EMS / TNT / ARAMEX / for most of country when your orders around US$200 (please contact us if you have qustions). Delivery time around 4-7 days (business days).NOTE<>: We have only one store called 'TWOTWINSTYLE' on aliexpress. The products selling in other stores with same designs or photos are not from us. 'TWOTWINSTYLE' have their own separate production lines, all merchandise sold are exclusive and high quality.\" } ], \"version\": \"1.0\", \"versionNum\": 1}'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})