Skip to content
haseebmukhtar edited this page May 16, 2016 · 3 revisions

WooCommerce.Net Orders

RestAPI rest = new RestAPI("http://www.yourstore.co.nz/wc-api/v3/", "", "<WooCommerce Secret"); WCObject wc = new WCObject(rest);

//Get all orders var ord = await wc.GetOrders();

//Get all orders with status processing var parms = new Dictionary<string, string>() { { "status", "completed" } }; var ord = await wc.GetOrders(parms);