cancel
Showing results for 
Search instead for 
Did you mean: 

Export products

Highlighted
Occasional Contributor

Export products

How to Export products from .NET to Magento using REST API?

4 REPLIES
Moderator
Magento
E-Commerce

Re: Export products

I don't know what the .NET system is that you have. You're going to need an intermediary system/service (perhaps one that you build), that can communicate to both the .NET system and the Magento REST API. 

 

If it's a one-off process, you can perhaps do a export from the database and create a file feed to read in and submit to Magento via Rest API. 

 

Alternatively, does the .NET system have an API which you can communicate with and then your system can just be the translator of messages from one system to another. 

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!
Occasional Contributor

Re: Export products

How should I solve the below mentioned error?

 

s:1147:"Fatal Error: 'Uncaught Error: Call to a member function clearMediaAttribute() on null in /ProductRepository.php:532 Stack trace: #0 /ProductRepository.php(592): \ProductRepository->processMediaGallery(Object(Magento\Catalog\Model\Product\Interceptor), Array) #1 [internal function]: \ProductRepository->save(Object(\Product\Interceptor), false) #2 /Interceptor.php(74): call_user_func_array(Array, Array) #3 /Chain.php(70): \ProductRepository\Interceptor->___callParent('save', Array) #4 /Chain.php(63): \Chain->invokeNext('Magento\\Catalog...', 'save', Object' in '/ProductRepository.php' on line 532";

Moderator
Magento
E-Commerce

Re: Export products

Sorry, I've not seen that error before.

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!
Occasional Contributor

Re: Export products

Thanks Tom