文档

GetTitleGenerate - 标题优化调用指南

更新时间:

基于电商大数据,自动优化商品标题。

接口说明

注意 该接口已计划下线,不建议继续调用。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
Titlestring

标题内容

10pcs 80ml Kitchen Disposable
Languagestringen
Platformstring

商品标题所属平台,支持 ae/icbu

ae
CategoryIdstring

类目 ID,如没有类目数据则传入 0

127896018
HotWordsstring

热词

None,Plastic
Attributesstring

商品属性,请如示例传入 JSON 数据

{2:"None",10:"Plastic"}
Extrastring
  • 格式内容:{ "product_id": "1", "platform": "ae" }
  • product_id 商品 id
  • platform 商品所属平台
{ "product_id": "1", "platform": "ae" }

返回参数

名称类型描述示例值
object
Codeinteger

状态码,正常返回 200

200
Messagestring

错误的时候,返回错误信息

ok
RequestIdstring

请求唯一串

DC2DCCC9-C3DF-4F59-8D8E-78185729F16D
Dataobject

返回内容

Titlesstring

优化后的标题内容

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错误码错误信息描述
101System.RequestTimeOutThe request has timed out.请求超时
102System.ErrorA system error occurred.系统错误
103System.UrlDecodingErrorAn error occurred while decoding the URL. Verify that the specified URL is encoded.URL编码错误
104System.ParameterErrorSome required parameters are missing.参数错误
105System.LanguageNotSupportedThe specified language pair is not supported.该语向不支持
106System.LanguageDetectErrorAn error occurred while detecting the language.语种识别错误
107System.TranslateErrorAn error occurred while translating.翻译错误
108System.StringTooLongThe maximum length of the specified string is exceeded.字符过长
109System.subNotPermissionThe sub-account is not authorized to perform the operation.子账号没有权限
110System.AccountNotActivatedThe account has not activated the service.账号没有开通服务
111System.SubServiceFailedSub-account service failed.子账号服务失败
112System.TranslateServiceCallFailedFailed to call the translation service.翻译服务调用失败
113System.AccountNotActivatedOrInArrearsThe service is not activated or the account has an outstanding balance.账号服务没有开通或者欠费
199System.unknownErrorAn unknown error occurred.未知错误

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (0)
文档反馈