Members
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
put/ocapi/v1/members/current/personal-details
Request
- Base URLhttps://developer.vista.co (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
loyaltySessionTokenstring
Current Loyalty session token, represents a 'signed-in' member
Connect-Region-Codestring
Region Code
Request body
Example request
{
"contactDetails": {
"address": {
"line1": "60 Khyber Pass Road",
"suburb": "Grafton",
"city": "Auckland",
"postCode": "1023",
"country": "New Zealand"
}
},
"preferences": {
"languageTag": "en-US"
}
}Response
Member personal details updated.
Changes
No recorded changes to this operation across all 5 revisions of this API.