Create Account User

This API is used to add new user to the Shop.

Note:

  • API used for integration case as Partner.

  • API_KEY: <shop_key>

  • Partner base_url information

CreateAccountUser

post
Body
full_namestringOptional
passwordstringOptional

Roles []shop_user_role.UserRole json:"roles"

phonestringOptional
Responses
200

A successful response

application/json
post
$BASE_URL.Shop/CreateAccountUser
200

A successful response

Request:

Response:

Request body structure:

Parameters
Data type
Describe

full_name required

string

Employee Name

password

required

string

Login Password

phone

required

string

Phone number

Return data attribute structure:

Parameters
Data type
Describe

block_reason

string

Reason for Blocking

blocked_at

string<date-time>

Time blocked

created_at

string<date-time>

Initialization time

email

string

Email address

email_verification_sent_at

string<date-time>

Time to send verification email

email_verified_at

string<date-time>

Email verification time

full_name

string

Employee Name

id

string

Employee ID

is_blocked

boolean

Blocked status True False

phone

string

Phone number

phone_verification_sent_at

string<date-time>

Phone number verification sending time

phone_verified_at

string<date-time>

Phone number verification time

short_name

string

Short name

total_shop

int

Total number of shops owned

updated_at

string<date-time>

Update time

Last updated