Product types API

Last modified by Michael on Fri, July 4, 2008 12:31
Source|Old Revisions  

Allows to get product types list

Module: Mage_Catalog

Resource: catalog_product_type

Aliases:

  • product_type

Methods

catalog_product_type.list

Retrieve product types

Return: array

Aliases:

  • product_type.list

Examples

Example 1. Getting product types

  1. $proxy = new SoapClient('http://magentohost/api/soap/?wsdl');
  2. $sessionId = $proxy->login('apiUser', 'apiKey');
  3. $types = $proxy->call($sessionId, 'product_type.list');
  4.  
  5. var_dump($types);



 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs