OrderStatusInfoProviderGetOrderStatuses Method (Int32, Boolean) |
Returns dataset of all order statuses matching the specified parameters.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax public static ObjectQuery<OrderStatusInfo> GetOrderStatuses(
int siteId,
bool onlyEnabled = false
)
Parameters
- siteId
- Type: SystemInt32
ID of the site the order statuses should be retrieved from. If set to 0, global order statuses are retrieved - onlyEnabled (Optional)
- Type: SystemBoolean
True - only enabled order statuses from the specified site are returned. False - all site order statuses are returned
Return Value
Type:
ObjectQueryOrderStatusInfoSee Also