Alexa - Allow User To Add Item To Amazon Basket/Cart. Help Needed - alexa

I've posted this question on the Amazon Developer Forums but I'm not getting a response. In the meantime, I thought I'd see if any devs on here can provide any insight or advice:
I’m building an Alexa skill for a client. So far we’ve added the following features to skill and they are successful:
Add items to user Todo List
Add items to user Shopping List
Get permission from user to use Amazon Pay.
We need to be able to give the user the option to add an item to their Amazon basket/cart from the client’s existing Amazon store. I’ve read all the posts/answers related to this issue on the developer forum and all of them were published last year.
The answers I’ve read seem to suggest we can’t add an item to a users Amazon basket/cart.
Is there an update on this for 2019? Can we do this with Amazon Pay or the Account Linking feature?
If not, is it technically possible if we build a custom back-end to work with the skill?
Any help would be greatly appreciated.
Many thanks.

assuming you are creating custom skill with ASK. Yes, you can add the product in the cart using Amazon Product Advertising API Please refer blow documentation link for more information. you can do lots of other stuff like modify the cart, adding wishlist, remove the product in the cart. https://docs.aws.amazon.com/AWSECommerceService/latest/DG/AddingItemstoaCart.html
Hope this helps.
.

Related

Amazon MWS Download orders Client

We have a java client for downloading orders from Amazon MWS.
We use:
MaWSJavaClientLibrary-1.1.jar
MWSClientJavaRuntime-1.0.jar
MWSOrders_2013-09-01_v2020-10-20.jar
We download an xml with users data, with also shipping details (address, city, zipcode and so on...)
Begining from half 2020, we didn't receive customer name and address anymore. I mean that those 2 tags in xml were not passed anymore. We realized that something was changed in Amazon MWS for GDPR and security reasons.
We compiled a form online where we sent to amazon lots of informations about how we use those data.
However, we have not understand what we have to do in order to get those data again in xml.
Our client continues to work as usual, beu we continue to get xml without customer name and address.
Last email from amazon says:
Good morning,
thank you for your reply. As this issue is unrelated to your Developer Profile role assignments, we recommend that you review the information available in the links below for information on this topic.
Since the new API for Sales Partners (SP-API) is officially available, we are no longer issuing new credentials for MWS and are not updating existing MWS access roles. From now on, it is possible to develop applications in multiple regions with a single set of SP-API credentials.
More information on SP-API can be found here:
https://developer.amazonservices.it
SP-API documentation on GitHub: https://github.com/amzn/selling-partner-api-docs
If you still need assistance on this topic, you can submit a MWS or SP-API technical support request here: https://developer.amazonservices.it/gp/mws/contactus.html
Thank you for selling with Amazon.
is there anyone that had same problem and can help us to retrieve those information again please?
Thanks

General question about Amazon Alexa's "Next Intent" (using the skill kit)

I currently try to build an alexa skill providing users with news information out of a DB.
I have 3 news topics in that DB:
- local
- global
- finance
So what I do currently is that if the user invoces the NewsIntent I collect all the data of all 3 topics, merge them together and provide that data as output via Alexa.
My question now is how would I integrate the NextIntent.
E.g. the user is not interested in the local news and would like to skip it.
My problem is, when an intent gets invoced teh I build up the response and return it back to Alexa. But in that case I would need to be able to send 3 responsed one after the other, right?
I do not know if my thoughts on that are correct or not.
If you have any idea please let me know.
Thank you!
You can use Alexa Session Attributes https://developer.amazon.com/en-US/docs/alexa/custom-skills/manage-skill-session-and-session-attributes.html to store in which DB are you currently. Like db: local. Then when you receive AMAZON.NextIntent you will check session attributes and based on them you will use expected database.

How to recover Gmail Id from the API key

I created a Gmail account for development and enabled the APIs for developer console. I generated one API key which I used in my application but now I forgot the Id that I used. I have to upgrade the plan for APIs but for this, I need the Gmail Id. Is there any way I can get the Id?
Ok, So after I have tried different options I was standing in the same position. So I dig all into my accounts and luckily my recovery email id was one of them, so I searched for all the emails from Google having the subject as Security your linked Google Account and sender as no-reply#accounts.google.com this will give you all the Ids associated with it.
The only workaround to fix the issue is to contact "Google API support team"
Just Go to the given link and raise your issue. They will assist you further steps to follow. https://support.google.com/googleapi/?hl=en#topic=7014522
I hope this will help you :)

How to grant access to Salesforce checkout

Here's one that seems to puzzle everyone, including my Salesforce rep.
I setup a trial of a Force.com platform org. I'm logged in as the administrator, and want to convert it to a paid subscription, so I start looking for a Checkout link. It's not in the App menu where some help pages say it should be.
Image of app menu
nor is it at the bottom of the left nav stack in Setp where you often see it. Nor is it on the System overview page.
I've searched this on the SF community and online. Everyone, including my rep says I just need to edit myself as a user and check "Checkout Enabled".
And yet, I cannot find this on this User edit screen, or on any of the other profile or permission set screens.
User edit screen
I'm clearly missing something obvious. What is it?
So I've just heard from my Salesforce sales rep, and she had to have someone in Salesforce OPS turn on Checkout for me. I guess there are some accounts that can't access it without vendor intervention. If I find out differently, I will post here.

GoogleApps Provisioning API to move a user from one organization to another

i have a use case to move a user from one Organization to another. The Api i am using is provisioning API. Managing Org Users gave an example for lab. Can anybody please share more info on what jar's need to be used to implement this. My rest of code is able to manage the other user functionallity.
My Code is in java
I am using jars gdata-appsforyourdomain, gdata-client, gdata-core and gdata-collect. These jars dont have any API's to manage the organizations with users. It would be great help if any one can share docs or any sample data on this use-case. Thanks
I was able to figure out the way by going through the source code of the labs and deployed the same.
AppsPropertyService service=new AppsPropertyService(applicationName);
service.setUserCredentials(adminUserName,Password);
GenericEntry entry = new GenericEntry();
entry.addProperty("oldOrgUnitPath",oldOrg);
entry.addProperty("orgUnitPath", newOrg);
service.update(new URL("https://www.google.com/a/feeds/orguser/2.0/"+cutomerId+"/"+MailIdofUserToBeMoved), entry);
customerid- is the unique key of the admin.

Resources