HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback

In previous Commerce versions, OrderStatus and OrderShipmentStatus were enums, so could not be extended. In Optimizely Customized Commerce 13, a breaking change converted OrderStatus and OrderShipmentStatus from enums to classes. As a result, you can no longer apply bitwise operations to instances of OrderStatus and OrderShipmentStatus.

To register a new OrderStatus:

To get all registered OrderStatuses, including built-in ones, use this code.

**Related blog post: **[New feature in Commerce 13: Extendable OrderStatus and OrderShipmentStatus](🔗)