To report an event when an order refund is completed.

Function Interface

events.refundCompleted(eventParameter:RefundCompletedEventParameter)

RefundCompletedEventParameter

ParameterTypeRequiredDescription
currencystringThe store currency, following the ISO 4217 standard.
totalAmountstringThe total value of the viewed products.
itemsItem[]The items that are refunded. Refer to the Item resource page for details.
orderIdstringThe unique identifier of the order.

Example

preparing...