Product attribute sets API

Last modified by popthestack on Tue, April 7, 2009 10:29
Source|Old Revisions  

This is an old revision of the document!


Allows to getting product attribute sets

Module: Mage_Catalog

Resource: catalog_product_attribute_set

Aliases:

  • product_attribute_set

Methods

catalog_product_attribute_set.list

Retrieve product attribute sets

Return: array

Aliases:

  • product_attribute_set.list

Examples

Example 1. Getting product attribute's sets list and get attributes

  1. $proxy = new SoapClient('http://magentohost/api/soap/?wsdl');
  2. $sessionId = $proxy->login('apiUser', 'apiKey');
  3. $attributeSets = $proxy->call($sessionId, 'product_attribute_set.list');
  4.  
  5. var_dump($attributeSets);
  6.  
  7. $set = current($attributeSets);
  8.  
  9. $attributes = $proxy->call($sessionId, 'product_attribute.list', $set['attribute_set_id']);
  10.  
  11. var_dump($attributes);



 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs