---
title: offerID
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/product/subscriptioninfo/renewalinfo/offerid
---

# offerID

A string that identifies an offer that applies to the next subscription period.

## Declaration

```swift
var offerID: String? { get }
```

## Mentioned in

Supporting offer codes in your app Supporting subscription offer codes in your app

## Discussion

Discussion This value is nil if there isn’t an offer, or if the offer type is introductory. If the offer type is promotional, this value contains the promotional offer identifier you set up in App Store Connect. For more information about promotional offers, see Set up promotional offers for auto-renewable subscriptions. If the offer type is code, this value contains the reference name of the offer code you set up in App Store Connect. For more information about offer codes, see Set up offer codes.

## See Also

### Deprecated

- [environmentStringRepresentation](storekit/product/subscriptioninfo/renewalinfo/environmentstringrepresentation.md)
- [offerType](storekit/product/subscriptioninfo/renewalinfo/offertype.md)
- [currencyCode](storekit/product/subscriptioninfo/renewalinfo/currencycode.md)
- [offerPaymentModeStringRepresentation](storekit/product/subscriptioninfo/renewalinfo/offerpaymentmodestringrepresentation.md)
- [offerPeriodStringRepresentation](storekit/product/subscriptioninfo/renewalinfo/offerperiodstringrepresentation.md)
