The following action elements can be used in scenarios that must respond to abandoned order activity:

Set Order’s Last Updated Date

Updates an order to reflect the date and time it was most recently modified by the owner.

Use this action element to update the order to reflect the fact that user activity has occurred. User activity can include adding items, removing items, changing item quantities, merging orders, and checking out orders.

Examples:

Use the second example when the action is invoked as a result of the merging of two orders. In this case, the action should update the date and time of the destination order, not the source order.

Reanimate Abandoned Order

Identifies an abandoned order as reanimated.

Use this action element when an abandoned order has been modified and should, therefore, be reanimated. Modifications can include adding items, removing items, changing item quantities, merging orders, and checking out orders.

Examples:

Use the second example when the action is invoked as a result of the merging of two orders. In this case, the action should reanimate the destination order, not the source order.

Convert Abandoned Order

Identifies a previously abandoned order as converted.

Use this action element when a previously abandoned order has been checked out by the owner and, therefore, should be identified as converted.

Example:

Log Promotion Information

Calculates and records the number and total value of the promotions applied to a converted order.

Use this action element when a previously abandoned order has been converted, and you want to log its promotion-related information.

Example: