Hello,
I'm trying to list the available Orderstatuses by name using the Razor Api but am unable to find a method to fetch these. Is there a way to fetch available orderstatuses without manually adding the TeaCommerce_OrderStatus table to my own schema?
Listing orderstatuses by name using Razor Api
Hello, I'm trying to list the available Orderstatuses by name using the Razor Api but am unable to find a method to fetch these. Is there a way to fetch available orderstatuses without manually adding the TeaCommerce_OrderStatus table to my own schema?
Thanks in advance, Anders
Hi Anders
You can use the OrderStatusService.Instance.GetAll(storeId) which is available in the TeaCommerce.Api.Services namespace.
Kind regards
Anders
Wonderful, thank you :)
is working on a reply...