You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by solverware May 29, 2024
I am trying to verify I'm using the GetLabels method from the FulFillmentInboundService to work. I am using the test case that Amazon provides for their sandbox. I get the error message:
"Parameter shipmentId has been specified as both a path parameter and a query parameter." Please advise!
public string GetLabelUrl(string shipmentID, AmazonCredential amazonCredential)
{
var service = new FulFillmentInboundService(amazonCredential);
var label = new ParameterGetLabels();
label.PageType = FikaAmazonAPI.Utils.Constants.PageType.PackageLabel_Letter_2;
label.LabelType = FikaAmazonAPI.Utils.Constants.LabelType.BARCODE_2D;
label.shipmentId = "348975493";
LabelDownloadURL url = null;
try
{
url = service.GetLabels(label);
}
catch (Exception exc)
{
throw;
}
return url.DownloadURL;
}
The text was updated successfully, but these errors were encountered:
Discussed in #738
Originally posted by solverware May 29, 2024
I am trying to verify I'm using the GetLabels method from the FulFillmentInboundService to work. I am using the test case that Amazon provides for their sandbox. I get the error message:
"Parameter shipmentId has been specified as both a path parameter and a query parameter." Please advise!
public string GetLabelUrl(string shipmentID, AmazonCredential amazonCredential)
{
var service = new FulFillmentInboundService(amazonCredential);
var label = new ParameterGetLabels();
label.PageType = FikaAmazonAPI.Utils.Constants.PageType.PackageLabel_Letter_2;
label.LabelType = FikaAmazonAPI.Utils.Constants.LabelType.BARCODE_2D;
label.shipmentId = "348975493";
LabelDownloadURL url = null;
try
{
url = service.GetLabels(label);
}
catch (Exception exc)
{
throw;
}
}
The text was updated successfully, but these errors were encountered: