<!--
{
  "availability" : [
    "App Store Server API: 1.25.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppStoreServerAPI",
  "identifier" : "/documentation/AppStoreServerAPI/advancedCommerceRevokedSeatQuantity",
  "metadataVersion" : "0.1.0",
  "role" : "Type",
  "symbol" : {
    "kind" : "Type",
    "modules" : [
      "App Store Server API"
    ],
    "preciseIdentifier" : "data:app_store_server_api:advancedCommerceRevokedSeatQuantity"
  },
  "title" : "advancedCommerceRevokedSeatQuantity"
}
-->

# advancedCommerceRevokedSeatQuantity

The number of seats that a refund revoked from an Advanced Commerce subscription.

```
int32 advancedCommerceRevokedSeatQuantity
```

## Discussion

> Important:
> Multiseat purchases with the Advanced Commerce API are only available in the sandbox environment.

The `revokedSeatQuantity` field of [`advancedCommerceRefund`](/documentation/AppStoreServerAPI/advancedCommerceRefund) uses this type. It’s present when a refund revokes some, but not all, of the seats of a subscription that a customer buys as a multiseat purchase.

To revoke seats, call the <doc://com.apple.documentation/documentation/AdvancedCommerceAPI/Revoke-Subscription> endpoint and specify the <doc://com.apple.documentation/documentation/AdvancedCommerceAPI/revokeSeatQuantity>. The App Store then sends a `REFUND` notification. If the subscription remains active with its remaining seats, the notification has a subtype of `SEATS`. If the request revokes every seat, the notification has no subtype. For more information, see <doc://com.apple.documentation/documentation/AppStoreServerNotifications/subtype>.

---

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)