<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/Transaction/purchasedQuantity",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit11TransactionV17purchasedQuantitySivp"
  },
  "title" : "purchasedQuantity"
}
-->

# purchasedQuantity

The number of purchased seats or consumable products.

```
let purchasedQuantity: Int
```

## Discussion

For a multiseat subscription, the value is the number of seats that the transaction covers. When the group purchaser adds seats partway through a period, the transaction for the addition covers only the added seats; for more information, see [`additionalTransactionReason`](/documentation/StoreKit/Transaction/additionalTransactionReason-swift.property). With Apple-hosted invitations, a group member’s transaction has the same value as the group purchaser’s.

---

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)