Region Code
Vista Digital Platform (V1)
Download OpenAPI description
Languages
Servers
Mock server
https://developer.vista.co/_mock/openapi/digital-platform/openapi
Body
- application/json
- text/json
- application/*+json
- application/json-patch+json
The values needed to create the member friend code
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/friend-code
- cURL
- JavaScript
- Node.js
- application/json
- text/json
- application/*+json
- application/json-patch+json
curl -i -X POST \
https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/friend-code \
-H 'Connect-Region-Code: string' \
-H 'Content-Type: application/json' \
-H 'loyaltySessionToken: string' \
-d '{
"friendCanUseMemberSubscription": true
}'Response
application/json
{ "friendCode": "string", "expiresAt": "2019-08-24T14:15:22Z" }
Bodyrequired
- application/json
- text/json
- application/*+json
- application/json-patch+json
The values needed to create the member friend
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/friends/code
- cURL
- JavaScript
- Node.js
- application/json
- text/json
- application/*+json
- application/json-patch+json
curl -i -X POST \
https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/friends/code \
-H 'Connect-Region-Code: string' \
-H 'Content-Type: application/json' \
-H 'loyaltySessionToken: string' \
-d '{
"friendCode": "string"
}'Success
Gets the member friend entity
Gets the name
Gets the subscription sharing details
Gets a value indicating whether the member friend can use the member entity's member subscription
Gets the list of member friend subscription entities that the member can use
Gets the related data for the member friend entity
Gets the list of related subscription entities
Gets the name text, and its translations
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the minimum number of number of months required for the subscription term
Response
application/json
{ "friend": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": { … }, "photo": { … }, "subscriptionSharing": { … }, "createdAt": "2019-08-24T14:15:22Z" }, "relatedData": { "subscriptions": [ … ] } }