Reputation: 28742
I am working on a soap plugin to connect my CRM to Magento. When I study the customer.create soap api call I see that I need to define a website and a store id. http://www.magentocommerce.com/api/soap/customer/customer.create.html
For example:
User: john doe registers: Hellofa-footwear.com gets user id: 403
Same user registers on another site with same credentials(email adress, etc..) registers: Yoking-matters.com gets user id: 404
User: john doe registers: Hellofa-footwear.com gets user id: 403
Same user registers on another site with same credentials(email adress, etc..) registers: Yoking-matters.com Userid 403 gets updated that this customer also shops on joking matters
Since I can't find this anywhere in the magento documentation.... I was wondering if someone here knows about the internal workings of magento.
The questions:
Upvotes: 0
Views: 729
Reputation: 2435
If you log in Magento Admin panel and go to System / Configuration / Customer Configuration / Account sharing options, you'll see "Share Customer Accounts" option here. You can chose two options:
The store_id
param in SOAP call is used by Magento to:
You can omit this param (or pass empty string). In this case store_id
will be automatically populated with ID of default store of a website.
Upvotes: 1