代理商注册接口申请接口请联系客服,客服邮箱:vip@wqdian.com 客服QQ:31579781 (工作日9:00-17:30)

接口地址: /agent/register?accessToken=accessToken

支持格式: JSON

请求方式: POST

请求示例: http://api.wqdian.com/agent/register?accessToken=accessToken

接口备注: 代理商注册接口

参数与返回数据的JSON数据包示例

参数示例:

{

  "address": "string",

  "agentType": "Business",

  "contactsName": "联系人姓名",

  "contactsphone": "联系电话",

  "email": "liuyang@knet.cn", 

  "enterpriseName": "企业名称", 

  "licenseImg": "营业执照/身份证的远程图片路径", 

  "password": "密码",

  "postcode": "string"

}

返回数据:

{

  "data": {

    "id": xxxxxxxxxxxxxxx, 

  },

  "errorCode": 200,

  "errorMsg": "ok"

}

返回状态码:

200 成功

500 失败

501 参数有误请检查

10002 接口调用凭证失效

30000 代理商已存在


请求参数说明

名称 类型 必填 说明
agentVO agentVO { "address": "string", "agentType": "Business", "contactsName": "string", "contactsphone": "string", "email": "liuyang@knet.cn", "enterpriseName": "string", "licenseImg": "string", "password": "string", "postcode": "string" }
agentType agentType 代理商类型 :Business 企业,Personal 个人
email String 登录账号
enterpriseName String 企业名称
password String 密码
accessToken String 接口调用凭证
address String 公司地址
contactsphone String 联系电话
licenseImg String 营业执照/身份证的远程图片路径, 需要调用文件上传接口,获取图片路径
postcode String 邮编