user guide
×
Меню
Индекс

Adding a new user

 
Action: sales_unit_add
 
The request should look like this:
 
{
    "data":
    [
        {
            "manager":
            {
                "email":"[email protected]",
                "name":"ewwewe",
                "admin":1,
                "code1c":"2q2w212",
                "phone":"+38 (050) 111-22-33",
                "id":582
            }
        },
        {
            "roles":
            {
              "0":"7",
              "1":"8"
            }
        }
        
        
    ]
}