Skip to main content
POST
/
preorder-admin-users
Create preorder admin user
curl --request POST \
  --url https://api.zochil.io/v3/monitoring/preorder-admin-users \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "phone": "99111111",
  "email": "[email protected]",
  "full_name": "Preorder Admin User",
  "pin_code": "1234"
}
'
{
  "data": {
    "id": 123
  }
}

Authorizations

access-token
string
header
required

Body

application/json
phone
string
required

Phone number

Example:

"99111111"

email
string<email>
required

Email address

full_name
string
required

Full name

Example:

"Preorder Admin User"

pin_code
string
required

PIN code for authentication

Example:

"1234"

Response

200 - application/json

Preorder admin user created successfully

data
object