on 28-09-2022 05:17 PM
I am trying to get the "Note" field from an order.
Here is my working code
var context = GetContext("au");
GetOrdersCall api = new GetOrdersCall(context);
api.OrderRole = TradingRoleCodeType.Seller;
api.OrderStatus = OrderStatusCodeType.InProcess;
System.DateTime calTo = System.DateTime.Now;
System.DateTime calFrom = calTo.AddHours(-10);
api.CreateTimeFrom = calFrom;
api.CreateTimeTo = calTo;
// Make API call.
OrderTypeCollection orders = api.GetOrders(calFrom, calTo, api.OrderRole, api.OrderStatus);
//OrderTypeCollection orders = api.GetOrders(collection);
var firstOrder = orders.Cast<OrderType>().FirstOrDefault();
I can get the order but there is no "Note" field available in the object. How can get the note field?
This is the note field I am after
on 30-09-2022 10:03 AM
I am no expert but there is an API call SetUserNotes, but in typical eBay fashion I don't think there is a GetUserNotes. I suggest you try your question on the US Developers Board, more chance of a detailed (correct?) answer there.
on 06-10-2022 11:10 AM
I will try that call and try to find a GeUserNote.