Skip to main content
PATCH
/
people
/
{personId}
Update a person
curl --request PATCH \
  --url https://api.equalsmoney.com/v2/people/{personId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "accountId": "F50091",
  "firstName": "Dolly",
  "lastName": "Parton",
  "title": "Mrs",
  "middleInitials": "R",
  "dob": "1946-01-19",
  "gender": "Female",
  "nationality": "US",
  "nationalities": [
    "GB",
    "US"
  ],
  "countryOfResidence": "US",
  "primaryMobileNumber": "+447798121212",
  "emailTheme": "em-light",
  "transactionalEmailPreference": true,
  "locale": "en-GB"
}
'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "firstName": "Dolly",
  "lastName": "Parton",
  "title": "Master",
  "middleInitials": "R",
  "dob": "1946-01-19",
  "gender": "Female",
  "nationality": "US",
  "nationalities": [
    "GB"
  ],
  "countryOfResidence": "US",
  "primaryMobileNumber": "+447798121212",
  "primaryEmailAddress": "test@equalsqa.com",
  "avatar": {
    "url": "string",
    "fileName": "string"
  },
  "sendInvite": true,
  "roleId": "7382d58e-652a-4905-b7c9-bcca1e0e5391",
  "verifyEmailAddress": true,
  "verifyMobileNumber": true,
  "sub": "8e214819-5c83-429f-a976-eb127a0a8a88 or auth0|12345a6b7890c1def1234dg5",
  "hasPeopleCard": true,
  "card": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  },
  "status": "active",
  "locale": "en-GB",
  "productId": "3ef24d53-6e22-4103-a16b-d268e4f7346d",
  "avatarId": "ac572b6e-802b-4b9e-a602-0786d4441e67",
  "avatarCdnUrl": "string",
  "emailTheme": "string",
  "preferred2FAMethod": "whatsapp",
  "persona": {},
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}

Authorizations

Authorization
string
header
required

Path Parameters

personId
string<uuid>
required

The ID of the person to work with.

Maximum string length: 36
Example:

"775596ae-2624-40af-a9dc-9756110a4a04"

Body

application/json

Body

accountId
string

The ID of the account to work with.

Example:

"F50091"

firstName
string
Maximum string length: 256
Example:

"Dolly"

lastName
string
Maximum string length: 256
Example:

"Parton"

title
enum<string> | null
Available options:
Master,
Mr,
Miss,
Mrs,
Ms,
Mx
Example:

"Mrs"

middleInitials
string | null
Maximum string length: 10
Example:

"R"

dob
string | null

Date of birth

Example:

"1946-01-19"

gender
string | null
Maximum string length: 20
Example:

"Female"

nationality
string | null
deprecated
Maximum string length: 256
Example:

"US"

nationalities
enum<string>[]

Array of ISO 3166-1 alpha-2 country codes representing person nationalities

Available options:
AD,
AE,
AF,
AG,
AI,
AL,
AM,
AO,
AQ,
AR,
AS,
AT,
AU,
AW,
AX,
AZ,
BA,
BB,
BD,
BE,
BF,
BG,
BH,
BI,
BJ,
BL,
BM,
BN,
BO,
BQ,
BR,
BS,
BT,
BV,
BW,
BY,
BZ,
CA,
CC,
CD,
CF,
CG,
CH,
CI,
CK,
CL,
CM,
CN,
CO,
CR,
CU,
CV,
CW,
CX,
CY,
CZ,
DE,
DJ,
DK,
DM,
DO,
DZ,
EC,
EE,
EG,
EH,
ER,
ES,
ET,
FI,
FJ,
FK,
FM,
FO,
FR,
GA,
GB,
GD,
GE,
GF,
GG,
GH,
GI,
GL,
GM,
GN,
GP,
GQ,
GR,
GS,
GT,
GU,
GW,
GY,
HK,
HM,
HN,
HR,
HT,
HU,
ID,
IE,
IL,
IM,
IN,
IO,
IQ,
IR,
IS,
IT,
JE,
JM,
JO,
JP,
KE,
KG,
KH,
KI,
KM,
KN,
KP,
KR,
KW,
KY,
KZ,
LA,
LB,
LC,
LI,
LK,
LR,
LS,
LT,
LU,
LV,
LY,
MA,
MC,
MD,
ME,
MF,
MG,
MH,
MK,
ML,
MM,
MN,
MO,
MP,
MQ,
MR,
MS,
MT,
MU,
MV,
MW,
MX,
MY,
MZ,
NA,
NC,
NE,
NF,
NG,
NI,
NL,
NO,
NP,
NR,
NU,
NZ,
OM,
PA,
PE,
PF,
PG,
PH,
PK,
PL,
PM,
PN,
PR,
PS,
PT,
PW,
PY,
QA,
RE,
RO,
RS,
RU,
RW,
SA,
SB,
SC,
SD,
SE,
SG,
SH,
SI,
SJ,
SK,
SL,
SM,
SN,
SO,
SR,
SS,
ST,
SV,
SX,
SY,
SZ,
TC,
TD,
TF,
TG,
TH,
TJ,
TK,
TL,
TM,
TN,
TO,
TR,
TT,
TV,
TW,
TZ,
UA,
UG,
UM,
US,
UY,
UZ,
VA,
VC,
VE,
VG,
VI,
VN,
VU,
WF,
WS,
XK,
YE,
YT,
ZA,
ZM,
ZW
Example:
["GB", "US"]
countryOfResidence
string | null
Maximum string length: 256
Example:

