Skip to main content
Question

How to get all products that unlocked an Entitlement

  • October 10, 2025
  • 3 replies
  • 34 views

Forum|alt.badge.img+7

If an entitlement is unlocked by multiple products at the same time, how do you see all of the products that unlocked the Entitlement? The EntitlementInfo class has a productIdentifier field on it that is a string but that only seems to show the last product that unlocked the entitlement, not all the products.

 

https://revenuecat.github.io/purchases-ios-docs/5.43.0/documentation/revenuecat/entitlementinfo/productidentifier

 

Thanks

This post has been closed for comments

3 replies

joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • October 15, 2025

Hi ​@mrd,

You can use this endpoint to get all the products that are attached to that entitlement. Does that work or do you mean using the SDK only?

 

Best,


Forum|alt.badge.img+7
  • Author
  • Helper
  • October 15, 2025

Hi ​@joan-cardona - thanks, preferably just using the iOS RevenueCat SDK. Since the EntitlementInfo.productIdentifier field is a string I assume it only shows the last product that unlocks the entitlement, testing it doesn’t return multiple values in the string.

 

Thanks

Mark.


joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • October 21, 2025

Hi ​@mrd,

You are correct, that’s the identifier of the latest product that granted that entitlement.

Would you mind sharing the use case for needing all the products? If there’s a need to know which product unlocks an entitlement then it’s likely that the entitlement needs to be different from the other ones. The idea behind an entitlement is that it doesn’t matter which product unlocked but that the user has access to a certain premium feature(s).

Best,