Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Product attribute sets API

Last modified by Michael on Fri, July 4, 2008 13:30
Source|Old Revisions  

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['set_id']);
  10.  
  11. var_dump($attributes);



 

Popular Wiki Tags  |  View all

 module   routes   list   data accessing   resource   action   api   backend   mysql4   controller   getModel   model   php   eav   attribute 

Professional Services from the Magento Team

Professional Installation from the Magento Team

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
50194 users|584 users currently online|102362 forum posts