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 ...

Get Magento PHP Developer's Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.