Skip to content
Diemaco edited this page Dec 3, 2022 · 3 revisions

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);