You can get the major version (for example 2.2) by accessing /magento_version on your Magento 2 website.

1

 

5.00 / 5.0
Article rating (11 Reviews)
Do you find this article useful? Please, let us know your opinion and rate the post!
Not badGoodVery GoodGreatAwesome