Hi,
I would like to know if there is a way to filter orders by custom field like Metafield?
the below code works fine with tag but when i try another field like "note" it doesnt work :
public class TaggedOrderListFilter : OrderListFilter
{
public string Tag { get; set; }
}
var orderService = new OrderService(domain, token);
var filter = new TaggedOrderListFilter
{
Tag = "readytoship",
Status = "any"
};
var listResult = await orderService.ListAsync(filter);
Hi, I would like to know if there is a way to filter orders by custom field like Metafield?
the below code works fine with tag but when i try another field like "note" it doesnt work :
public class TaggedOrderListFilter : OrderListFilter { public string Tag { get; set; } }
var orderService = new OrderService(domain, token); var filter = new TaggedOrderListFilter { Tag = "readytoship", Status = "any" }; var listResult = await orderService.ListAsync(filter);