# Sets the subscription sharing details of a member friend

#### Licenses Required
- Vista.Ocapi
- Vista.Loyalty.Friends

Endpoint: PUT /ocapi/v1/members/current/friends/{id}/subscription-sharing
Version: V1

## Description:

  - `Licenses Required` ()
    Vista.OcapiVista.Loyalty.Friends

## Path parameters:

  - `id` (string, required)

## Header parameters:

  - `loyaltySessionToken` (string)
    Current Loyalty session token, represents a 'signed-in' member

  - `Connect-Region-Code` (string)
    Region Code

## Request body:

  - `application/json, text/json, application/*+json, application/json-patch+json` (unknown)
    The values needed to update the subscription sharing details of a member friend

## Request fields (application/json):

  - `friendCanUseMemberSubscription` (boolean, required)
    Gets a value indicating whether the member friend can use the member entity's member subscription

## Response 204:

  - `204` (unknown)
    Friend subscription sharing updated.

## Response 400:

  - `400` (unknown)
    Request property is invalid or missing, or member cannot share subscription.

## Response 401:

  - `401` (unknown)
    No member authenticated.

## Response 404:

  - `404` (unknown)
    Friend does not exist.

