Click or drag to resize
OrderStatusInfoProviderGetOrderStatuses Method (Int32, Boolean)
Returns dataset of all order statuses matching the specified parameters.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
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: ObjectQueryOrderStatusInfo
See Also