Legacy platform

View or modify an order

Once orders are created, the store associate should be able to search for an order and modify the order as needed.

Solution

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

A store associate can search for orders, select the appropriate order, and modify the order as required.
  • When the store associate opens a draft order, the View Cart screen is displayed where the store associate can edit the order. If the draft order is created for a different channel and seller organization, it is automatically modified to reflect the current store as the seller organization and Store as the channel. Similarly, if the draft order contains Carry order lines, the current store is made the ship node for these order lines. Further, the draft order is also updated to reflect the latest pricing and coupon information for coupons which are not inactive or expired. Inventory validation is also done before payment processing and payment details are not saved.
  • If the order is a confirmed order, the Order Summary screen is displayed. The store associate can click the Edit button on the Order Summary screen to edit an order. The Edit Order screen is displayed where the store associate can begin to edit the order. The getCompleteOrderLineList API is called to retrieve the line-level details such as the ordered quantity, product attributes, and so on. The getCompleteOrderDetails API is called to retrieve the header-level details such as the order total, coupons applied, and so on. The getRuleDetails API is called to retrieve the WSC_ORDER_AGE rule, which provides the number of days from the order creation date, beyond which the order cannot be modified. If the current date is past the order age, the store associate cannot add a new product to the order or change a variation product but other modifications are possible. The store associate can edit an order in the following ways:
    • Add a new product.
    • Remove an order line.
    • Modify order line quantity.
    • Change a variation product.
    • Cancel order
    • Add notes
    • Change the delivery method of an order line.
    • Change the pickup store of an order line.
    • Change the shipping address of an order.
    • Change the shipping address of order lines.
    • Apply coupons or promotions to an order.
    Notes:
    • Order modifications are not supported for orders with delivery order lines created in Sterling Call Center.
    • Orders in Shipped and Carried status cannot be modified.
    • If the order is in a pending status when the Edit Order screen is launched, the Edit button is disabled and a lock icon is displayed adjacent to the order number, which indicates that the order is locked by a store associate for editing and it can be modified later. Holds may be applied as a part of pending changes but presence of holds does not indicate pending changes.