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
Request
- Base URLhttps://developer.vista.co (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
loyaltySessionTokenstring
Current Loyalty session token, represents a 'signed-in' member
Connect-Region-Codestring
Region Code
Request body
Response
Success
Changes
No recorded changes to this operation across all 5 revisions of this API.