In this tutorial, Today I will explain to you how to check if customer account is confirmed or not in Magento 2. Sometimes, you need to check programmatically that customer account is confirmed or not. For that you need to inject \Magento\Customer\Api\AccountManagementInterface this class. You may also like this : How to add new customer address by REST API in…
Tag: customer
How to Redirect to The Particular Page After Login in Magento 2
In this tutorial, Today I will explain to how to redirect to the particular page after login in Magento 2. In default Magento 2, redirect customer to their dashboard page after customer login. Now, If you want to redirect customer to the particular page after customer login then, you need to follow the below steps for that You may also…
Magento 2 : Get Default Billing and Shipping Address by Customer ID
In this tutorial, Today I will explain to how to get default billing and shipping address by customer id in Magento 2. Magento 2 provides functionality that user can add multiple address in customer data. But, when you want to get default billing and shipping address of the customer then how to get that address? Let’s follow the steps to…
Magento 2 : Get orders by customer id using GraphQL
In this article, we will learn about how to get orders list by customer id using GraphQL API in Magento 2. After Magento 2.3, GraphQL is most popular feature to make it simple to fetch all require data with one single request. With GraphQL, you can send a query to your API and get response what you need. So, Now…