Code Monkey home page Code Monkey logo

claytondus.amazonmws's People

Contributors

claytondus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

claytondus.amazonmws's Issues

Issue ListOrder

Hello, i set no CreatedBefore Datetime but the response have the CreatedBefore and not the CreatedAfter tag.

image

image

Support for TaxRegistrationDetails on orders

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?

Item fields missing

Hi, the following fields are missing from the Item object:

ItemWeight
ItemDescription
ItemLevelSellerInputsList (New type)

I need the weight for International shipping :-)

Reports package

Hi @claytondus, I found that you haven't published Claytondus.AmazonMWS.Reports package, so I'm just wondering if you're doing it?

Malformed Input

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",
                            },
                        }
                    }
                }
            };

Feeds package

Hi @claytondus, I found that you haven't published Claytondus.AmazonMWS.Feeds package, so I'm just wondering if you're going to?

Is the library open source?

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.

label options are missing from Create Shipment in MerchantFullFillment code

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);
    }

Friendlier API for NextToken logic.

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.

No Quotas in ResponseHeaderMetaData - Fallback mechanism?

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?

Important Datas NULL

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.