Book Image

Magento PHP Developer????s Guide, 2nd Edition

By : Allan MacGregor
Book Image

Magento PHP Developer????s Guide, 2nd Edition

By: Allan MacGregor

Overview of this book

Table of Contents (16 chapters)
Magento PHP Developer's Guide Second Edition
About the Author
About the Reviewers

Chapter 5. The Magento API

In the previous chapter, we extended the Magento backend and learned how to use some of the backend components, so that store owners can manage and manipulate the gift registry data of each customer.

In this chapter, we will go over the following topics:

  • The Magento Core API

  • The multiple API protocols available (REST, SOAP, and XML-RPC)

  • How to use the Core API

  • How to extend the API to implement a new functionality

  • How to restrict parts of the API to specific web user roles

While the backend provides an interface for day-to-day operations, sometimes, we will need to access and transmit data to and from third-party systems. Magento already provides the API functionality for most of the core functionalities, but for our custom gift registry extension, we will need to extend the Mage_Api functionality.