Member API

Add New Members -wjb.buyer.add

description

add new members and you can't delete any members

input params

ID Name Type Descrition Required
1 buyer Buyer whole member information Y

return

ID Name Type Descrition
1 code Number result code:0 success
2 error_message String error message

Http URL

is same to wjb.trade.add

HTTP body:

{
  "buyer": {
    "address": "上海市浦东新区松涛路489号",
    "astro": 1,
    "birthday": "1990-01-20",
    "bloodtype": 1,
    "created": "2015-01-01 10:00:08",
    "email": "233545435@qq.com",
    "gender": 1,
    "grade": 1,
    "mobile": "13978653947",
    "nick": "ramon",
    "realname": "张三",
    "status": 0
  }
}

Update Member Information -wjb.buyer.modify

description

update member basic information

input params

ID Name Type Description Required
1 buyer Buyer complete member information Y

return

ID Name Type Description
1 code Number result code:0 success
2 error_message String error message

Query Member Information -wjb.buyer.get

description

get member detailed information

input params

ID Name Type Description Required
1 nick String member nick name Y

return

ID Name Type Description
1 code Number result code:0 success
2 error_message String error message
3 Buyer Buyer whole member information