Sets the subscription sharing details of a member friend

Licenses Required

  • Vista.Ocapi
  • Vista.Loyalty.Friends
Request
path Parameters
id
required
string <uuid>
header Parameters
loyaltySessionToken
string

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

Connect-Region-Code
string

Region Code

Request Body schema:
required

The values needed to update the subscription sharing details of a member friend

friendCanUseMemberSubscription
required
boolean

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

Responses
204

Friend subscription sharing updated.

400

Request property is invalid or missing, or member cannot share subscription.

401

No member authenticated.

404

Friend does not exist.

put/ocapi/v1/members/current/friends/{id}/subscription-sharing
Request samples
{
  • "friendCanUseMemberSubscription": true
}