Reference > Shop flow URLs > Order Management subsystem URLs > Orders URLs
OrderCreate URL
This URL creates an order without any order items.
Controller command
Implementation class
Commands called
SetOrderOrganizationCmd
StoreAndValidatePaymentCmd
RaiseOrderEventCmd
URL structure
- http:// host/ path/
- The fully qualified name of the WebSphere Commerce Server and the configuration path.
name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />
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.
Related concepts
Related reference
Order Management subsystem URLs