Comments (14)
Can you point out me which API would you like to use from below API?
http://docs.developer.amazonservices.com/en_IN/dev_guide/DG_IfNew.html
from amazon-mws.
Hi,
It's the reports api. I've tried sending the query GET_CATEGORY_LISTINGS_DATA via requestReport and it sends it properly (breaking my category reports function in amazon), but it seems that it needs at least one param with the parent category or something like that. I don't know exactly.
Thank you so much.
from amazon-mws.
@jesusvalle I did some research on this.
We have implemented all API calls which does support by Amazone MWS ScratchPad. Have you tried same API call using it?
Thank You
from amazon-mws.
Hi again,
Yes, let me explain it better:
I think that the api call works fine, but this specific report query probably needs an extra param to work properly (like the category id, or the category name). Otherwise, the query breaks the amazon category reports system, and i have to call amazon to make them fix it every time.
I've searched all amazon documentation, but since it's a secret function, there's nothing on internet to know how to make it work properly from the api. Now, the only way to get the category report from amazon (the most complex items report, and the only one with bullet points) it's requesting it from seller central web manually.
So, the question is: do you know how can i pass a category in GET_CATEGORY_LISTINGS_DATA report query throught a parameter with the api?
One more time, thanks a lot for your attention, and sorry for the incoveniences.
from amazon-mws.
For now, my call it's like this:
this.amazonMws.reports
.search({
Action: 'RequestReport',
MWSAuthToken: this.amzAccountData.MWSAuthToken,
ReportType: 'GET_CATEGORY_LISTINGS_DATA' <-- The type which breaks amazon
SellerId: this.amzAccountData.SellerId,
Version: '2009-01-01'
})
And as i can see, in https://mws.amazonservices.es/scratchpad/index.html there's an extra field called ReportOptions. Maybe can i pass something from there?
from amazon-mws.
@jesusvalle
https://prnt.sc/iu94v6
Are you talking about this?
from amazon-mws.
Yes, it is
from amazon-mws.
@jesusvalle
I am not sure about that as there is no documentation available for that.
What I can help is you can pass an option directly to the API call just add the field name given on to the
Amazon ScratchPad directly. e.g if you would like to pass extra options you can do that directly. See below.
amazonMws.reports.search({
'Version': '2009-01-01',
'Action': 'GetReport',
'SellerId': 'SELLER_ID',
'MWSAuthToken': 'MWS_AUTH_TOKEN',
'ReportType':'REPORT_TYPE',
'ReportOptions':'REPORT_OPTIONS'
}, function (error, response) {
if (error) {
console.log('error ', error);
return;
}
console.log('response', response);
});
For debugging purpose use this, so you can watch your request.
export DEBUG=MWS:*
So if you do so then you will able to see the console as below :
MWS:AmazonMwsResource params { host: 'mws.amazonservices.com', port: '443', path: '/Reports/2009-01-01?Version=2009-01-01&Action=GetReport&SellerId=SELLER_ID&MWSAuthToken=MWS_AUTH_TOKEN&ReportId=REPORT_ID&AWSAccessKeyId=YOUR_KEY&Timestamp=2018-03-21T11%3A48%3A03.752Z&SignatureVersion=2&SignatureMethod=HmacSHA256&Signature=C8l3zyIBxtXPnTmKNBScSVzbMt6b00mrQ4gU9KqDJpc%3D', method: 'GET', headers: { Accept: 'text/xml', 'Content-Type': 'text/xml', 'Content-MD5': 'xHMCEB8D4JpBzqm1moUIUg==' } }
I am closing this issue as basically that is not supported by Amazon MWS itself.
However, We can keep continuing the discussion here.
Thank You
from amazon-mws.
Yes, i know the fact about passing the same field from scratchpad in the api. But i still thinking in which format i have to pass the category to not break everything.
About the documentation, there's nothing on it, 100% confirmed.
Thank you.
from amazon-mws.
Do you mean that in MWS Scratchpad you getting expected response?
from amazon-mws.
http://docs.developer.amazonservices.com/en_US/reports/Reports_ReportType.html
Here is the list of different APIs available for report by category.
from amazon-mws.
I know them, and like i've said before, it's a secret report type not listed in amazon's documentation.
from amazon-mws.
hmm. I understand.
In any case, let me know if you will able to make the call though ScratchPad or Library. I'll also do research on that and get back to you if I found anything.
from amazon-mws.
@jesusvalle Hi sir were you able to request properly the GET_CATEGORY_LISTINGS_DATA?
from amazon-mws.
Related Issues (20)
- Several problems with how financial events are parsed HOT 4
- Is there any way to pass proxy params when create mws instance? HOT 2
- Problem with JSON response when multiple items are returned HOT 3
- Cannot read property 'createUrlData' of undefined @\node_modules\amazon-mws\lib\AmazonMwsMethod.js:33:28 HOT 2
- ListMarketplaceParticipations function NextToken response HOT 1
- GetEligibleShippingServices Return GenericError HOT 2
- Error in parsing to json HOT 4
- Add support for the Easy Ship API HOT 1
- Add support for the Shipment Invoicing API HOT 1
- Concurrent SumbitFeed requests fail because of md5 value. HOT 2
- Error: amazon_mws_1.default is not a constructor when using TypeScript and Nest.js HOT 1
- ListOrders not working
- Invoice Upload Feed does not work HOT 1
- Provide TypeScript type definitions for MWS JSON responses HOT 1
- Security vulnerability fast-csv HOT 2
- AmazonMwsAPIError 403 on any request
- 414 Request-URI too large HOT 3
- Is this application violated the Amazon Acceptable Use Policy(AUP) ?
- SignatureDoesNotMatch error
- Japanese support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-mws.