Discussions

Ask a Question
Back to All

Feature request: Base Plan ID or Adapty Product ID in server-side API

We have a subscription in Google Play configured as single product with several base plans: for 1 month, 6 months, etc. In the response of Adapty server side API endpoint GET /profiles/{profile_id}/ there is no information about base plan ID. Webhook notifications payload also does not have it. But we want to use it in our internal analytics. Your support specialist suggests not to use base plan ID in google but use different products.

Google documentation says https://support.google.com/googleplay/android-developer/answer/12154973

Base plan: A base plan defines a subscription's billing period, renewal type (auto-renewing or prepaid), and price. A single subscription can have multiple base plans.

Also your documentation says:
Base Plan ID: This ID is used to define the base plan for the product in the Play Store. When adding a subscription's Product ID on the Play Store you have to provide a Base Plan ID. A base plan defines the essential details of a subscription, encompassing the billing period, renewal type (auto-renewing or prepaid), and the associated price.

So it looks like we should use base plans for this but then we cannot use your API to determine bought subscription plan.

Please add base plan ID to your API response.
Something like adapty_product_id in this API could help but it is missing too.