Updates the member personal details of the currently authenticated member

Full personalDetails object from GetMember containing updated values must be sent to this endpoint. If field is not provided then it's considered that it must be cleared.

Note: currently Vista Loyalty doesn't support clearing fields. Also enum fields don't support setting value 0 where it is equivalent of clearing field (e.g. NotSpecified)

Licenses Required

  • Vista.Ocapi
Request
header Parameters
loyaltySessionToken
string

Current Loyalty session token, represents a 'signed-in' member

Connect-Region-Code
string

Region Code

Request Body schema:
required

Member personal details to update

required
object (PersonName)

Represents the parts of a person's name

required
object (MemberContactDetails)

Represents the contact details of a member

required
Array of objects (MemberInterestSubscription)

Gets the list of member interest subscription entities

required
object (MemberPreferences)

Represents preferences of a member

birthDate
string or null <date-time>

Gets the date of birth, if known

maritalStatus
required
string (MemberMaritalStatus)

Represents the marital status of a member

Enum: "NotSpecified" "Single" "Married" "Partnered" "Divorced" "Other"
gender
required
string (MemberGender)

Represents the gender of a member

Enum: "NotSpecified" "Male" "Female" "Other"
educationLevelId
integer or null <int32>

Gets the unique identifier of the education level, if known

occupationId
integer or null <int32>

Gets the unique identifier of the occupation, if known

householdPersonCount
integer or null <int32>

Gets the number of people living in the household, if known

nationalId
string or null

Gets the national unique identifier, if known

externalId
string or null

Gets the unique identifier used in a previous loyalty system, if known

Responses
204

Member personal details updated.

400

Request property is invalid or missing.

401

No member authenticated.

put/ocapi/v1/members/current/personal-details
Request samples
{
  • "name": {
    },
  • "contactDetails": {
    },
  • "interestSubscriptions": [
    ],
  • "preferences": {
    },
  • "birthDate": "2019-08-24T14:15:22Z",
  • "maritalStatus": "NotSpecified",
  • "gender": "NotSpecified",
  • "educationLevelId": 0,
  • "occupationId": 0,
  • "householdPersonCount": 0,
  • "nationalId": "string",
  • "externalId": "string"
}