Current Loyalty session token, represents a 'signed-in' member
Vista Digital Platform (V1)
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/rewards
- cURL
- JavaScript
- Node.js
curl -i -X GET \
https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/rewards \
-H 'Connect-Region-Code: string' \
-H 'loyaltySessionToken: string'Success
Gets the list of member reward entities
Gets the quantity available to the member
Gets the related data for the member reward entities
Gets the list of related reward entities
Gets the name text, and its translations
Gets the translations of the translatable Text in other languages
Gets the description text, and its translations
Gets the balance cost of redeeming the reward
Gets the type
Gets the name text, and its translations
Gets the unique identifier of the associated loyalty item
Gets the maximum quantity available to a member per order base
Gets the maximum quantity available to a member per showtime
Represents the base properties that describe the calculation of a discount
Represents a percentage-off type of discount calculation base
Gets the list of related loyalty item entities
Gets the name text, and its translations
Gets the translations of the translatable Text in other languages
{ "memberRewards": [ { … } ], "relatedData": { "rewards": [ … ], "items": [ … ] } }
Request
member reward availability entities are returned only for reward entities where reward Restrictions includes reward restriction MemberRewardAvailability
The number of member reward availability entities returned are subject to a configured limit. If exceeded, the member reward availability entities returned are automatically truncated to the configured limit.
- Vista.Ocapi
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/reward-availability/by-showtime/{showtimeId}
- cURL
- JavaScript
- Node.js
curl -i -X GET \
'https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/reward-availability/by-showtime/{showtimeId}?rewardIds=0' \
-H 'Connect-Region-Code: string' \
-H 'loyaltySessionToken: string'Success
Gets the list of member reward availability entities
Gets the unique identifier of the reward
Gets the list of member reward ticket type availability entities
Gets the unique identifier of the ticket type base
Gets a value indicating whether the member reward is available for the ticket type base
Gets the quantity available to the member for the ticket type base
{ "memberRewardAvailabilities": [ { … } ] }