Work with exchanges

The following widgets allow an agent to create and review exchanges.

Create an exchange

This widget provides an interface that can be used by an agent to initiate or create an exchange request. This interface also allows agents to select the items and quantities to be exchanged. Additionally, the agent may add a reason for the exchange. Once the exchange has been submit, a new exchange order is created.

Widget Name: agentCreateExchange

Display Name: Create Exchange - Agent

Supported Page Types: agentCreateExchangePageType

Layouts: Create Exchange Layout - Agent

Elements: This widget uses the back-button and custom-properties global elements. To understand how these elements are used, refer to the widget’s code view.

View exchange history details

This widget displays exchange history for the order. It also displays exchange-specific details, as well as a way for the agent to take actions, such as receive or process the exchange.

Widget Name: agentExchangeHistoryDetails

Display Name: Exchange History - Agent

Supported Page Types: agentOrderDetails page

Layouts: Order Details Layout - Agent

Elements: None

Adjust refunds

This widget displays an interface that allows an agent to initiate the refund process. The agent may adjust the system-generated refund before processing the refund.

Widget Name: agentRefunds

Display Name: Refunds - Agent

Supported Page Types: agentRefundsPageType

Layouts: Refunds Layout - Agent

Elements: This widget uses the back-button and custom-properties global elements. To understand how these elements are used, refer to the widget’s code view.