Skip to content

MngAddCustomer

Creates a customer.

Request

{
  "command": "MngAddCustomer",
  "extID": "1",
  "data": {
    "email": "[email protected]",
    "password": "strong-password",
    "full_name": "John Smith",
    "type": 0,
    "status": 0
  }
}

Response Data

{
  "customer": {
    "customer_id": 1,
    "email": "[email protected]",
    "full_name": "John Smith",
    "type": 0,
    "status": 0,
    "enable": 1,
    "enable_otp": 0
  }
}