"US"

primaryMobileNumber
string | null
Maximum string length: 50
Example:

"+447798121212"

emailTheme
enum<string>
Available options:
em-light,
em-dark
Example:

"em-light"

transactionalEmailPreference
boolean | null

Indicates whether all the associated personas have opted to receive the emails or not.

Example:

true

locale
enum<string>

Determines customer communication language. emails, notifications, etc.

Available options:
en-GB
Example:

"en-GB"

Response

200 - application/json

OK

id
string<uuid>
required
firstName
string
required
Maximum string length: 256
Example:

"Dolly"

lastName
string
required
Maximum string length: 256
Example:

"Parton"

middleInitials
string | null
required
Maximum string length: 10
Example:

"R"

dob
string | null
required
Example:

"1946-01-19"

gender
string | null
required
Maximum string length: 20
Example:

"Female"

nationality
string | null
required
deprecated
Maximum string length: 256
Example:

"US"

countryOfResidence
string | null
required
Maximum string length: 256
Example:

"US"

primaryEmailAddress
string
required
Maximum string length: 256
Example:

"test@equalsqa.com"

status
enum<string>
required
Available options:
active,
deactivated,
kycReferred,
rejected
locale
enum<string> | null
required

Determines customer communication language. emails, notifications, etc.

Available options:
en-GB
Example:

"en-GB"

productId
string<uuid>
required

The ID of the product to work with.

Maximum string length: 36
Example:

"3ef24d53-6e22-4103-a16b-d268e4f7346d"

avatarId
string<uuid> | null
required
avatarCdnUrl
string | null
required
preferred2FAMethod
enum<string> | null
required
Available options:
whatsapp,
sms
createdAt
string<date-time>
required

The date the Resource was initially created. ISO 8601 format without milliseconds.

updatedAt
string<date-time>
required

The date the Resource was last modified. ISO 8601 format without milliseconds.

title
enum<string> | null
Available options:
Master,
Mr,
Miss,
Mrs,
Ms,
Mx
nationalities
enum<string>[] | null

Array of ISO 3166-1 alpha-2 country codes representing person nationalities

Available options:
AD,
AE,
AF,
AG,
AI,
AL,
AM,
AO,
AQ,
AR,
AS,
AT,
AU,
AW,
AX,
AZ,
BA,
BB,
BD,
BE,
BF,
BG,
BH,
BI,
BJ,
BL,
BM,
BN,
BO,
BQ,
BR,
BS,
BT,
BV,
BW,
BY,
BZ,
CA,
CC,
CD,
CF,
CG,
CH,
CI,
CK,
CL,
CM,
CN,
CO,
CR,
CU,
CV,
CW,
CX,
CY,
CZ,
DE,
DJ,
DK,
DM,
DO,
DZ,
EC,
EE,
EG,
EH,
ER,
ES,
ET,
FI,
FJ,
FK,
FM,
FO,
FR,
GA,
GB,
GD,
GE,
GF,
GG,
GH,
GI,
GL,
GM,
GN,
GP,
GQ,
GR,
GS,
GT,
GU,
GW,
GY,
HK,
HM,
HN,
HR,
HT,
HU,
ID,
IE,
IL,
IM,
IN,
IO,
IQ,
IR,
IS,
IT,
JE,
JM,
JO,
JP,
KE,
KG,
KH,
KI,
KM,
KN,
KP,
KR,
KW,
KY,
KZ,
LA,
LB,
LC,
LI,
LK,
LR,
LS,
LT,
LU,
LV,
LY,
MA,
MC,
MD,
ME,
MF,
MG,
MH,
MK,
ML,
MM,
MN,
MO,
MP,
MQ,
MR,
MS,
MT,
MU,
MV,
MW,
MX,
MY,
MZ,
NA,
NC,
NE,
NF,
NG,
NI,
NL,
NO,
NP,
NR,
NU,
NZ,
OM,
PA,
PE,
PF,
PG,
PH,
PK,
PL,
PM,
PN,
PR,
PS,
PT,
PW,
PY,
QA,
RE,
RO,
RS,
RU,
RW,
SA,
SB,
SC,
SD,
SE,
SG,
SH,
SI,
SJ,
SK,
SL,
SM,
SN,
SO,
SR,
SS,
ST,
SV,
SX,
SY,
SZ,
TC,
TD,
TF,
TG,
TH,
TJ,
TK,
TL,
TM,
TN,
TO,
TR,
TT,
TV,
TW,
TZ,
UA,
UG,
UM,
US,
UY,
UZ,
VA,
VC,
VE,
VG,
VI,
VN,
VU,
WF,
WS,
XK,
YE,
YT,
ZA,
ZM,
ZW
primaryMobileNumber
string | null
Maximum string length: 50
Example:

"+447798121212"

avatar
object
sendInvite
boolean

Send the invite now

roleId
string<uuid>
verifyEmailAddress
boolean
default:true
verifyMobileNumber
boolean
default:true
sub
string | null

The Cognito ID of the person to work with.

Maximum string length: 256
Example:

"8e214819-5c83-429f-a976-eb127a0a8a88 or auth0|12345a6b7890c1def1234dg5"

hasPeopleCard
boolean

Indicates whether this person has an individual card.

card
object

The individual card object if the person has an individual card

emailTheme
string | null
Maximum string length: 32
persona
object