Skip to content

商户信息更新接口

接口描述

POST /merchant/update - 更新商户基本信息

请求参数

参数名类型必填描述
merchantIdstring商户ID
namestring商户名称
contactstring联系人
phonestring联系电话
emailstring电子邮箱
addressstring联系地址

返回示例

json
{
  "code": 200,
  "msg": "商户信息更新成功",
  "data": {
    "updatedFields": ["name", "contact"]
  }
}

错误代码

  • 500: 商户信息更新失败
  • 500: 商户不存在
  • 500: 无有效更新字段