@francesco-lenolli
For both of your questions, a single call -- GetEligiblePromotions() will do the work. It will return the values of maxPurchases and the caller's purchased, as well as the Unix timestamps for triggeredForUserAt and 'expiresForUserAt` for automated promotions.
8b4d83d1-13cd-428c-a15f-04253dc98a5c-image.png
-
Discussion - Promotions
Unsolved General11 -
PostTournamentScoreUTC DateTime or ulong?
Unsolved APIs4 -
propark.cloud
Unsolved General2 -
Post Score when a Tournament ends?
Unsolved General2 -
Recurring scheduled tasks?
Unsolved Cloud Code6 -
-
Match history
Unsolved General8 -
-
-
-
bridge.getCustomEntityServiceProxy()
Unsolved Cloud Code5 -
Localization Issue
Unsolved General6 -
-
-
-
latest braincloud xcode build error
Unsolved General4 -
-
-
How to implement "loot boxes"
Unsolved General2 -