文档中心 > API类目 > 全球速卖通-商品管理

aliexpress.postproduct.redefining.getsizechartinfobycategoryid (根据类目id获得适用的尺码表信息列表(不推荐使用))

查询当前用户在指定类目下可用的尺码模版信息。不推荐使用,请使用aliexpress.offer.redefining.getsizetemplatesbycategoryid

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
category_id Number 可选 4413151515 商品类目Id

响应参数

名称 类型 示例值 描述
result AeopAeProductSizeChartResultDto 0 result
  • └ error_msg
  • String
  • 0
  • 错误信息
  • sizechart_d_t_o_list
  • Sizechartdtolist []
  • 0
  • 尺码标模版列表
  • └ is_default
  • Boolean
  • false
  • 是否是系统自带的尺码模版,true表示是系统自带的,false表示用户自定义.
  • └ model_name
  • String
  • 裤子
  • 尺码模版的适用类型
  • └ name
  • String
  • 牛仔裤尺码表
  • 尺码模版的名称
  • └ sizechart_id
  • Number
  • 6135006
  • 尺码模版ID.
  • └ success
  • Boolean
  • true
  • 调用方法成功标识,true/false分别代表成功和失败
  • └ error_code
  • Number
  • 16009999
  • 错误代码
  • └ error_message
  • String
  • 系统异常!
  • 系统异常信息

请求示例

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

响应示例

  • XML示例
  • JSON示例
<aliexpress_postproduct_redefining_getsizechartinfobycategoryid_response>
    <result>
        <error_msg>0</error_msg>
        <sizechart_d_t_o_list>
            <sizechartdtolist>
                <is_default>false</is_default>
                <model_name>裤子</model_name>
                <name>牛仔裤尺码表</name>
                <sizechart_id>6135006</sizechart_id>
            </sizechartdtolist>
        </sizechart_d_t_o_list>
        <success>true</success>
        <error_code>16009999</error_code>
        <error_message>系统异常!</error_message>
    </result>
</aliexpress_postproduct_redefining_getsizechartinfobycategoryid_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

返回
顶部