Eic Crm User - thenibirahmed/wp-client-management GitHub Wiki

Get All EicCrmUser

Endpoint (GET)

/eic-crm-users

Get Single EicCrm User

Endpoint (GET)

/eic-crm-users/{id}

Create EicCrmUser

Endpoint (POST)

/eic-crm-user/create

Params

{
    user_login: '', // user name
    user_email: '', // email
    user_pass: '', // password
    phone: '', 
    address: '', 
    city: '',
    state: '', 
    zip: '',  
    contry: '',
    role: ''
    designation: '',
}

Update EicCrmUser

Endpoint (PUT/PATCH)

/eic-crm-user/update/{id}

Params

{
    user_login: '', // user name
    user_email: '', // email
    user_pass: '', // password
    phone: '', 
    address: '', 
    city: '',
    state: '', 
    zip: '',  
    contry: '',
    role: '',
    designation: '',
}

Delete EicCrmUser

Endpoint (DELETE)

/eic-crm-user/delete/{id}