---
title: "Sets the subscription sharing details of a member friend"
method: PUT
path: "/ocapi/v1/members/current/friends/{id}/subscription-sharing"
tags: ["Members", "Friends"]
---

# Sets the subscription sharing details of a member friend

`PUT /ocapi/v1/members/current/friends/{id}/subscription-sharing`

## Request

- Base URL: `https://developer.vista.co` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.vista.co/ocapi/v1/members/current/friends/{id}/subscription-sharing`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vista/apis/vista-digital-platform/docs/ocapi/v1/members/current/friends/:id/subscription-sharing/put.ts> (a function with typed inputs; its response is checked against the schema)

#### Licenses Required


- Vista.Ocapi
- Vista.Loyalty.Friends

## Path parameters

- `id` string, uuid, required

## Headers

- `loyaltySessionToken` string
- `Connect-Region-Code` string

## Request body

- OcapiV1LoyaltyMembersFriendsMemberFriendSubscriptionSharingUpdate: Represents the values needed to set the member friend subscription sharing of a member friend
  - `friendCanUseMemberSubscription` boolean, required: Gets a value indicating whether the member friend can use the member entity's member subscription

## Response `204`

Friend subscription sharing updated.

## Other responses

- `400`: Request property is invalid or missing, or member cannot share subscription.
- `401`: No member authenticated.
- `404`: Friend does not exist.

---

[API](https://skmtc.dev/vista/apis/vista-digital-platform.md) - [All operations](https://skmtc.dev/vista/apis/vista-digital-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/vista/apis/vista-digital-platform/revisions/c46f30854000?raw)
