Orders - XiaoFaye/WooCommerce.NET GitHub Wiki

WooCommerce.Net Orders

var rest = new RestAPI("http://www.yourstore.co.nz/wc-api/v3/", "<WooCommerce Key>", "<WooCommerce Secret");
var 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);