This pipelet creates an Order based on the specified Basket. If the order could be created successfully, it will be in status CREATED. The Basket will be removed from the session and marked for removal.
This pipelet ends on the ERROR exit if any of the following conditions are encountered:
The pipelet removes all empty shipments of the basket before creating the order. A shipment is empty if
The pipelet decrements inventory for all products contained in the order. It redeems all coupons contained in the order.
This pipelet must not be used with ReserveInventoryForOrder pipelet or dw.order.Basket#reserveInventory() in the same request.
If the basket contains product or gift certificate line items associated with product list items, the pipelet updates the purchase the product list items. For example, if the basket contains an item added from a gift registry, the purchase history of the respective gift registry item is updated.