Reference > Shop flow URLs > Order Management subsystem URLs > Orders URLs
AdvancedOrderEditEnd URL
Closes an order for editing and removes the editor ID from the order, that is this URL removes the EDITOR_ID values from the order in the ORDERS table.
An order can be placed into the major status state of EDT by using the AdvancedOrderEditBegin URL, at which time the value of the WebSphere Commerce user (member ID) is attached to the order in the ORDERS table and is recorded as the editor ID. The AdvancedOrderEditEnd URL can be used to remove the associated member ID from the order.
The AdvancedOrderEditEnd URL can be used to close the editing of an order only if the order is in the NEW, PRC, or EDT state. The major status will not change after the invocation.
For the order to be processed, it does not have to be released from the control of a user (such as a CSR). When the order is processed by using the OrderProcess command, the system automatically invokes the AdvancedOrderEditEndCmd controller command to remove the member ID that was attached to the order.
URL structure
name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />
- http:// host_name/path/
- The fully qualified name of the WebSphere Commerce Server and the configuration path.
Parameter values
- orderId
- Required: The identifier of the order undergoing the edit or change.
Example
The following example causes the EDITOR_ID value in the ORDERS table for order 112233 to be removed:
http://host_name/webapp/wcs/stores/servlet/AdvancedOrderEditEnd?orderId=112233
Behavior
- Calls the AdvancedOrderEditEndCmd controller command to close editing of the order.
- Removes the EDITOR_ID from the order in the ORDERS table so that no-one is associated with editing the order.
Exception conditions
- User is not authorized to invoke the command.
- Authorized user has not logged in.
- Invalid major status: Order is in a state other than PRC, EDT, or NEW.
Related concepts
Related reference
Order Management subsystem URLs