UPDATE

Update an existing EyeLevel customer account

UPDATE

POST https://api.eyelevel.ai/v1/partner/customer/:apiKey

Path Parameters

NameTypeDescription

apiKey

string

EyeLevel customer key

Request Body

NameTypeDescription

customer

object

See request definition below

{
  "message": "OK"
}

Request

{
    "customer": {
        "email":        "STRING",
        "first":        "STRING",
        "last":         "STRING",
        "phone":        "STRING",
        "company":      "STRING",
        "companyUrl":   "STRING"
    }
}

email

REQUIRED - String

Validation: Valid and unique email

The EyeLevel customer email address. This email must be unique in the EyeLevel system.

first

OPTIONAL - String

Validation: Must be at least 1 character long

The EyeLevel customer given name.

last

OPTIONAL - String

Validation: Must be at least 1 character long

The EyeLevel customer family name.

phone

OPTIONAL - String

Validation: Value should be in following American format: +1XXXXXXXXXX

The EyeLevel customer phone number. This phone number must be unique in the EyeLevel system.

company

OPTIONAL - String

The EyeLevel customer company name.

companyUrl

OPTIONAL - String

The EyeLevel customer company website.

Response

{
  "message": "OK"
}

Objects

Last updated