I get a list of orders using the eBay getorder API, but now I want to select an order and update its status.
How can i do this? Please any help would be appreciated
I use some code on the Internet and it shows “success” when the status changes. But when I reload the list of orders (or if I use shipped=falsethe API), it still ends.
The code:
ApiContext context = new ApiContext();
context.ApiCredential.eBayToken = "token";
context.SoapApiServerUrl = "https://api.ebay.com/wsapi";
context.ApiLogManager = new ApiLogManager();
context.ApiLogManager.ApiLoggerList.Add(new FileLogger("log.txt", true, true, true));
context.ApiLogManager.EnableLogging = true;
context.Version = "705";
context.Site = SiteCodeType.UK;
CompleteSaleCall apicall = new CompleteSaleCall(context);
apicall.OrderLineItemID = "123467585959-0";
apicall.Shipped = true;
apicall.Execute();
Console.WriteLine(apicall.ApiResponse.Ack);
thank
source
share