Skip to content

Show Perks

GET
/reference-data/perk/list
curl --request GET \
--url https://api.wink.travel/reference-data/perk/list \
--header 'Wink-Version: 2.0'

Retrieve list of perks

Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json
Array<object>
object
identifier
required

Enum identifier identifier for this perk. Makes the persistent version backwards compatible.

string
"" >= 1 characters
guaranteed

Whether perk is guaranteed or not.

boolean
level

The platform value of this perk.

integer format: int32
""
descriptions
required

Localized description for this perk

Array<object>
"" >= 1 items
object
name
required

Use as title or short text description

string
""
description
required

Longer text description

string
"" >= 1 characters <= 2147483647 characters
language
required

Indicate which language this description is written in.

string
default: en >= 2 characters <= 2 characters
sort

This is how perks get sorted when in a list

integer format: int32
""
Example
[
{
"identifier": "",
"guaranteed": false,
"level": "",
"descriptions": "",
"sort": ""
}
]

Bad Request

object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com",
"properties": {
"additionalProperty": "example"
}
}

Unauthorized

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Forbidden

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Internal Server Error

object
Example generated
{}