Added redemption_type to Offers Content API#26214
Conversation
ref https://linear.app/ghost/issue/BER-3258/disable-offer-link-for-retention-offers - The new field `redemption_type` is set to `signup` for signup offers (default) and to `retention` for retention offers - With this change, we expose the `redemption_type` in Content API, so that it can be used by Portal to handle offers differently, based on their redemption type. For instance, retention offers are triggered during the cancellation flow and cannot be redeemed via an offer link
📝 WalkthroughWalkthroughThe Content API serializer for offers has been updated to include the Changes
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Important Action Needed: IP Allowlist UpdateIf your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:
Reviews will stop working after February 8, 2026 if the new IP is not added to your allowlist. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ref https://linear.app/ghost/issue/BER-3258/disable-offer-link-for-retention-offers
redemption_typeis set tosignupfor signup offers (default) and toretentionfor retention offersredemption_typein Content API, so that it can be used by Portal to handle offers differently, based on their redemption type. For instance, retention offers are triggered during the cancellation flow and cannot be redeemed via an offer link