---
title: identifier
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/skpaymentdiscount/identifier
---

# identifier

A string used to uniquely identify a discount offer for a product.

## Declaration

```swift
var identifier: String { get }
```

## Discussion

Discussion You set up offers and their identifiers in App Store Connect. If the identifier is not valid, an SKError.Code.invalidOfferIdentifier error can result.

## See Also

### Identifying the Discount

- [keyIdentifier](storekit/skpaymentdiscount/keyidentifier.md)
