基于电商大数据,自动优化商品标题。
接口说明
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
alimt:GetTitleGenerate |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Title |
string |
是 |
标题内容 |
10pcs 80ml Kitchen Disposable |
| Language |
string |
是 |
标题语种,语向支持以及语言代码 |
en |
| Platform |
string |
是 |
商品标题所属平台,支持 ae/icbu |
ae |
| CategoryId |
string |
是 |
类目 ID,如没有类目数据则传入 0 |
127896018 |
| HotWords |
string |
否 |
热词 |
None,Plastic |
| Attributes |
string |
否 |
商品属性,请如示例传入 JSON 数据 |
{2:"None",10:"Plastic"} |
| Extra |
string |
否 |
|
{ "product_id": "1", "platform": "ae" } |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| Code |
integer |
状态码,正常返回 200 |
200 |
| Message |
string |
错误的时候,返回错误信息 |
ok |
| RequestId |
string |
请求唯一串 |
DC2DCCC9-C3DF-4F59-8D8E-78185729F16D |
| Data |
object |
返回内容 |
|
| Titles |
string |
优化后的标题内容 |
10pcs 80ml Kitchen Disposable Plastic Sauce Cup Pot Chutney Container |
示例
正常返回示例
JSON格式
{
"Code": 200,
"Message": "ok",
"RequestId": "DC2DCCC9-C3DF-4F59-8D8E-78185729F16D",
"Data": {
"Titles": "10pcs 80ml Kitchen Disposable Plastic Sauce Cup Pot Chutney Container"
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 110 | System.AccountNotActivated | The account has not activated the service. | |
| 111 | System.SubServiceFailed | Sub-account service failed. | |
| 199 | System.unknownError | An unknown error occurred. | |
| 101 | System.RequestTimeOut | The request has timed out. | |
| 112 | System.TranslateServiceCallFailed | Failed to call the translation service. | |
| 102 | System.Error | A system error occurred. | |
| 113 | System.AccountNotActivatedOrInArrears | The service is not activated or the account has an outstanding balance. | |
| 103 | System.UrlDecodingError | An error occurred while decoding the URL. Verify that the specified URL is encoded. | |
| 104 | System.ParameterError | Some required parameters are missing. | |
| 105 | System.LanguageNotSupported | The specified language pair is not supported. | |
| 106 | System.LanguageDetectError | An error occurred while detecting the language. | |
| 107 | System.TranslateError | An error occurred while translating. | |
| 108 | System.StringTooLong | The maximum length of the specified string is exceeded. | |
| 109 | System.subNotPermission | The sub-account is not authorized to perform the operation. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。