You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 Key>", "<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);