cancel
Showing results for 
Search instead for 
Did you mean: 

Create customer groups via API

SOLVED

Create customer groups via API

As per title, using API I can only list Customer Groups, how can they be created via the API??

5 REPLIES

Re: Create customer groups via API

Hi @winman,

 

This can help you: http://www.magentocommerce.com/api/soap/customer/customer_group.html

Found something useful, please give "Kudos" or "Accept as Solution" for Token of Appreciation.
Free Magento Extensions : https://magecomp.com/free-magento-extensions.html

Re: Create customer groups via API

Hi thanks for the reply.  Were using v2 API whcih is being consumed by Visual Studio. The Customer Group API in v1 doesnt appear to be in v2?

Re: Create customer groups via API

Have you checked the above refrence link. The code may be useful to you.

Request Example SOAP V2

$proxy = new SoapClient('http://magentohost/api/v2_soap/?wsdl'); // TODO : change url
$sessionId = $proxy->login('apiUser', 'apiKey'); // TODO : change login and pwd if necessary
$result = $proxy->customerGroupList($sessionId);
var_dump($result);

 

Found something useful, please give "Kudos" or "Accept as Solution" for Token of Appreciation.
Free Magento Extensions : https://magecomp.com/free-magento-extensions.html

Re: Create customer groups via API

We can list Customer Groups with no issue, but we cant CREATE customer groups Smiley Sad

Re: Create customer groups via API

Solved the problem by having an extension written for us.