Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Exporting sales-orders - using DataFlow/WebService? 
 
Roy Andre
Sr. Member
 
Avatar
Total Posts:  209
Joined:  2007-08-31
 

We have started to integrate Magento with our own retail-system so that all orders done in Magento can be imported into our application. We’ve done this with OsCommerce/ZenCart, then by just calling a php-script in OsC/ZC which fetch all orders with the status Pending, exports them to an XML-file which we import in our system, and then it changes the status to Processing (so that it isnt imported any more).

We could do this pretty easy with Magento as well but we would _really_ like to solve this by using a more generic OrderExport-routine like contacting Magento WebService or something to export and update these orders. Has anyone done this or got any clue what would be the best way to solve it?

Preciate any answers!

 
Magento Community Magento Community
Magento Community
Magento Community
 
EYEMAGINE
Member
 
Avatar
Total Posts:  35
Joined:  2008-02-14
Irvine, CA
 

Hi Affi,

Would you mind sharing the code you used to export the orders to XML? 

I’m trying to write a script to migrate orders from a 3rd party store into Magento, but I’m getting stuck on how to build the store/order object.

Thanks,
Andy

 
Magento Community Magento Community
Magento Community
Magento Community
 
Roy Andre
Sr. Member
 
Avatar
Total Posts:  209
Joined:  2007-08-31
 

Our PHP-script for exporting the orders to XML is written for OsCommerce/ZenCart, not Magento yet. And we’d like to _not_ be needing to do it in Magento, as asked in the first post.

 
Magento Community Magento Community
Magento Community
Magento Community
 
EYEMAGINE
Member
 
Avatar
Total Posts:  35
Joined:  2008-02-14
Irvine, CA
 

Got it, thanks for your reply!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Roy Andre
Sr. Member
 
Avatar
Total Posts:  209
Joined:  2007-08-31
 

Any feedback on the first post in this thread would be much preciated. Maybe Varien has some more information?

 
Magento Community Magento Community
Magento Community
Magento Community
 
nicolas46
Sr. Member
 
Total Posts:  210
Joined:  2008-04-09
Toulouse
 

Look the Magento API here :
http://www.magentocommerce.com/wiki/doc/webservices-api/api/sales_order

With Magento 1.1 it will be easy to do what you want

 
Magento Community Magento Community
Magento Community
Magento Community
 
Roy Andre
Sr. Member
 
Avatar
Total Posts:  209
Joined:  2007-08-31
 

Yep got it earlier today wink (RSS rules)

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