I’ve just joined, but I already searched the forum and docs for any topics related to integration with Amazon Marketplace and I coudln’t find anything. Have you ever considered this feature or perhaps anyone is working on it already? In each case, I think I could contribute.
I do not know any starndard solution for syncing Tryton and Amazon but it may be interesting to implement as web_shop backend.
We have a customer that may be also interested on having this integration but for now he is starting to upload his catalog to Amazon. I’ve they get a big volume of sales from amazon they may consider automating the integration but for now they plan is to enter sales manually on Tryton.
To upload products we are generating a route with a TSV file, which is read from an ecommerce integration platform which sends the products to Amazon.
I have one running in production - but is not finished right now. Until now I automatically import sales an trigger the stages from draft to done. I do not need full integration right now, because there is another third party solution involved.
my TODO:
Sales import is the most important.
For my cases updating stock quantities in Amazon would be the second most important.
Would you like to share some work?
What is the third party you use, if you can say?
Yes, this is clear.
Perhaps let’s make a step back and consider if we should develop direct connectors for each channel or use any aggregation service for multiple channels and a single API for us. Forgive me if this was considered here before - I’m new to the project. Personally I’d prefer to invest into direct integration, but I may be biased and willing to have full control over the interface instead of relying on a third party.
I will prefer to have a direct connector and do not depend on any third party service.
Did you know if amazon has an API for conecting directing an where is its documentation? Is there any python adapter for it? If yes, we should consider using it.
python-amazon-mws covers only a fraction of the API, but I think we still should contribute to it to add the missing features and then use it for our integration. How do you think?
You need a developer account which will be authorized from a seller account to use the API on behalf of them.
The third party involved is the german Afterbuy https://www.afterbuy.de/. There you can mark a sale which is fulfilled by the seller as sent and upload an invoice. The sales fullfiled by Amazon are automatically marked as sent and you only need to upload an invoice. Since now I only import the sales to tryton and mark them as sent and paid by requesting the amazon API - so in Tryton I have more or less a mirror of the Amazon transactions.
To have a full working module we must also implement the cancellation, retour, partially sent and other stuff.
For products we should implement an other module (product_sale). In real live selling on amazon is not only uploading a product. The seller are using different names and descriptions. Sometimes they are bundling products which have different templates in tryton to one in amazon.
Stock management I have done by routing AFN (amazon fulfillment) to an ‘virtual’ warehouse and MFN (merchant fulfillment) to a real warehouse of the company. But this in reality is more sophisticated since there are different warehouses for special markets on amazon.
@jgras, do you think it’s better to use aws sdk instead of direct API calls? In particular in the context of the new Amazon’s Selling Partner API (SP-API), https://developer.amazonservices.com/. I don’t mean to suggest this or other approach. Just want to consider everything thoroughly before we begin coding.
Didn’t know about that. Since I write an other interface right now I’m scared a little bit - after I need a bit recreation to get ready again Right now there are client libraries for java, php and c# - ask them for their plans for python
The next weeks I restart developing on my amazon module and I want to ask, if someone is interested in collaboration. I need to migrate the module first and this will cleanup the sale integration.
What I’m looking for is the part of the product management. Possible someone has this part already done to not reinvent the wheel. Feel free to contact me
I think it will be good to use the web_shop module as base of the amazon connector, so we can name the module web_shop_amazon.
Then you can mimic the web_shop_vue_storefront module desing by adding the required information on the web.shop model to sync to amazon and upload all the products information to amazon.
This should be the first steps to sync products data using a cron job. If you share the development on a public review I will be happy to review and test ir… Also anyone can continue your work latter if interested.