| OrderStatusInfoProviderGetOrderStatuses Method (Int32, Boolean) | 
            Returns dataset of all order statuses matching the specified parameters.
            
 
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
 Syntax
Syntaxpublic 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: 
ObjectQueryOrderStatusInfo See Also
See Also