注意:以下文档只适用于TOP接口,请谨慎使用!

alibaba.decoration.store.xmerchant.create (门店创建)

门店创建

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
custom_code String 必须 1662537849728 外部门店id
store_name String 必须 测试门店 门店名称

响应参数

名称 类型 示例值 描述
result Result result
  • └ message_info
  • String
  • 程序发生异常
  • 错误message
  • └ message_code
  • Number
  • 100399999
  • 返回错误码
  • data
  • StoreCreateResp
  • 返回结果
  • └ store_code
  • String
  • 419548580456341504
  • 门店code
  • └ message_flag
  • Boolean
  • true
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDecorationStoreXmerchantCreateRequest req = new AlibabaDecorationStoreXmerchantCreateRequest();
req.setCustomCode("1662537849728");
req.setStoreName("测试门店");
AlibabaDecorationStoreXmerchantCreateResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_decoration_store_xmerchant_create_response>
    <result>
        <message_info>程序发生异常</message_info>
        <message_code>100399999</message_code>
        <data>
            <store_code>419548580456341504</store_code>
        </data>
        <message_flag>true</message_flag>
    </result>
</alibaba_decoration_store_xmerchant_create_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

返回
顶部