Arda Basoglu
  • Home
  • Blog
  • Links
  • Contact

Get Customer Collection In Magento 2

4/10/2017

4 Comments

 

How to get all customers in Magento 2 Using .Net and C#

Picture
Here is an example class that can be used to retrieve customers data in Magento 2.
You need to construct an instance of Magento class with your Magento URL, user name and password.

Example:

 var magento = new Magento("http://ypur-magento.com", "username", "password");
 var customers = magento .GetAllCustomers();

​
Simply use an admin account which has required permissions to access web api resource.
4 Comments
Hicks
7/19/2018 11:44:01 am

Love You :*

Reply
Arda Basoglu
7/19/2018 12:04:51 pm

I know the feeling :)

Reply
Ulhas Aswar
10/1/2021 08:42:37 pm

At last this code worked successfully .....Thanks.

Reply
Arda Basoglu
10/1/2021 09:20:53 pm

I'm glad I helped someone :)

Reply



Leave a Reply.

    Author

    Arda Basoglu is a digital marketing agency owner, software engineer/developer, musician. Worked for several companies: TWB, BNB Software, PINC Solutions,  hakia, Nurol,  NTV. 

    Archives

    October 2021
    August 2021
    June 2020
    April 2020
    September 2017
    July 2017
    April 2017
    February 2017
    September 2015
    October 2014
    March 2014
    February 2014
    January 2013
    June 2012
    May 2012
    July 2011
    December 2010
    November 2010
    October 2010
    August 2010
    July 2010
    June 2010
    March 2010
    February 2010
    January 2010
    December 2009
    November 2009
    October 2009
    August 2009
    June 2009
    May 2009

    Categories

    All
    Açık Kaynak
    Algorithms
    Avşa
    Big O Notation
    Certbot
    Database
    Ekmek
    Ekonomi
    Encrypting Settings
    Enflasyon
    Google Maps
    Heroku
    Heroku Rake Fixture Yaml Error
    JavaScript
    Mac Os X
    Magento
    .net
    .net Forms Login Progress Bar
    Node
    Node.js
    Node-postgres
    Personal
    Peynir
    Postgresql
    Rack 1.2.1 Utils.rb Error Heroku
    Ruby On Rails
    Windows 7
    Windows Froms
    Windsurfing
    Wordpress
    Yankoltuk

    RSS Feed

Powered by Create your own unique website with customizable templates.