Deprecated feature

OrderCreate URL

This URL creates an order without any order items.

Controller command

com.ibm.commerce.order.commands.OrderCreateCmd

Implementation class

com.ibm.commerce.order.commands.OrderCreateCmdImpl

Commands called

SetOrderOrganizationCmd

StoreAndValidatePaymentCmd

RaiseOrderEventCmd

URL structure

http:// host_name/ path/
The fully qualified name of your Transaction server and the configuration path.

Parameter values

URL
Redirection URL.
description
Text description of the order.
outOrderName
The name-value pair to be added to the redirection URL.

The default name is "outOrderId" The value of the name-value pair is the reference number (order ID) of the created order.

Example

The following example creates an order without any order items:


    
http://myhostname/webapp/wcs/stores/servlet/OrderCreate?URL=OrderDisplay
    
&description=OrderwithoutOrderItems&outOrderName=OrderName 

Behavior

Create a new order record and update it with the following information:
  • Transfer status, status, type, description, channelId, currency, editorId and last update time

Call SetOrderOrganizationCmd to set the organization information for the order

Call StoreAndValidatePaymentCmd (EDP command) to create the payment container

Call RaiseOrderEventCmd to raise the ORDER_CREATION_EVENT

Exception conditions

None.