Legacy platform

Change order address

After confirming an order, a customer can decide to get the products delivered at a different location. In such situations, the user must be able to modify the addresses conveniently.

Solution

The following section describes APIs, user exits, services, and other components.

A user can update the order address by using the "Change Order Address" related task in the Order Summary screen. The user can modify only the shipping address.

When the Order Summary screen loads, the getCompleteOrderDetails API is called to display the order summary. If the user has appropriate resource permissions, the "Change Order Address" related task is visible. The getCompleteOrderDetails API also fetches the modification permissions available for the order. If the SHIPTO modification type is allowed for the order, the user can modify the order address. Additionally, the order must be in a modifiable status to update the address.

When the user chooses to change the order address, the outputs of the getCompleteOrderDetails and getCompleteOrderLineList APIs are collectively used to display the shipping address of the order and order lines. If an address is not modifiable, the option to edit the address is not displayed.

When the user chooses to edit an address, the address capture window is displayed. For more information about implementation of address capture feature, see Capture addresses.

Address modification can result in changes to fulfillment details and order total. Therefore, the user must continue to follow the wizard to capture the fulfillment and payment details appropriately. After order modification, when the user proceeds to the next screen, the modifyFulfillmentOptions API is called to update the order address.

Implementation

The following section describes the rules that you must configure.

End-user impact

The user can update the incorrect order addresses or select the appropriate address to ensure that the products are shipped to the correct location.