To get the ecommerce conversion rate with Google Analytics API, you can use the metric ga:transactionsPerVisit or ga:transactionsPerSession depending of API version you are using.
Enjoy ! 🙂

✓ Founder of Kelogs, a SaaS SEO Crawler & Log Analyzer
✓ Made for fun the app The Keyword
✓ International SEO Consultant (Freelance)
✓ Over 10 years of SEO experience
✓ Consultant to countless small and big businesses over the decade
Read more about me, myself and I.