文档中心 > API类目 > 零售终端API

tmall.nrt.pay.merchant.fundstype.modify (修改摊位分账类型)

修改摊位分账类型

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
modify_funds_type_req_dto ModifyFundsTypeReqDTO 必须 请求参数
  • └ funds_type
  • Number
  • 必须
  • 0
  • 分账类型(0卖场,1摊位)
  • └ store_id
  • Number
  • 必须
  • 123456
  • 阿里摊位id

响应参数

名称 类型 示例值 描述
result ResultDO 系统参数
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ err_code
  • String
  • INVALID_REQUEST
  • 系统自动生成
  • └ err_msg
  • String
  • 无效的请求
  • 系统自动生成

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallNrtPayMerchantFundstypeModifyRequest req = new TmallNrtPayMerchantFundstypeModifyRequest();
TmallNrtPayMerchantFundstypeModifyRequest.ModifyFundsTypeReqDTO obj1 = new TmallNrtPayMerchantFundstypeModifyRequest.ModifyFundsTypeReqDTO();
obj1.setFundsType(0L);
obj1.setStoreId(123456L);
req.setModifyFundsTypeReqDto(obj1);
TmallNrtPayMerchantFundstypeModifyResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_nrt_pay_merchant_fundstype_modify_response>
    <result>
        <success>true</success>
        <err_code>INVALID_REQUEST</err_code>
        <err_msg>无效的请求</err_msg>
    </result>
</tmall_nrt_pay_merchant_fundstype_modify_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

返回
顶部