文档中心 > API类目 > 本地生活API

taobao.koubei.saas.base.operation.config.sync (商家基础经营设置信息同步)

ISV接入口碑SAAS后, 经营设置数据同步到口碑SAAS

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
merchant_id String 必须 XX 商户ID
request_id String 必须 XX 请求ID
outer_operator_id String 可选 XX 操作员ID
biz_type String 必须 "payment_method" 业务类型。支付方式:payment_method
operation_config String 必须 {} 经营设置json串

响应参数

名称 类型 示例值 描述
biz_success Boolean true 是否成功
msg_info String 系统异常 异常信息
msg_code String SYS_ERROR 异常码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
KoubeiSaasBaseOperationConfigSyncRequest req = new KoubeiSaasBaseOperationConfigSyncRequest();
req.setMerchantId("XX");
req.setRequestId("XX");
req.setOuterOperatorId("XX");
req.setBizType("\"payment_method\"");
req.setOperationConfig("{}");
KoubeiSaasBaseOperationConfigSyncResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<koubei_saas_base_operation_config_sync_response>
    <biz_success>true</biz_success>
    <msg_info>系统异常</msg_info>
    <msg_code>SYS_ERROR</msg_code>
</koubei_saas_base_operation_config_sync_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

返回
顶部