Skip to main content

商户信息更新接口

接口描述​

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

请求参数​

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

返回示例​

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

错误代码​

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