<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKStoreProductParameterProductIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:@SKStoreProductParameterProductIdentifier"
  },
  "title" : "SKStoreProductParameterProductIdentifier"
}
-->

# SKStoreProductParameterProductIdentifier

The key representing the product identifier for the promoted product you want the store to display at the top of the page.

```
let SKStoreProductParameterProductIdentifier: String
```

## Discussion

The value for this key is an instance of <doc://com.apple.documentation/documentation/Foundation/NSString>.

When your app uses an [`SKStoreProductViewController`](/documentation/StoreKit/SKStoreProductViewController) to render an app page for another app, you can optionally choose to highlight an in-app purchase by displaying it at the top of the store page.  Set  [`SKStoreProductParameterProductIdentifier`](/documentation/StoreKit/SKStoreProductParameterProductIdentifier) to the identifier of the product you want displayed at the top of the page.

The product indicated by the identifier must be set up as a promoted product in the App Store, otherwise the identifier is ignored. See [Promoting In-App Purchases](https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/StoreKitGuide/PromotingIn-AppPurchases/PromotingIn-AppPurchases.html#//apple_ref/doc/uid/TP40008267-CH11).

> Note:
> Use the same product identifiers as used in the ``doc://com.apple.storekit/documentation/StoreKit/SKProduct/productIdentifier`` variable in the ``doc://com.apple.storekit/documentation/StoreKit/SKProduct`` class.

---

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)