How to upgrade Magento 2.2 to Magento 2.3 version?

Upgrade Magento 2.1.* or 2.2.* Version to Latest 2.3.4 Version for site speed and security improvement, You need to follow all the steps given in the articles.

Magento 2.3 Upgrade is a little bit tricky. You can’t just upgrade using only changes in magento/product-community-edition and version line from the composer.json file.

Upgrade using the command line Magento 2.3, Continue reading “How to upgrade Magento 2.2 to Magento 2.3 version?”

How to get Admin Token by Rest API V1/integration/admin/token in Magento 2?

How to Get Admin Token by REST API in Magento 2?

Magento 2 Admin Token REST API, you need to first generate an access token. The access token is used for synchronization with Magento to another third-party platform.

Without an Access token, you can’t communicate with Magento 2 API that requires Admin Token to fetch results.

To create an access token you need to call POST action with Request payload. Your request URL will be rest/V1/integration/admin/token append to your site URL.

You can check at the end of the page for the POSTMAN screenshot to fetch the access token with POSTMAN.

Continue reading “How to get Admin Token by Rest API V1/integration/admin/token in Magento 2?”

Get sales order data using Graphql in Magento 2.

GraphQL is a new concept from Magento 2.3 version in Magento eCommerce. Using Graphql we can get sales order data. There are many default core module uses GraphQl for getting data like, Product, CMS Page, and Block, Customer module uses Graphql for getting data of a specific entity. Magento Doesn’t use GraphQl for Sales Specific entity in core module.

I have just demonstrated how to get order data using GraphQl in Magento 2 based on order id. We can get details of Order basic entity, billing address and shipping address and Used items in Order.

Continue reading “Get sales order data using Graphql in Magento 2.”