WooCommerce.NET icon indicating copy to clipboard operation
WooCommerce.NET copied to clipboard

Order Notes

Open ian-jeffery opened this issue 3 years ago • 1 comments

Although I can see the OrderNote object, there is no OrderNote on teh WCObject class. How do i get the OrderNotes for an Order ?

ian-jeffery avatar May 31 '21 17:05 ian-jeffery

You need to retrieve the notes for each order using the Order Notes endpoint:

List<OrderNote> notes = await wc.Order.Notes.GetAll( orderId );

See Woo Docs

firestormza avatar Jun 15 '21 07:06 firestormza