Get all stores or updating the username for all orders accross all stores
Some websites like to use an email address as a username. The trouble is that email addresses can change so we need to provide a method for changing it on the website.
In the past I've written code to run though all a customers finalized orders and update the username whenever the they change it
I see now that GetAllFinalizedOrdersForCustomer and GetAllFinalizedOrdersAsXml all require a StoreID parameter. In this situation if a site had multiple stores you'd resonably want to update all the orders accross all stores.
Is there a GetStores method or some other way to simply update all the orders for a customer?
Get all stores or updating the username for all orders accross all stores
Some websites like to use an email address as a username.
The trouble is that email addresses can change so we need to provide a method for changing it on the website.
In the past I've written code to run though all a customers finalized orders and update the username whenever the they change it
I see now that GetAllFinalizedOrdersForCustomer and GetAllFinalizedOrdersAsXml all require a StoreID parameter.
In this situation if a site had multiple stores you'd resonably want to update all the orders accross all stores.
Is there a GetStores method or some other way to simply update all the orders for a customer?
Regards,
Matt
Hi Matt
You have the StoreService.Instance.GetAll() where you get all the stores. That should do the trick for you.
Kind regards
Anders
Just what I was looking for. Thanks.
is working on a reply...