Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

label options are missing from Create Shipment in MerchantFullFillment code #12

Open
nafberger opened this issue Mar 30, 2020 · 1 comment

Comments

@nafberger
Copy link

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);
    }
@claytondus
Copy link
Owner

Added the new label options, but I lack the ability to test live. Use Claytondus.AmazonMWS.MerchantFulfillment 0.4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants