Hey Pirozhkov,
If you'd like to retrieve the details page Id for the customer/subscription, you could make use of this syntax -
https://{site}.chargebee.com/admin-console/<resource>/<id>
where, resource is customer {or} subscription
id is customer/subscription external Id
Unfortunately, it is not possible to directly retrieve the customer/subscription's internal Id using the API. Could you please elaborate a bit more on why you'd want to retrieve and make use of it?
Vlad Pirozhkov
Hi,
it seems that each customer has it's own numeric id (not related to regular customer ID).
How can I get it via API? I can see it in browser both on subscription page, e.g. user profile URL:
https://example-test.chargebee.com/subscriptions/123456789/details
or on customer's portal page URL (user also sees this):
https://exaple-test.chargebeeportal.com/portal/account/123456789/details
I wand to create session, put access URL in iframe, and store final portal URL, to skip session creation if user navigates to other site page and then returns to embedded portal page.
Thanks.