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

# SKStoreProductParameterAffiliateToken

The key representing the affiliate identifier you wish to use for any purchase made through the view controller.

```
let SKStoreProductParameterAffiliateToken: String
```

## Discussion

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

You receive an affiliate identifier when you sign up for the Affiliate Program. The affiliate associated with this view controller is paid a commission for any items purchased using the controller.

Learn more about the Affiliate Program at <https://apple.com/itunes/affiliates>.

---

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)