As per title, using API I can only list Customer Groups, how can they be created via the API??
Solved! Go to Solution.
Solved the problem by having an extension written for us.
Hi @winman,
This can help you: http://www.magentocommerce.com/api/soap/customer/customer_group.html
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?
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);
We can list Customer Groups with no issue, but we cant CREATE customer groups