ShoppingServiceCreateOrder Method |
Validates and creates order from current shopping cart. If order creation was successful empties shopping cart.
If order requires an user account, handles its creation.
Also tracks order conversion, sends order notifications and logs purchase activities.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax Exceptions Exception | Condition |
---|
InvalidOperationException | Thrown when validation fails, or when strict inventory management is enabled and trying to update inventory below zero to an item which doesn't allow so or when strict inventory management is enabled and trying to update inventory below zero to an item which doesn't allow so (SKUSellOnlyAvailable is true). |
See Also