Создать контрагента
Request Body
{
"name": "John Doe",
"email": "[email protected]",
"unitId": 1,
"isExternalParam": false
}Поле
Тип
Обязательное
Описание
Last updated
Was this helpful?
{
"name": "John Doe",
"email": "[email protected]",
"unitId": 1,
"isExternalParam": false
}Last updated
Was this helpful?
Was this helpful?
{
"id": 432,
"createdAt": "2024-04-09T11:43:18.461Z",
"updatedAt": "2024-04-09T11:43:18.461Z",
"clientId": 458,
"uuid": "8b4dc367-25d0-42cb-ab1a-a97ee739c572",
"email": "[email protected]",
"phone": null,
"name": "John Doe",
"rootUnitId": 102,
"unitId": 635,
"wallets": [],
"labels": []
}{
"statusCode": 400,
"message": "Counterparty already exists"
}{
"statusCode": 404,
"message": "Unit not found"
}{
"statusCode": 401,
"message": "ApiKey: undefined unauthorized",
"error": "Unauthorized"
}{
"statusCode": 500,
"message": "Internal server error"
}