Documentation Center

Connector for Magento usage in Content Delivery

With the Tridion Connector for Magento, Content Delivery's open GraphQL interface is capable of retrieving Product and Category data from Magento Commerce, as well as listing and searching product data.

The Connector for Magento is deployed into the Content Service using the standard extension mechanism provided by the Add-ons Service. On deployment, additional GraphQL capabilities and commerce data types for Magento Commerce get registered into the GraphQL engine.

The connector supports the following GraphQL requests:

  • externalItem - use to get a single commerce data item, such as a product
  • externalItems - use to search for or list a set of commerce items

The following example illustrates the using the externalItem request to retrieve data for a product using its ID:

{
  externalItem(
    identity: {
    	namespace: "magento",
    	id: "root"
    }
    searchText: "hoodie"
  }
  ) {
    edges {
      node {
        ...on MagentoProduct {
          identity {
            id
          }
          title
        }
      }
    }
  }
}