Skip to main content
Version: 1.0.0

Update Customer

PATCH 

/customer-account

This is used to update customer details.

Request

Body

    customerNumber stringrequired

    Possible values: <= 20 characters

    Customer number of the customer account which wants to amend.

    firstName string

    Possible values: non-empty and <= 200 characters

    First name

    lastName string

    Possible values: non-empty and <= 200 characters

    Last name

    passportNumber string

    Possible values: non-empty and <= 15 characters

    Passport number

    nin string

    Possible values: non-empty and <= 15 characters

    National id number

    drivingLicense string

    Possible values: non-empty and <= 50 characters

    Driving license

    homeTel string

    Possible values: Value must match regular expression ^\+[1-9]\d{1,14}$

    Home telephone number

    officeTel string

    Possible values: Value must match regular expression ^\+[1-9]\d{1,14}$

    Office telephone number

    mobile string

    Possible values: Value must match regular expression ^\+[1-9]\d{1,14}$

    Mobile number

    email string <email>

    Possible values: non-empty and <= 50 characters

    Email

    profession string

    Profession

    address1 string

    Possible values: non-empty and <= 200 characters

    address2 string

    Possible values: non-empty and <= 200 characters

    city string

    Possible values: non-empty and <= 250 characters

    City

    countryCode string

    Possible values: non-empty and <= 5 characters

    Find country codes here

    gender string

    Possible values: [M, F, -1]

    M-Male | F-Female | -1-rather not say

    birthDate string

    Possible values: Value must match regular expression yyyy/MM/dd

    Birth date

    nationality string

    Possible values: non-empty and <= 5 characters

    Find country codes here

Responses

OK

Schema
    status stringrequired

    Possible values: non-empty, [SUCCESS, FAILED]

    reason string

    Possible values: non-empty

    rejectCode number

    Find error codes here)

    customerNumber string

    Customer account number

Loading...
Is this page helpful for you?