<!--
{
  "availability" : [
    "macOS: 27.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/AppStore/presentMultiSeatInvitationSheet(from:subscriptionGroupID:)-ni0z",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit03AppA0O31presentMultiSeatInvitationSheet4from19subscriptionGroupIDySo8NSWindowC_SStYaKFZ"
  },
  "title" : "presentMultiSeatInvitationSheet(from:subscriptionGroupID:)"
}
-->

# presentMultiSeatInvitationSheet(from:subscriptionGroupID:)

Presents the invitation sheet that the group purchaser uses to invite people to join a multiseat subscription.

```
@MainActor static func presentMultiSeatInvitationSheet(from window: NSWindow, subscriptionGroupID: String) async throws
```

## Parameters

`window`

The window that StoreKit uses to present the sheet. The window needs to be visible.

`subscriptionGroupID`

The identifier of the subscription group that contains the multiseat subscription.

## Discussion> Throws: ``doc://com.apple.storekit/documentation/StoreKit/StoreKitError/userCancelled`` if the group purchaser dismisses the sheet without completing the invitation flow, ``doc://com.apple.storekit/documentation/StoreKit/StoreKitError/invalidPresentationContext`` if the window isn’t visible, or another error if the system can’t present the sheet.

## Discussion

Use this method to let the group purchaser invite people to join their multiseat subscription from within your app, for a subscription that uses Apple-hosted invitations. For a subscription that uses developer-hosted invitations, the method throws an error. The sheet handles choosing contacts and sending invitations, and your app doesn’t receive details about the invitations that the group purchaser sends.

The method completes when the sheet is dismissed. It returns normally if the group purchaser completes the invitation flow.

After a multiseat purchase, the system presents the sheet automatically unless you turn it off with [`multiSeatInvitationSheetSuppressed(_:)`](/documentation/StoreKit/Product/PurchaseOption/multiSeatInvitationSheetSuppressed(_:)). To present the sheet in SwiftUI, use the <doc://com.apple.documentation/documentation/SwiftUI/View/multiSeatInvitationSheet(isPresented:subscriptionGroupID:onCompletion:)> view modifier.

For more information, see [Supporting multiseat purchases in your app](/documentation/StoreKit/supporting-multiseat-purchases-in-your-app).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)