<!--
{
  "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/AppStore",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit03AppA0O"
  },
  "title" : "AppStore"
}
-->

# AppStore

Interactions with the App Store, such as managing subscriptions, verifying devices, authorizing payments, synchronizing transactions, getting the environment, and more.

```
enum AppStore
```

## Overview

Use these static functions and variables to perform tasks like showing the manage subscriptions sheet, getting the device verification ID, determining whether users can make purchases, and more.

## Topics

### Checking the environment

[`Environment`](/documentation/StoreKit/AppStore/Environment)

Constants that represent the App Store server environment.

### Checking payment setup

[`canMakePayments`](/documentation/StoreKit/AppStore/canMakePayments)

A Boolean value that indicates whether the person can make purchases.

### Checking current age rating

[`ageRatingCode`](/documentation/StoreKit/AppStore/ageRatingCode)

The current age rating code for your app.

### Verifying devices

[`deviceVerificationID`](/documentation/StoreKit/AppStore/deviceVerificationID)

The device verification identifier to use to verify whether signed information is valid for the current device.

### Getting the platform

[`Platform`](/documentation/StoreKit/AppStore/Platform)

Values that represent Apple platforms.

### Managing subscriptions

[`showManageSubscriptions(in:)`](/documentation/StoreKit/AppStore/showManageSubscriptions(in:))

Presents the App Store sheet for managing subscriptions.

[`showManageSubscriptions(in:subscriptionGroupID:)`](/documentation/StoreKit/AppStore/showManageSubscriptions(in:subscriptionGroupID:))

Presents the App Store sheet for managing subscriptions for a subscription group.

### Requesting reviews

[`RequestReviewAction`](/documentation/StoreKit/RequestReviewAction)

An instance that tells StoreKit to request an App Store rating or review, if appropriate.

[`requestReview(in:)`](/documentation/StoreKit/AppStore/requestReview(in:)-1q8qs)

Tells StoreKit to request an App Store rating or review from the user, if appropriate, using the specified scene.                           

[`requestReview(in:)`](/documentation/StoreKit/AppStore/requestReview(in:)-4r0y9)

Tells StoreKit to request an App Store rating or review from the user, if appropriate, using the specified view controller.                           

### Presenting the offer code redemption sheet

[Supporting offer codes in your app](/documentation/StoreKit/supporting-offer-codes-in-your-app)

Enable customers to redeem offer codes through the App Store or within your app.

[`presentOfferCodeRedeemSheet(from:options:)`](/documentation/StoreKit/AppStore/presentOfferCodeRedeemSheet(from:options:)-89agc)

Presents a sheet that enables users to redeem subscription offer codes that you configure in App Store Connect.

  <doc://com.apple.documentation/documentation/SwiftUI/View/offerCodeRedemption(options:isPresented:onCompletion:)>

### Restoring purchases

[`sync()`](/documentation/StoreKit/AppStore/sync())

Synchronizes your app’s transaction information and subscription status with information from the App Store.

### Merchandising

[`AppStoreMerchandisingKind`](/documentation/StoreKit/AppStoreMerchandisingKind)

### Deprecated

[`presentOfferCodeRedeemSheet(in:)`](/documentation/StoreKit/AppStore/presentOfferCodeRedeemSheet(in:))

Displays a sheet in the window scene that enables customers to redeem an offer code that you configure in App Store Connect.

  <doc://com.apple.documentation/documentation/SwiftUI/View/offerCodeRedemption(isPresented:onCompletion:)>

[`presentOfferCodeRedeemSheet(from:)`](/documentation/StoreKit/AppStore/presentOfferCodeRedeemSheet(from:))

Displays a sheet in the view that enables customers to redeem an offer code that you configure in App Store Connect.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)