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

# presentMultiSeatInvitationSheet(from:originalTransactionID:)

Presents the Apple-owned multi-seat invitation sheet from a window, so a
subscriber can invite others to join their subscription.

```
@MainActor static func presentMultiSeatInvitationSheet(from window: NSWindow, originalTransactionID: UInt64) async throws
```

## Parameters

`window`

The `NSWindow` that StoreKit uses to display the sheet. The
window must be visible.

`originalTransactionID`

The original transaction identifier of the
multi-seat subscription being shared.

## Discussion

Use this method to let a subscriber invite people to join their
multi-seat subscription from within your app. The sheet handles contact
selection and invitation delivery. To display the sheet using SwiftUI,
see `multiSeatInvitationSheet(isPresented:originalTransactionID:onCompletion:)`.

This method completes when the sheet is dismissed. It returns
normally if the subscriber completes the invitation flow, and throws
[`StoreKitError.userCancelled`](/documentation/StoreKit/StoreKitError/userCancelled) if the subscriber dismisses the sheet
without completing it. Your app doesn’t receive details about the
invitations the subscriber sends.

> Throws: ``doc://com.apple.storekit/documentation/StoreKit/StoreKitError/userCancelled`` if the subscriber 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.

---

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)