How to add items to wishlist or shopping list using amazon ask-sdk-core - amazon

I want to add products in amazon shopping list or wishlist, I am using ask-sdk-core module and find a method 'serviceClientFactory.getListManagementServiceClient()' to do that.
const listClient = handlerInput.serviceClientFactory.getListManagementServiceClient();
const addRequest = {
value: 'mobiles',
status: listStatuses.ACTIVE
};
listClient.createListItem(shoppinglistId, addRequest);
Items are added in alexa app shopping list.But not visible in amazon website or amazon app.
I am also tried to add items manually in alexa app shopping list, but not visible in amazon website.
I am using same account in both amazon website and alexa app.
Is there any way to do this.

No there isn't any way to do this currently.
The List API just allows to add it to the Alexa Lists.

Related

amazon connect sdk, search user by email

I am trying to obtain the amazon connect ID, if existing, that is related to an email using the aws sdk for node.js
Reading the following sdk:
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Connect.html
or this one:
https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeUser.html
The closest thing I can see is describeUser, but that one requires the amazon connect id to retrieve the user data.
There are endpoints for search, but they dont seem to search users. It seems the only way is to get the entire user list via listUsers
Am I correct or is there a way to obtain a single user, given their email?
AWS doesnt offer this functionality, best that can do is get the full list of users then query the user data for each id to obtain the emails and finally filter them yourself.

Can I get session and pageview data by product from Amazon?

Like Amazon Seller Central's business report, I would like to acquire sessions and report dates for each product through API.
I've checked Amazon MWS and SP-API, but I can't find a way, so I'm asking you for help.
you can make a chrome extension to get sessions and page view data. i did the same as there is no way with in MWS and SP API to get this information.
You can now get session and page view by product by getting the GET_SALES_AND_TRAFFIC_REPORT report.
You first have to add Brand Analytics role to your application.
Then the seller must authorize your app after you had add this role.
https://developer-docs.amazon.com/sp-api/docs/report-type-values#brand-analytics-reports
https://medium.com/#nassuf/how-to-get-page-views-and-sessions-using-amazon-sp-api-287cc73b727b

Find my own product ratings via Amazon API

I need to find my product details such as ratings without scraping.
Is that possible or any existing API to get these information from?
If not is it possible to scrape it by my self any good source for free node js amazon scraper?
There does exist an API called Amazon's product advertising API.
The problem with it is that you need an Amazon associate account which is an affiliate marketing program that expects you to drive sales to products.
Product Advertising API sign up is available only to associates who have referred qualified sales and have been accepted into the program.
You could use the Keepa API. Keepa is a browser widget that scrapes Amazon through its users. The downside here is the data may not be real time. The more active an item is, the more often it is scraped. You can pull price, offers, reviews, rating, and more. The plugin is free, but the API is not.

Is it possible to add a search function in a gmail add on app?

So we're trying to build a gmail add-on where users can just search and create food orders via email. So I'm wondering is it possible to add a search function and fetch list of restaurants from our site and display them in the add-on.

Can you use an external cart in Shopify thats hosted on an external website?

I am creating a website that is not within Shopify where a customer can select items and then make purchases. I want the customer to use a cart that I'd create vs a redirect/open new window when they want to make a purchase. I do have a Shopify Store that has the products that contain the variants and their prices.
I am using node.js and express and the shopify-node-api (https://www.npmjs.com/package/shopify-node-api) module.
I would like to know if this use case is possible:
Customer goes to my site http://example.com (external to shopify)
Customer makes their selections of product by clicking 'add to cart' on http://example.com
The cart that I create on http://example.com gets updated with the line items and prices
Customer clicks 'checkout' button on http://example.com. There is ajax communication between http://example.com and my shopify store.
My shopify store handles the purchasing/credit card info in the background and once successful or errors out, sends a response back to http://example.com to notify customer of success or errors.
I am attempting to use Shopify as a service to handle the credit card transactions without the need to redirect them to the Shopify store. I would like to user their AJAX API to communicate with http://example.com.
Based on the documentation, it is unclear if the http://example.com needs to be hosted within Shopify.
So far, I am only able to make get requests successfully. I am running into difficulties POSTING to Shopify.
I have followed both the Private App and Public App Guides.
I currently am using a Public App and have recently obtained a permanent token. Still unable to Post to the Shopify Cart. Does anyone have any success doing such? Or can offer an example or documentation on how to do the above?
I do not think that this can be done via ajax. The way that I figured out is to build a local object from the customer choices and then parse the object to build the url that will post to shopify. Then show the shopify cart within an iframe.

Resources