<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "swift: 4.2.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKFetchSubscriptionsOperation/subscriptionIDs-17f4q",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "s:So29CKFetchSubscriptionsOperationC8CloudKitE15subscriptionIDsSaySSGSgvp"
  },
  "title" : "subscriptionIDs"
}
-->

# subscriptionIDs

The IDs of the subscriptions to fetch.

```
var subscriptionIDs: [CKSubscription.ID]? { get set }
```

## Discussion

Use this property to view or change the IDs of the subscriptions to fetch. Each element of the array is a string that represents the ID of a subscription. If you intend to modify this property’s value, do so before you execute the operation or submit it to a queue.

If you use the [`fetchAllSubscriptionsOperation()`](/documentation/CloudKit/CKFetchSubscriptionsOperation/fetchAllSubscriptionsOperation()) method to create the operation, CloudKit ignores this property’s value and sets it to `nil`.

---

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)