- GetCartListToGetOrder request mappings
The GetCartListToGetCartOrder communication uses the Customer ID (or member ID) from Sterling Call Center to retrieve a list of the customer's active carts in WebSphere Commerce. The SCWC_SDF_GetCartList service fetches the list of active carts, and if there are multiple active carts, the SCWC_SDF_GetCartList_Internal service calls the WCGetCartListToSterlingOrderList xsl component to transform the WebSphere Commerce response to the Sterling Order Management getOrderList output format.
- GetCartDetailsToGetOrder request mappings
The GetCartDetailsToGetOrder communication uses the cart ID in WebSphere Commerce to fetch details about the cart. The SCWC_SDF_GetCartDetails service fetches the cart details and calls the SCWC_SDF_GetCartList_Internal service, which transforms the WebSphere Commerce response to Sterling Order Management getCompleteOrderDetails API output format.
- LockCartToProcessOrder request mappings
The LockCartToProcessOrder communication checks the cart ID in the order details in WebSphere Commerce to verify that a draft order is created. Draft orders are created and the CREATE_DRAFT_ORDER.ON_SUCCESS event is triggered when the CSR pulls the cart. The event invokes the SCWC_SDF_LockWCShoppingCart service. The service locks the cart in WebSphere Commerce and calls the SCWC_SDF_LockWCShoppingCart_Internal service, which transforms the WebSphere Commerce message into Sterling Order Management format. When a CSR locks a cart, the CSR can work on the cart for the shopper and create an order for the shopper. The shopper cannot work on the cart.
- UnlockCartToProcessOrder request mappings
The UnlockCartToProcessOrder communication checks the cart ID in the order details in WebSphere Commerce to verify that draft order is canceled or deleted by the CSR. The ORDER_CHANGE.DELETE_ORDER event is invoked when a CSR cancels or deletes a draft order. The event triggers the SCWC_SDF_UnlockWCShoppingCart service, which unlocks the shopper's cart and calls the SCWC_SDF_UnlockWCShoppingCart_Internal service. After the cart is unlocked, the shopper can update the cart. The internal services transforms the WebSphere Commerce message into Sterling Order Management format.
- ChangeOrderOnCancel request mappings
The changeOrderOnCancel communication maps the cancellation of an order in Sterling Order Management to WebSphere Commerce . When an order is canceled from Sterling Order Management or Sterling Call Center, ChangeOrderOnCancel also updates promotion usage statistics in the WebSphere Commerce Promotion Engine through a call to the CancelPromotionCalUsage service.
- CreateOrderOnSuccess request mappings
The CreateOrderOnSuccess communication maps the successful creation of an order in Sterling Order Management with WebSphere Commerce. When a shopper submits an order, the order is created in Sterling Order Management through a call to the CreateOrder API. Upon successful creation, the SCWC_SDF_createOrderOnSuccess service creates a message that is then transferred back to WebSphere Commerce. WebSphere Commerce receives the acknowledgment and updates the order status to "Successfully Transferred". This also updates the WebSphere Commerce promotion usage statistics through the FinalizePromotionCalUsage service.
- ChangeOrderOnSuccess request mappings
When an order is changed from Sterling Order Management or Sterling Call Center, order price and promotion information is retrieved from WebSphere Commerce. The changeOrderOnSuccess event is used to update promotion usage statistics in the WebSphere Commerce Promotion Engine by calling CancelPromotionCalUsage or UpdatePromotionCalUsage.
- ConfirmDraftOrderOnSuccess request mappings
The ConfirmDraftOrderOnSuccess communication maps a successful draft order creation in Sterling Order Management or Sterling Call Center to WebSphere Commerce. This service is also used to update promotion usage statistics in the WebSphere Commerce Promotion Engine through a call to the FinalizePromotionCalUsage service.
- getCompleteOrderDetails
The getCompleteOrderDetails communication maps historical order information between Sterling Order Management and WebSphere Commerce. When a shopper wants to view the details of an order that exists in Sterling Order Management, the getCompleteOrderDetails API is called. If the shopper wants to reorder and create a cart that is based on these order details, WebSphere Commerce calls the same API.
- Get inventory availability
The get inventory availability communication maps the WebSphere Commerce GetInventoryAvailability request to the Sterling Order Management monitorItemAvailability (for an online store call) or findInventory (for a physical store call). It is possible to cache the result, which eliminates a real time call to Sterling Order Management for each inventory check and drastically increases performance.
- getItemPriceUE
The GetItemPriceUE mappings allow for a Customer Service Representative (CSR) using the Sterling Call Center, the Sterling Store, or other Order Management channel to interface with WebSphere Commerce for pricing requests, coupon validation, or order creation.
- getOrderList
The GetOrderList mappings allow WebSphere Commerce to return historical order information from Sterling Order Management. When a shopper wants to view a history of orders in the My Account section, WebSphere Commerce returns a consolidated order history list to the shopper. The list includes both orders that were successfully created in Sterling Order Management, and orders that were not successfully created, but whose records are available locally in WebSphere Commerce. WebSphere Commerce uses the Sterling Order Management GetOrderList API to retrieve an order history.
- getOrderPriceUE
The GetOrderPriceUE mappings allow for orders created in Sterling Order Management or Sterling Call Center to retrieve unit prices, promotion discounts, free gifts, and shipping promotion discount information from WebSphere Commerce.
- getPricingRuleDetailsUE
The GetPricingRuleDetailsUE mappings are used for Sterling Order Management to retrieve specific promotion details from WebSphere Commerce .
- REAL_TIME_AVAILABILITY_CHANGE event
The Sterling Order Management Real-Time Availability Monitor (RTAM) uses a time-triggered transaction to detect inventory changes beyond specified levels and triggers a REALTIME_AVAILABILITY_CHANGE event (in and later, the REALTIME_AVAILABILITY_CHANGE_LIST event). This event starts a service that publishes inventory information to the WebSphere Commerce Inventory Cache.
- REAL_TIME_AVAILABILITY_CHANGE_LIST event
The Sterling Order Management Real-Time Availability Monitor (RTAM) uses a time-triggered transaction to detect inventory changes beyond specified levels and triggers a REALTIME_AVAILABILITY_CHANGE_LIST event. This event starts a service that publishes inventory information to the WebSphere Commerce Inventory Cache.
- Reserve inventory
The Reserve Inventory communication maps the WebSphere Commerce ProcessInventoryRequirement request to the Sterling Order Management reserveAvailableInventory API call. As both WebSphere Commerce and Sterling Order Management are customizable, assumptions are made with the mapping from one system to the other.
- syncInventory
If RTAM triggers a REALTIME_AVAILABILITY_CHANGE_LIST event and the inventory push is triggered in Monitor Option 1 or Monitor Option 3 mode, the availability change message from Sterling Order Management is routed to the SyncInventoryAvailability Service and sent to the WebSphere Commerce Inventory service.
- Transfer order
The transfer order communication maps the WebSphere Commerce ProcessOrder request to the Sterling Order Management createOrder API call. As both WebSphere Commerce and Sterling Order Management are customizable, assumptions are made with the mapping from one system to the other.
- validateCouponUE
The validateCouponUE mappings allow for validation of coupons between Sterling Order Management and WebSphere Commerce. When a shopper adds a manual coupon from Sterling Call Center, validateCouponUE is implemented to call WebSphere Commerce for validation of entered coupons against their definitions in WebSphere Commerce.