How to connect Amazon Product Advertising API with Strapi to fetch data from Amazon PAAPI and show it in my web-site? - strapi

I have to fetch, list of products (along with each product's details) from "Amazon Product Advertising API", based on a specific selected Category and show it in my web-site(in Gatsby)?
Can we connect "Amazon Product Advertising API" with "Strapi" and directly fetch data from Amazon PAAPI and show it in my web-site?
If it's possible, then can anybody please share the steps?

This is definitely something you can do using controllers: https://docs.strapi.io/developer-docs/latest/development/backend-customization/controllers.html
What is the reason why you'd like to pass this content through Strapi rather than requesting the Amazon Product Advertising API from Gatsby? Is the goal to hide the Amazon API keys?

Related

sync inventory of Shopify and Magento 1 real time

I need help of experts I have two stores, one is on Shopify and another is on Magento 1. I'm facing problem to manage stock reports because I have one inventory but two stores. How can I sync both stores in real-time like when I get an order and I delivered that so automatically product will less in both stores. I have already tried some third-party integration tools, but they don't work realtime can someone help?
You need to develop a third party application to create an private app for inventory webhooks for Shopify and create event/observer on the product update and order create in Magento.

How can I host Angular frontend and Laravel backend messenger bot with many users

I'm starting a new SaaS, where shop owners can register and make their own Facebook messenger chatbots.
The project consists of:
1- Frontend(Angular): Where shop owners can connect their facebook pages and insert their products to the database/ see customer's orders and update the order's status through Laravel API Backend.
2-Backend(Laravel API): Where the requests are handled from the frontend(shop owners) and facebook messenger (shops customers) and data are stored/retrieved from MySQL database.
So lets say i got 300 shop owners subscribed to my SaaS, and each shop has 300 daily customers that will use the chatbot.
Note*: when a shop X customer sends a message to shop X facebook page, the message is sent to the laravel backend, and it will retrieve the products with its pictures and he can place an order, then the order is sent to Laravel backend and stored in the MySQL Database, and retrieved on the Angular frontend for shop X owner. Each shop has its own customers, showing different products, using the same backend. There will be nearly 300 shops subscribed.
What is the best way to host such an application?
what specifications do I need if i use a VPS? ex: RAM, CPU Cores, Most importantly BANDWIDTH.
If you suggest cloud services like AWS/Heroku, please give me guidance what services should I buy and in which capacity? Dynos/databases....etc
what if there is 5000 simultaneuos requests made at the same time to the Backend, which way of hosting can handle this?
Should i host the frontend and backend on the same server or seperately?
I'm really lost here and can't understand answers such as "It depends".
I want the server specifications depending on the numbers given, please.
One of your questions. Should i host the frontend and backend on the same server or seperately? For the planned volume, use two servers with highest speed connection you can budget. For MySQL tuning assistance, view my profile.

How to implement Amazon MWS api in MVC Web API?

I am new to Amazon marketplace web service (MWS). I have read documentation of web service but I am unable to understand which api suit for update quantity and price of single or multiple product at one time.
Here is link that I am reading so far and don't know where to start.(http://docs.developer.amazonservices.com/en_US/feeds/Feeds_SubmitFeed.html)
Can you guys suggest me where to start?
Check out the feed types. You're going to want to submit a pricing or inventory feed to update your inventory. Once you have a feed created, you submit that using the SubmitFeed operation.
For an overview on how feeds works, check out this What you should know about the Amazon MWS Feeds API section.
Specifically for ASP.NET, there is an SDK built that will help you greatly. If you want to know how to implement that as a web api, that's another topic, but you can wrap code from the SDK inside a web api endpoint. But start with understanding MWS.

Is there a possibility to get data from google analitycs to CRM via API or else?

We have an web site and CRM. User fills form on a web page then we send this data into CRM as contact. Also Google analitycs gets more info about this user directly from web site. Is there any possible way to get data from Analitycs to combine it with CRM data?
If this is important: Bitrix24.com is used as CRM (installed on our server).
Thanks in advance.
You need this web-site: https://developers.google.com/apis-explorer/?hl=en#p/analytics/v3/analytics.data.mcf.get to construct API-request.
Set your CustomerID in filters field like this: mcf:adwordsCustomerIDPath=={customerID1}

Amazon Fees are not updating in Magento Orders when importing orders using M2E pro

I'm using M2Epro in a Magento site. When syncing the Amazon Orders to Magento store, it creates the orders and products correctly but the Amazon Fee always shows 0 (Zero) in the Order details in Magento.
I have created screenshots to describe the issue more clearly:
See the Amazon Orders import log
Amazon orders are imported and Magento orders created with similar info. Note the Order #, Magento Order #. An equivalent Magento Order is created for each Amazon order.
See the details of the Amazon Order .
See the details of the Magento Order counterpart of the Amazon order . Note the Amazon fee shows 0 but the actual fee is not 0. We have to update it with real value
I appreciate your help.
As far as I'm aware this is not possible and can only be found in your monthly reconciliation report from Amazon. However as M2EPro is a 3rd party extension. This question would be better asked via their support channels.
Even if your a 3rd party provider you should be able to tap into the Amazon data feed via API and get access to the fees the same way you do it with PayPal/eBay. We have used several 3rd party providers over the years and its never been an issue. This is something M2E should put on the wishlist for future improvements for sure.

Resources