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/friends/{id}
- cURL
- JavaScript
- Node.js
curl -i -X DELETE \
'https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/friends/{id}' \
-H 'Connect-Region-Code: string' \
-H 'loyaltySessionToken: string'- application/json
- text/json
- application/*+json
- application/json-patch+json
The values needed to update the subscription sharing details of a member friend
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/friends/{id}/subscription-sharing
- cURL
- JavaScript
- Node.js
- application/json
- text/json
- application/*+json
- application/json-patch+json
curl -i -X PUT \
'https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/friends/{id}/subscription-sharing' \
-H 'Connect-Region-Code: string' \
-H 'Content-Type: application/json' \
-H 'loyaltySessionToken: string' \
-d '{
"friendCanUseMemberSubscription": true
}'- 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": [ … ] } }