claytondus / claytondus.amazonmws Goto Github PK
View Code? Open in Web Editor NEW.NET Standard fork of Amazon MWS client
Home Page: https://developer.amazonservices.com/
License: Apache License 2.0
.NET Standard fork of Amazon MWS client
Home Page: https://developer.amazonservices.com/
License: Apache License 2.0
Hi there,
I love this library and it has been a reliable companion for my product. Is it me or is there support missing for Inventory queries? For example: http://docs.developer.amazonservices.com/en_US/fba_inventory/FBAInventory_ListInventorySupply.html. How can I request this data using this library? Am I missing something?
Thanks!
Baris
This is a test issue triggered from Zapier.
When using the GetOrder, ListOrders or ListOrdersByNextToken endpoints, business orders will sometimes return an XML element for TaxRegistrationDetails
:
<TaxRegistrationDetails>
<member>
<taxRegistrationId>GB0123456789</taxRegistrationId>
<taxRegistrationAuthority>
<country>GB</country>
</taxRegistrationAuthority>
<taxRegistrationType>VAT</taxRegistrationType>
</member>
</TaxRegistrationDetails>
This is a child of the <Orders />
element and doesn't seem to documented, but is showing on the MWS Scratchpad.
Not sure if this is something that can be implemented or not?
Hi, the following fields are missing from the Item object:
ItemWeight
ItemDescription
ItemLevelSellerInputsList (New type)
I need the weight for International shipping :-)
Hi @claytondus, I found that you haven't published Claytondus.AmazonMWS.Reports package, so I'm just wondering if you're doing it?
Hello, i try to use the GetMyFeesEstimate API and get every time a Malformed error. The critical line is the Amount = 12.99M with 13 it works fine but i need the exect value.
FeesEstimateRequestList feesEstimateRequestList = new FeesEstimateRequestList()
{
FeesEstimateRequest = new List<FeesEstimateRequest>()
{
new FeesEstimateRequest()
{
MarketplaceId = "A1PA6795UKMFR9",
IdType = "ASIN",
IdValue = "B07P91KLRM",
IsAmazonFulfilled = false,
Identifier = "request1",
PriceToEstimateFees = new PriceToEstimateFees()
{
ListingPrice = new MoneyType()
{
Amount = 12.99M,
CurrencyCode = "EUR",
},
}
}
}
};
Hi,
can you integrate or any quick hack?
https://github.com/amzn/selling-partner-api-docs/blob/main/references/solicitations-api/solicitations.md in this lib?
Hello! Some of the packages are targeting netcoreapp1.1
instead of netstandardX
. Not sure if it's intentional, reporting it just in case.
Hi @claytondus, I found that you haven't published Claytondus.AmazonMWS.Feeds
package, so I'm just wondering if you're going to?
This is from a Zapier webhook
Hi ,
Could you please guide on how to mock the api for testing?
Hi,
Thanks for porting it into .net core - I'm planning to use it in a commercial library/application, can you clarify whether it is permitted? A license doc included in the library will be very helpful.
Thank you.
seems to me that label options are missing from your code
see here a direct download from amazon.
public CreateShipmentResponse InvokeCreateShipment()
{
// Create a request.
CreateShipmentRequest request = new CreateShipmentRequest();
string sellerId = "example";
request.SellerId = sellerId;
string mwsAuthToken = "example";
request.MWSAuthToken = mwsAuthToken;
ShipmentRequestDetails shipmentRequestDetails = new ShipmentRequestDetails();
request.ShipmentRequestDetails = shipmentRequestDetails;
string shippingServiceId = "example";
request.ShippingServiceId = shippingServiceId;
string shippingServiceOfferId = "example";
request.ShippingServiceOfferId = shippingServiceOfferId;
string hazmatType = "example";
request.HazmatType = hazmatType;
LabelFormatOptionRequest labelFormatOption = new LabelFormatOptionRequest();
request.LabelFormatOption = labelFormatOption;
List<AdditionalSellerInputs> shipmentLevelSellerInputsList = new List<AdditionalSellerInputs>();
request.ShipmentLevelSellerInputsList = shipmentLevelSellerInputsList;
return this.client.CreateShipment(request);
}
The package would provide a much more friendly interface if it took care of handling all logic associated with NextToken
requests and their responses.
e.g. in case of ListOrders an iterator that yields all Orders
for the specified query parameters would lead to a much DRYer code.
Something along the lines of:
foreach(var order in mwsClient.YieldAllOrders(CreatedAfterDate, marketPlaceIds))
{
// do something with order
}
In the same wake it would be worthwhile considering to unify NextToken
objects with their counterparts.
After all a ListOrderResponseByNextToken
looks exactly like ListOrderResponse
, except for the NextToken
property.
It would be highly desirable to have access to the remaining quota of a response type to avoid throtteling. Unfortunately I never found quotaMax
, quotaRemaining
and quotaResetsAt
always to be null when using your package. Request types used: ListOrders
, ListOrderItems
and ListFinancialEvents
and their respective next token counterpart.
The reason those are missing is likely they are not provided in the first place by amazon's API. Their docs could be read that only those requests with an hourly cap provide quotas in their response headers:
https://docs.developer.amazonservices.com/en_DE/dev_guide/DG_Throttling.html
See also: https://stackoverflow.com/questions/34961745/getting-amazon-mws-throttling-limits
Could you maybe endow your package with a fallback mechanism that keeps track of requests for us and calculates quotaRemaining
and quotaResetsAt
?
Hello,
i have this issue sice yesterday. Some important datas now null:
"ShippingAddress":{
"Name":null,
"AddressLine1":null,
"AddressLine2":null,
"AddressLine3":null,
"County":null,
},
"BuyerName":null,
"BuyerCounty":null,
"FulfillmentChannel":"MFN",
Can someone help me? I need this information to get the orders in my system.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.