AI OnAI Off
You can use this parameters and options for orders modified in last 30 days
OrderSearchParameters parameters = new OrderSearchParameters
{
SqlMetaWhereClause = $"Meta.Modified < GETDATE() - 30 ",
};
OrderSearchOptions options = new OrderSearchOptions {Namespace = "Mediachase.Commerce.Orders"};
Or use Meta.Created for orders created in last 30 days
Hi All,
I am trying to fetch past 30 days order history(similar to episerver commerce admin functionality).
I am able to fetch for a particular customer but not able to fetch as whole.
Can you please let me know if there are any existing methods or api's related to it.
Thanks in advance.
Regards,
Manik