Can I get session and pageview data by product from Amazon? - 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

Related

How can multiple different users use the same rest api on a platform to pull their unique data?

I want to build a project where a user will be able to press on a button to authorize my platform to access their data (e.g shopify data). When my platform has access (to their shopify platform) it will send that data to my database.
My questions is:
In order for my rest api to access the data (from e.g shopify platform) i have to give the rest api the api key of the user which is simple if it a single account, but when i have multiple users using the same rest api how should i handle it? How can i give the rest api the access code so it can pull the data (from e.g their shopify platform) for each user? What is the name of the technology that needs to be considered here?
I am a built lost on the terminology of my question which has given me a bit of a headache when trying to google it.
First off, you create an App that Shopify approves, and then your merchant customers would install this App in their store. That approval process by both Shopify and the merchant means you are given permission to access their Shopify data.
Next, you create some value by allowing the merchant to see their data in ways unique to what it is you are doing. So far, your database contains nothing but the name of the store and the access token with permission to access the Shopify API.
How you then proceed in your own App is up to you. Not much else to it really, if you already know what your value add is. Code that part up and you're done!

Can't I query for other account IDs because I don't have the review done?

I am using "business_discovery" with the IG API, which works perfectly for me. With this I get the id of the Instagram account I want to work on. But when querying for the insights of this account I get an error. I think it must be because I have to send the app for review. My question is, once I pass all the revisions, will I be able to query insights from commercial accounts that are not associated to my account?

NodeJs Multi-vendor site and product accessing

I've been working on a NodeJs web application that uses APi's and a number of differently branded Front-end's for different sellers. Sellers can list their product by visiting appropriate Front-End. However I've hit a problem where there is no logic preventing sellers accessing other seller accounts.
There are several API's that interact with the product, so an idea was to filter all API's against the seller ID to prevent the wrong seller accessing the wrong product. i.e When Seller A lists a product, an sellerID is recorded against product. So if Seller B tries to access the UpdateProducts API against Seller A product, their Login ID will not match the saved sellerID and it will be denied. I think this will work but checking access against products sounds taxing. Are there any better way to do this ?
Before accessing any data from database every request should be checked if it has token authorization. If token is valid, it is possible to get userId from token and search any data for the given userId.
P.S. This approach I'm using in REST API

herenow api has been rolled out. Is there any way to get the checkedin userdetail?

We have integrated hereNow api in our appliction to show the checked in customers for the particular venue. Now because of the policy change in the hereNow api we are not getting any results. Is there any way to get the checkedin user details for the venue without being as a store manager?
Thanks,
Shiva
No. The identities of users currently checked in to a venue are only available to apps making requests on the behalf of friends, other people checked in to the venue, or to a manager of the venue.

Can I use Foursquare API for getting info on brands, using the Users endpoint?

I'm new to foursquare api development and was looking for high level
steps on how to get followers for a particular brand. I'm working for
a business that has its brand on Foursquare and would like to get
information about all the people that checkin to the brand or follow
them so they can send them thank you cards... etc... Is a brand a user infact and can I use the User endpoints to get the list of followers?
Any help would be appreciated...!
Brands have a userId just like normal users and you can access their friend/follower information the same way you'd access it for a regular user.
To encourage new followers, you should consider using a foursquare follow button on the brand's web pages: https://foursquare.com/business/brands/offerings/followbutton

Resources