1. Step-by-step: Create a Magento API user by Yiero

To use MageBridge, you need to create an API user in Magento. This API user is also related to a so-called API role. By default, there is neither API user nor API role, so you need to configure both.

2. Accessing the Magento V2 API by LornaJane

However they have then released a new version of the API, with very little documentation. So here are two calls – one to the v1 API and one to the v2 – which I hope will help illustrate the differences. The example I’ll give is the customer list functionality, including filtering the result set – because this was a total mystery when I started working with the v2 API!

3. Magento API / web service work by Magneto4U

Magento has strong web service features. I can say Magento’s web service is one step ahead than others e-commerce. Magneto has soap, v2_soap(soap 2) and xmlrpc adapter facilities. Using magento web services you can synchronize customer, categories, products, orders etc data with existing stores. Here I am going to describe magento’s web service deals step by step.

4. Extending the Magento API by inchoo

If you are in the business of developing a mobile application or external web/desktop or some other application/service that needs to communicate with Magento trough its API, then my friend you are out of luck. I am not going to say Magento API is a trash, I’ll simply say it massively lacks certain methods within the existing exposed classes that will make your external application usable.

Its all about simple things, right? Well, here is one bottom line simple thing I would like to do with my Magento API. I would like to get a list of all available websites, stores and store views. Can I do that with the latest (as of this writing, 1.4.1.1) Magento? No I cannot! Can I get a list of … etc. For any serious scenario you will most likely be out of luck. What’s interesting is that rarely even a combination of several method calls will give you what you might need. Trust me on this one, I am writing Android application for Magento and its killing me.

So, how do we improve Magento API? That’s easy, I say lets override it enabling the further use all existing method calls while adding new methods to the same classes plus we can throw in some new classes to the API.

5. Writing a Magento Custom API call by 100101.kurodust

I’ve been doing some work with the open source Magento web store software, mostly to do with their XMLRPC API for our ReadyToShip software. Inevitably, the requirement arised that couldn’t be solved by the existing Magento API calls, so it was time to take a look at writing some code and building my own custom api call (as suggested by the Magento documentation).

Unfortunately, the documentation on doing so is kind of sketchy, so it was a slightly frustrating experience, not least because of the complexity of Magento’s data structures. I’ve got a ‘Hello World’ API call working now though, and this post will have a dual purpose: to help others who have been wrestling with the same problem, and to actually get it straight what I did to get it working!

6. Creating Product Using Magento api by Sree

7. Data Import via Magento Core API by Chris Miller

After struggling for some time with exactly how to import 1000+ new products into a client’s Magento store, I finally put together this script that takes the products stored in a MySQL database and adds them via the Magento Core API (SOAP). The product data is from a third-party drop shipper and the MySQL database of products was provided by the third-party.

This script adds the product to Magento, puts the product in a category as specified by third-party data. I had previously written a similar script to import the categories as well, but there weren’t as many of them as there were products, naturally.

Leave a Reply

Your email address will not be published.