Users

(ms.users)

It allows you to perform recurring charges and track multiple charges that are associated with the same user.



Fields

Value Description
first_name   
Type: string
First name of the user.
Dennis
last_name   
Type: string
Last name of the user.
Richie
email   
Type: string
Required
Email address of the user.
dennis.richie@gmail.com
password   
Type: string
Password of user in encrypted form.
************
created_on   
Type: datetime
Date and time of addition of the user.
2014-08-26T12:09:05.008Z
use_temporary_password   
Type: string
Enable the field, if you want to enable automatic generation of temporary password when you add a new user.
0
image   
Type: file
Image of the user is uploaded here.
http://example.com/burton.jpg
dob   
Type: date
The date of birth of the user.
04/23/1990
phone   
Type: string
Contact number of the user.
8895656388
gender   
Type: string
Gender of the user.
Female
active   
Type: string
Enable the flag, if the user is active. It is checked by default but if the user is inactive, you can disable it.
1
orders   
Type: relation
customer_groups   
Type: array
This field holds the names of groups to which a customer belongs.
{
  "customer_groups": ["retailers", "distributors"]
}
phone_verified   
Type: string
Enable this flag, if the phone number of the user is verified.
1
role   
Type: string
Roles are the set of permissions for a specific user.
seller
mobile_otp   
Type: string
client_details   
Type: object
This object contains the detail of system of the user.
device
Type: string
The device of the user.
language
Type: string
The language in which the user is using the store.
substore
Type: string
The substore which is being used by the user.
wallets   
Type: object
StoreCredit
Type: string

Commands (Endpoints)

POST /api/1/entity/ms.users   
Creates a new user
DEL /api/1/entity/ms.users/{resource_id}   
Deletes a user
PUT /api/1/entity/ms.users/{resource_id}   
Updates an existing user
GET /api/1/entity/ms.users/{resource_id}   
Retrieves a single user
GET /api/1/entity/ms.users   
Retrieves a list of users
default_sort
excludeHistory