aliexpress.category.redefining.getpostcategorybyid (获取单个类目信息)

获取单个类目信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param0 Number 必须 5090301 发布类目ID

响应参数

名称 类型 示例值 描述
result AeopPostCategoryResponse {"aeopPostCategoryList":[{"names":{"hi":"MobilePhones","de":"Mobiltelefon","ru":"Мобильныетелефоны","ko":"MobilePhones","pt":"Telefonia","in":"Ponsel","en":"MobilePhones","it":"Telefonicellulari","fr":"Smartphones","zh":"手机","iw":"MobilePhones","es":"Smartphones","ar":"MobilePhones","vi":"MobilePhones","th":"MobilePhones","ja":"携帯電話","tr":"CepTelefonu","nl":"Mobieletelefoons"},"level":2,"id":5090301,"isleaf":true}],"success":true} 发布类目对象
  • aeop_post_category_list
  • AeopPostCategoryDto []
  • [{"names":{"hi":"MobilePhones","de":"Mobiltelefon","ru":"Мобильныетелефоны","ko":"MobilePhones","pt":"Telefonia","in":"Ponsel","en":"MobilePhones","it":"Telefonicellulari","fr":"Smartphones","zh":"手机","iw":"MobilePhones","es":"Smartphones","ar":"MobilePhones","vi":"MobilePhones","th":"MobilePhones","ja":"携帯電話","tr":"CepTelefonu","nl":"Mobieletelefoons"},"level":2,"id":5090301,"isleaf":true]
  • 发布类目
  • └ id
  • Number
  • 5090301
  • 发布类目id
  • └ isleaf
  • Boolean
  • true
  • 是否叶子发布类目
  • └ level
  • Number
  • 2
  • 发布类目层级
  • └ names
  • Json
  • {"hi":"MobilePhones","de":"Mobiltelefon","ru":"MobilePhones","ko":"MobilePhones","pt":"Telefonia","in":"Ponsel","en":"MobilePhones","it":"Telefonicellulari","fr":"Smartphones","zh":"手机","iw":"MobilePhones","es":"Smartphones","ar":"MobilePhones","vi":"MobilePhones","th":"MobilePhones","ja":"携帯電話","tr":"CepTelefonu","nl":"Mobieletelefoons"}
  • 发布类目多语言名称
  • └ features
  • Json
  • {"AE_FEATURE_UserDefineSalesProperty": "ES"}
  • 类目特征的map
  • └ success
  • Boolean
  • true
  • 服务调用是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressCategoryRedefiningGetpostcategorybyidRequest req = new AliexpressCategoryRedefiningGetpostcategorybyidRequest();
req.setParam0(5090301L);
AliexpressCategoryRedefiningGetpostcategorybyidResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_category_redefining_getpostcategorybyid_response>
    <result>
        <aeop_post_category_list>
            <aeop_post_category_dto>
                <id>5090301</id>
                <isleaf>true</isleaf>
                <level>2</level>
                <names>{&quot;hi&quot;:&quot;MobilePhones&quot;,&quot;de&quot;:&quot;Mobiltelefon&quot;,&quot;ru&quot;:&quot;MobilePhones&quot;,&quot;ko&quot;:&quot;MobilePhones&quot;,&quot;pt&quot;:&quot;Telefonia&quot;,&quot;in&quot;:&quot;Ponsel&quot;,&quot;en&quot;:&quot;MobilePhones&quot;,&quot;it&quot;:&quot;Telefonicellulari&quot;,&quot;fr&quot;:&quot;Smartphones&quot;,&quot;zh&quot;:&quot;手机&quot;,&quot;iw&quot;:&quot;MobilePhones&quot;,&quot;es&quot;:&quot;Smartphones&quot;,&quot;ar&quot;:&quot;MobilePhones&quot;,&quot;vi&quot;:&quot;MobilePhones&quot;,&quot;th&quot;:&quot;MobilePhones&quot;,&quot;ja&quot;:&quot;携帯電話&quot;,&quot;tr&quot;:&quot;CepTelefonu&quot;,&quot;nl&quot;:&quot;Mobieletelefoons&quot;}</names>
                <features>{&quot;AE_FEATURE_UserDefineSalesProperty&quot;: &quot;ES&quot;}</features>
            </aeop_post_category_dto>
        </aeop_post_category_list>
        <success>true</success>
    </result>
</aliexpress_category_redefining_getpostcategorybyid_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案
isp.50001 服务端异常 请联系对应接口负责人
42001 类目不存在 请检查类目ID及其他参数,若参数正确无误请联系对应接口负责人
isp.isp.category-service-unavailable 系统异常,服务不可用 请联系对应接口负责人

API工具

如何获得此API

FAQ

返回
顶部