HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Order system overview

Describes the order management APIs in Optimizely Commerce (PaaS) and provides an overview of components used when working with orders.

Order APIs

You should avoid casting back and forth between concrete Order classes such as OrderGroup and OrderForm, and abstraction interfaces such as IOrderGroup and IOrderForm. For example, you should use only one API from the time you load a cart or purchase order until you save it. While this is not always possible, doing it whenever possible helps avoid hidden problems when casting.

Order objects

The object model for the Optimizely Commerce (PaaS) order system is below. For information, see Order manipulation.

Commerce (PaaS) 13 and higher

1418

Commerce (PaaS) 12

867

Commerce (PaaS) 10 and 11

1022

Order manipulation

The diagram below represents how to create, edit, and delete orders. For information, see Order manipulation.

557

Order processing

The diagram below represents how to process different actions for orders. For information, see Order processing.

667

Order calculations

The diagram below represents how to work with calculating totals for orders. See Calculate orders.

619