文档中心 > API类目 > 产品中心API

alibaba.global.product.merchant.categories.and.brands.get (品牌商提报-查询类目和品牌权限)

品牌商提报-查询类目和品牌权限

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述

响应参数

名称 类型 示例值 描述
successful Boolean true 是否成功
model SchemaCategoryDTO [] 类目品牌信息
  • brand_list
  • SchemeBrandDTO []
  • 品牌信息
  • └ brand_name
  • String
  • Freeplus/芙丽芳丝
  • 品牌名
  • └ brand_id
  • Number
  • 3309062
  • 品名id
  • └ category_name
  • String
  • 防晒霜
  • 类目名
  • └ category_id
  • Number
  • 201274860
  • 类目id
error_codes String PARAMS_ERROR 错误编码
error_msg String 参数错误,请按规范填写! 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaGlobalProductMerchantCategoriesAndBrandsGetRequest req = new AlibabaGlobalProductMerchantCategoriesAndBrandsGetRequest();
AlibabaGlobalProductMerchantCategoriesAndBrandsGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_global_product_merchant_categories_and_brands_get_response>
    <successful>true</successful>
    <model>
        <schema_category_d_t_o>
            <brand_list>
                <scheme_brand_d_t_o>
                    <brand_name>Freeplus/芙丽芳丝</brand_name>
                    <brand_id>3309062</brand_id>
                </scheme_brand_d_t_o>
            </brand_list>
            <category_name>防晒霜</category_name>
            <category_id>201274860</category_id>
        </schema_category_d_t_o>
    </model>
    <error_codes>PARAMS_ERROR</error_codes>
    <error_msg>参数错误,请按规范填写!</error_msg>
</alibaba_global_product_merchant_categories_and_brands_get_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>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部