Magento API

SOAP

About Magento API

Module: Mage_Catalog

The Mage_Catalog module allows you to manage categories and products.

Product types

Allows you to retrieve product types.

Resource Name: catalog_product_type

Aliases:

  • product_type

Methods:

Examples

Example 1. Retrieving the product types
$proxy = new SoapClient('http://magentohost/api/soap/?wsdl');
$sessionId = $proxy->login('apiUser', 'apiKey');
$types = $proxy->call($sessionId, 'product_type.list');

var_dump($types);