Magento Forum

   
creating customer groups from the api
 
mathew_wise
Jr. Member
 
Total Posts:  7
Joined:  2011-06-30
 

I’m using magento version 1.7.0.2 and using the soap api version 2 and passing xml to create and update objects. I been asked the question a number of time on creating customer groups with the soap api. I can create new users and if the group is already created assigned the group to the user. Then later I will be using the customer group to add a grouped price to a tier price so that groups have different prices.

I can’t see or find an operation that’s lets me create customer groups. I am looking for a way to create the customer groups from within the API. Has anyone come across this before or is there a way around this?

 
Magento Community Magento Community
Magento Community
Magento Community
 
magedev
Sr. Member
 
Avatar
Total Posts:  117
Joined:  2009-06-01
 

Magento does not offer out of the box functionality to add new customer group, however you should be able to implement it by yourself by extending Mage_Customer_Model_Group_Api (see extending the core API at Magento Wiki)

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top