Product Docs Help

users

Get the users of a merchant

GET method/users

Returns a list of users of a merchant

Request parameters

Responses

[ { "name": "Test-Name", "phonenumber": "Test-Phone integer", "email": "Test-Email", "username": "Test-Username", "password_old": "Test-Password old", "password_hashed": "Test-Password hashed", "company": "Test-Company", "street": "Test-Street", "postalcode": "Test-Postal code", "city": "Test-City", "country": "Test-Country", "mm3userrolesid": 0, "department": "Test-Department", "confirmationcode": "Test-Confirmation code", "smscode": "Test-Sms code", "createtime": "Test-Create time", "logintime": "Test-Login time", "activated": 0, "mm3customersid": 1000, "access_admin": 0, "mm3useraccountsid": 1000, "access_superadmin": 0, "access_distributor": 0, "access_external": 0, "mexcRolesid": 2, "access_level": 0, "mm3usersid": 1000, "agreedterms": 0, "mexcVehiclesid": 0, "phonenumber2": "Test-Phone integer 2", "lastlogin": "Test-Last login", "lastactivity": "Test-Last activity", "pushTokens": "Test-Push Tokens", "pushBadge": 0, "ownerPno": "Test-Owner pno" } ]

Place a user for a Merchant

POST method/users

Place a new user in the customers of a Merchant

Request parameters

{ "User": { "name": "Test-Name", "phonenumber": "Test-Phone integer", "email": "Test-Email", "username": "Test-Username", "password_old": "Test-Password old", "password_hashed": "Test-Password hashed", "company": "Test-Company", "street": "Test-Street", "postalcode": "Test-Postal code", "city": "Test-City", "country": "Test-Country", "mm3userrolesid": 0, "department": "Test-Department", "confirmationcode": "Test-Confirmation code", "smscode": "Test-Sms code", "createtime": "Test-Create time", "logintime": "Test-Login time", "activated": 0, "mm3customersid": 1000, "access_admin": 0, "mm3useraccountsid": 1000, "access_superadmin": 0, "access_distributor": 0, "access_external": 0, "mexcRolesid": 2, "access_level": 0, "mm3usersid": 1000, "agreedterms": 0, "mexcVehiclesid": 0, "phonenumber2": "Test-Phone integer 2", "lastlogin": "Test-Last login", "lastactivity": "Test-Last activity", "pushTokens": "Test-Push Tokens", "pushBadge": 0, "ownerPno": "Test-Owner pno" } }

Responses

{ "name": "Test-Name", "phonenumber": "Test-Phone integer", "email": "Test-Email", "username": "Test-Username", "password_old": "Test-Password old", "password_hashed": "Test-Password hashed", "company": "Test-Company", "street": "Test-Street", "postalcode": "Test-Postal code", "city": "Test-City", "country": "Test-Country", "mm3userrolesid": 0, "department": "Test-Department", "confirmationcode": "Test-Confirmation code", "smscode": "Test-Sms code", "createtime": "Test-Create time", "logintime": "Test-Login time", "activated": 0, "mm3customersid": 1000, "access_admin": 0, "mm3useraccountsid": 1000, "access_superadmin": 0, "access_distributor": 0, "access_external": 0, "mexcRolesid": 2, "access_level": 0, "mm3usersid": 1000, "agreedterms": 0, "mexcVehiclesid": 0, "phonenumber2": "Test-Phone integer 2", "lastlogin": "Test-Last login", "lastactivity": "Test-Last activity", "pushTokens": "Test-Push Tokens", "pushBadge": 0, "ownerPno": "Test-Owner pno" }

Find user by mm3useraccountsid

GET method/users/{mm3useraccountsid}

Returns a single user

Request parameters

Responses

{ "name": "Test-Name", "phonenumber": "Test-Phone integer", "email": "Test-Email", "username": "Test-Username", "password_old": "Test-Password old", "password_hashed": "Test-Password hashed", "company": "Test-Company", "street": "Test-Street", "postalcode": "Test-Postal code", "city": "Test-City", "country": "Test-Country", "mm3userrolesid": 0, "department": "Test-Department", "confirmationcode": "Test-Confirmation code", "smscode": "Test-Sms code", "createtime": "Test-Create time", "logintime": "Test-Login time", "activated": 0, "mm3customersid": 1000, "access_admin": 0, "mm3useraccountsid": 1000, "access_superadmin": 0, "access_distributor": 0, "access_external": 0, "mexcRolesid": 2, "access_level": 0, "mm3usersid": 1000, "agreedterms": 0, "mexcVehiclesid": 0, "phonenumber2": "Test-Phone integer 2", "lastlogin": "Test-Last login", "lastactivity": "Test-Last activity", "pushTokens": "Test-Push Tokens", "pushBadge": 0, "ownerPno": "Test-Owner pno" }

