function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sourav ChandraSourav Chandra 

Rest API to get edition for particular user or org

Hi,

Is there any API to get edition details for user or org? We need to manually export/ create lead in salesforce from our website which requires api access. As some of the editions do not have API access we would like to show user a warning if need be.

Thanks,
Sourav
Arun_KharbArun_Kharb
Hi Sourav,

This just need some error handling. Whenever you try to hit Salesforce API you will get some response and if API is not accessible then you will get some error in return. Based on the response you can display your message.

Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help.

Thanks,
Arun Kharb