Loyalty
Returns reference master data required to build member management UIs
Changed onLicenses Required
- Vista.Ocapi
get/ocapi/v1/loyalty-master-data
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
Connect-Region-Codestring
Region Code
Response
Success
Example response
{
"clubs": [
{
"name": {
"translations": [
{
"languageTag": "en-US"
}
]
}
}
],
"customPreferences": [
{
"name": {
"translations": [
{
"languageTag": "en-US"
}
]
},
"options": [
{
"name": {
"translations": [
{
"languageTag": "en-US"
}
]
}
}
]
}
],
"educationLevels": [
{
"name": {
"translations": [
{
"languageTag": "en-US"
}
]
}
}
],
"genres": [
{
"name": {
"translations": [
{
"languageTag": "en-US"
}
]
}
}
],
"interests": [
{
"name": {
"translations": [
{
"languageTag": "en-US"
}
]
}
}
],
"interestContactMethods": [
{
"name": {
"translations": [
{
"languageTag": "en-US"
}
]
}
}
],
"occupations": [
{
"name": {
"translations": [
{
"languageTag": "en-US"
}
]
}
}
],
"sites": [
{
"contactDetails": {
"address": {
"line1": "60 Khyber Pass Road",
"line2": "Grafton",
"city": "Auckland 1023"
},
"addressV2": {
"line1": {
"translations": [
{
"languageTag": "en-US"
}
]
},
"line2": {
"translations": [
{
"languageTag": "en-US"
}
]
},
"line3": {
"translations": [
{
"languageTag": "en-US"
}
]
},
"line4": {
"translations": [
{
"languageTag": "en-US"
}
]
}
}
},
"ianaTimeZoneName": "America/New_York",
"name": {
"translations": [
{
"languageTag": "en-US"
}
]
}
}
]
}Changes
- warning
added the new
DiningLocationDeliveryenum value to the///response property for the response status - info
added the required property
////to the response with the status
- warning