Delete a user

DELETE method/users/{mm3useraccountsid}

Removes a user. Please note that the user isn't deleted but rather set to inactive.

Request parameters

Responses

{ "name": "Test-Name", "phonenumber": "Test-Phone integer", "email": "Test-Email", "username": "Test-Username", "password_old": "Test-Password old", "password_hashed": "Test-Password hashed", "company": "Test-Company", "street": "Test-Street", "postalcode": "Test-Postal code", "city": "Test-City", "country": "Test-Country", "mm3userrolesid": 0, "department": "Test-Department", "confirmationcode": "Test-Confirmation code", "smscode": "Test-Sms code", "createtime": "Test-Create time", "logintime": "Test-Login time", "activated": 0, "mm3customersid": 1000, "access_admin": 0, "mm3useraccountsid": 1000, "access_superadmin": 0, "access_distributor": 0, "access_external": 0, "mexcRolesid": 2, "access_level": 0, "mm3usersid": 1000, "agreedterms": 0, "mexcVehiclesid": 0, "phonenumber2": "Test-Phone integer 2", "lastlogin": "Test-Last login", "lastactivity": "Test-Last activity", "pushTokens": "Test-Push Tokens", "pushBadge": 0, "ownerPno": "Test-Owner pno" }

Update an existing user

PATCH method/users/{mm3useraccountsid}

Update an existing user by mm3useraccountsid

Request parameters

{ "User": { "name": "Test-Name", "phonenumber": "Test-Phone integer", "email": "Test-Email", "username": "Test-Username", "password_old": "Test-Password old", "password_hashed": "Test-Password hashed", "company": "Test-Company", "street": "Test-Street", "postalcode": "Test-Postal code", "city": "Test-City", "country": "Test-Country", "mm3userrolesid": 0, "department": "Test-Department", "confirmationcode": "Test-Confirmation code", "smscode": "Test-Sms code", "createtime": "Test-Create time", "logintime": "Test-Login time", "activated": 0, "mm3customersid": 1000, "access_admin": 0, "mm3useraccountsid": 1000, "access_superadmin": 0, "access_distributor": 0, "access_external": 0, "mexcRolesid": 2, "access_level": 0, "mm3usersid": 1000, "agreedterms": 0, "mexcVehiclesid": 0, "phonenumber2": "Test-Phone integer 2", "lastlogin": "Test-Last login", "lastactivity": "Test-Last activity", "pushTokens": "Test-Push Tokens", "pushBadge": 0, "ownerPno": "Test-Owner pno" } }

Responses

{ "name": "Test-Name", "phonenumber": "Test-Phone integer", "email": "Test-Email", "username": "Test-Username", "password_old": "Test-Password old", "password_hashed": "Test-Password hashed", "company": "Test-Company", "street": "Test-Street", "postalcode": "Test-Postal code", "city": "Test-City", "country": "Test-Country", "mm3userrolesid": 0, "department": "Test-Department", "confirmationcode": "Test-Confirmation code", "smscode": "Test-Sms code", "createtime": "Test-Create time", "logintime": "Test-Login time", "activated": 0, "mm3customersid": 1000, "access_admin": 0, "mm3useraccountsid": 1000, "access_superadmin": 0, "access_distributor": 0, "access_external": 0, "mexcRolesid": 2, "access_level": 0, "mm3usersid": 1000, "agreedterms": 0, "mexcVehiclesid": 0, "phonenumber2": "Test-Phone integer 2", "lastlogin": "Test-Last login", "lastactivity": "Test-Last activity", "pushTokens": "Test-Push Tokens", "pushBadge": 0, "ownerPno": "Test-Owner pno" }

Reses the users password and send a mail with a new login link

POST method/users/forgotpassword

Resets the users password and sends a mail with a new login link

Request parameters

{ "username": "username@example.com" }

Responses

Last modified: 13 September 2024