v1

latestOpenAPI 3.0.12026-08-06135498863.0 KB
Members
Friends

Creates a friend code for the currently authenticated Loyalty member

A friend code can be redeemed by another member to create a member friend

Licenses Required

  • Vista.Ocapi
  • Vista.Loyalty.Friends
post/ocapi/v1/members/current/friend-code

Headers

loyaltySessionTokenstring

Current Loyalty session token, represents a 'signed-in' member

Connect-Region-Codestring

Region Code

Request body

friendCanUseMemberSubscriptionboolean required

Gets a value indicating whether the created member friend can use the member entity's member subscription

Response

Success

friendCodestring required

Gets the friend code

expiresAtstring date-time required

Gets the date and time that the friend code expires