Refund Completed Event
To report an event when an order refund is completed.
Function Interface
events.refundCompleted(eventParameter:RefundCompletedEventParameter)
RefundCompletedEventParameter
| Parameter | Type | Required | Description |
|---|---|---|---|
| currency | string | ✔ | The store currency, following the ISO 4217 standard. |
| totalAmount | string | ✔ | The total value of the viewed products. |
| items | Item[] | ✔ | The items that are refunded. Refer to the Item resource page for details. |
| orderId | string | ✔ | The unique identifier of the order. |
Example
ASPixel.events.refundCompleted({ items: [{...}], currency: "USD", totalAmount: '500.00', orderId: "xxxxxxx" });