Download page Creating and Updating Order and Order Line Items.
Creating and Updating Order and Order Line Items
A customer with a valid account can create an order from an existing opportunity. Using the order ID and a valid price list, you can create a cart from scratch and by browsing the product catalog you can navigate for a product and select the required product manually or can search for a product. You can enable searches using the search text field in the cart page and enable the user to search for a desired product by category, sub-category, or options available with the product. This section lists all the possible scenarios for which a customer can create a order and or view a product listing.
To create and update order and order line items
Create an order using Creating an Order
Create a cart for an order using Creating a Cart for an Order.