<!--
{
  "availability" : [
    "iOS: 12.0.0 - 18.0.0",
    "iPadOS: 12.0.0 - 18.0.0",
    "macCatalyst: 13.1.0 - 18.0.0",
    "macOS: 10.14.0 - 15.0.0",
    "tvOS: 12.0.0 - 18.0.0",
    "visionOS: 1.0.0 - 2.0.0",
    "watchOS: 6.2.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKProduct/subscriptionGroupIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKProduct(py)subscriptionGroupIdentifier"
  },
  "title" : "subscriptionGroupIdentifier"
}
-->

# subscriptionGroupIdentifier

The identifier of the subscription group to which the subscription belongs.

```
var subscriptionGroupIdentifier: String? { get }
```

## Discussion

Auto-renewable subscriptions always belong to a subscription group. You create the subscription group identifiers in App Store Connect before you create and add an auto-renewable subscription. For more information about subscription groups, see [Offer auto-renewable subscriptions](https://help.apple.com/app-store-connect/#/dev75708c031).

This property is `nil` if the [`SKProduct`](/documentation/StoreKit/SKProduct) isn’t an auto-renewable subscription.

---

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)