Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivanproskuryakov/magentochanneladvisor
Order export from Magento to Channeladvisor
https://github.com/ivanproskuryakov/magentochanneladvisor
Last synced: 26 days ago
JSON representation
Order export from Magento to Channeladvisor
- Host: GitHub
- URL: https://github.com/ivanproskuryakov/magentochanneladvisor
- Owner: ivanproskuryakov
- Created: 2014-10-19T07:14:01.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-19T07:22:58.000Z (about 10 years ago)
- Last Synced: 2024-04-16T07:09:06.544Z (7 months ago)
- Language: PHP
- Size: 121 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Overview
-----------------------------------magento.php - main file, you will need to run it in browser or with crontab
states.php – list of US states, we need this for conversion from “Illinois” to “IL”
settings.php – file with your settings (account credentials for ChannelAdvisor, e-mail,etc..);Details
-----------------------------------
First of all i’ve got to say that ChannelAdvisor use SOAP for their API, it is really convenient. All this POSTS,GET,CURL,SHMURL,file_get_contents is a nice things but SOAP is a much better. ChannelAdvisor has a special website which contains all info that you would need http://developer.channeladvisor.com/.
For example this page: http://developer.channeladvisor.com/display/cadn/SubmitOrder for Order SubmitNow about the the script. First thing that you will need to do, is to synchronize all your products with your ChannelAdvisor account:
1. check does SKU exists with call “DoesSkuExist”
2. synchronize your product with “SynchInventoryItem”
Once all SKU’s has been synchronized, the next step is to prepare and add sales with call “SubmitOrder”, once order being processed it will be marked, to skip it in the next run. Script also skip all orders with statuses “canceled” and “closed” all orders other statuses will be processed.Here the full list of magento order statuses: