Action: client_add
Specify variables for customer input.
If a client with such mail and/or phone number already exists in the database, the client will be added access to your Company's buyer account. If this is a new client, a client will be created and access to the buyer's office of your Company will be provided.
Вывод:
{
"status": "ok",
"error": "",
"data": {
"client": {
"client_id": "964",
"name": "New client",
"phone": "+38 (077) 999-88-33",
"parent": null,
"pass": "tr1vscO1k",
"d_update": "2021-09-19 10:11:01",
"active": "1",
"adress": null,
"maps": null
},
"message": {
"response_code": 801,
"response_status": "SUCCESS_MESSAGE_SENT",
"response_result": [
{
"phone": "380779998833",
"message_id": "875f74b6-6146-f6f3-1976-b6d152068371",
"response_code": 0,
"response_status": "OK"
}
]
}
}
}
|
|