aliexpress.category.redefining.getchildrenpostcategorybyid (获取指定类目下子类目信息)

获取下级类目信息,同获取单个类目信息内容相同(cateId=0获得一级类目列表)

公共参数

请求参数

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

响应参数

名称 类型 示例值 描述
result AeopPostCategoryResponse {"aeopPostCategoryList":[{"names":{"ru":"Оборудование связи","pt":"Equipamentos de comunica??o","in":"Peralatan komunikasi","en":"Communication Equipment","fr":"?quipements de Communication","zh":"通信设备","es":"Equipos de comunicación"},"level":2,"id":100001204,"isleaf":false},{"names":{"ru":"Мобильные телефоны , аксессуары и запчасти","pt":"Celular acessórios e pe?as","in":"Aksesoris ponsel, & Bagian","en":"Mobile Phone Accessories & Parts","fr":"Mobile téléphone accessoires et pièces de rechange","zh":"手机配件和零件","es":"Mobile Accessories & Parts teléfono"},"level":2,"id":100001205,"isleaf":false}],"success":true} 孩子发布类目对象
  • aeop_post_category_list
  • AeopPostCategoryDto []
  • [{"names":{"ru":"Оборудование связи","pt":"Equipamentos de comunica??o","in":"Peralatan komunikasi","en":"Communication Equipment","fr":"?quipements de Communication","zh":"通信设备","es":"Equipos de comunicación"},"level":2,"id":100001204,"isleaf":false},{"names":{"ru":"Мобильные телефоны , аксессуары и запчасти","pt":"Celular acessórios e pe?as","in":"Aksesoris ponsel, & Bagian","en":"Mobile Phone Accessories & Parts","fr":"Mobile téléphone accessoires et pièces de rechange","zh":"手机配件和零件","es":"Mobile Accessories & Parts teléfono"},"level":2,"id":100001205,"isleaf":false}]
  • 孩子发布类目
  • └ id
  • Number
  • 100001204
  • 发布类目ID
  • └ isleaf
  • Boolean
  • false
  • 是否叶子发布类目
  • └ level
  • Number
  • 2
  • 发布类目层级
  • └ names
  • Json
  • {"ru":"Оборудование связи","pt":"Equipamentos de comunica??o","in":"Peralatan komunikasi","en":"Communication Equipment","fr":"?quipements de Communication","zh":"通信设备","es":"Equipos de comunicación"}
  • 类目多语言名称
  • └ 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);
AliexpressCategoryRedefiningGetchildrenpostcategorybyidRequest req = new AliexpressCategoryRedefiningGetchildrenpostcategorybyidRequest();
req.setParam0(509L);
AliexpressCategoryRedefiningGetchildrenpostcategorybyidResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_category_redefining_getchildrenpostcategorybyid_response>
    <result>
        <aeop_post_category_list>
            <aeop_post_category_dto>
                <id>100001204</id>
                <isleaf>false</isleaf>
                <level>2</level>
                <names>{&quot;ru&quot;:&quot;Оборудование связи&quot;,&quot;pt&quot;:&quot;Equipamentos de comunica??o&quot;,&quot;in&quot;:&quot;Peralatan komunikasi&quot;,&quot;en&quot;:&quot;Communication Equipment&quot;,&quot;fr&quot;:&quot;?quipements de Communication&quot;,&quot;zh&quot;:&quot;通信设备&quot;,&quot;es&quot;:&quot;Equipos de comunicación&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_getchildrenpostcategorybyid_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.isp.category-service-unavailable 系统异常,服务不可用。 请联系对应服务负责人
42001 类目不存在,请检查类目ID Category not found,please input valid category id 请检查类目ID或其他参数是否正确
isp.50001 系统异常,服务调用失败 请重试或联系对应接口负责人
isv.permission-api-jst-only-limit 无服务权限 请申请相关服务权限

API工具

如何获得此API

FAQ

返回
顶部