Open nafberger opened 4 years ago
https://github.com/claytondus/Claytondus.AmazonMWS/blob/5a21e41403acf8c598b7bc65ae62be8b91f4787f/Claytondus.AmazonMWS.MerchantFulfillment.Test/MWSMerchantFulfillmentServiceSample.cs#L132
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); }
Added the new label options, but I lack the ability to test live. Use Claytondus.AmazonMWS.MerchantFulfillment 0.4.0.
https://github.com/claytondus/Claytondus.AmazonMWS/blob/5a21e41403acf8c598b7bc65ae62be8b91f4787f/Claytondus.AmazonMWS.MerchantFulfillment.Test/MWSMerchantFulfillmentServiceSample.cs#L132
seems to me that label options are missing from your code
see here a direct download from amazon.