---
id: event
sidebar_label: Event
hide_title: true
---

## Event

### Example

```json
{
  "eventId": "return-360470899",
  "eventType": "ReturnMade",
  "occurredAt": "2021-02-25T16:31:06.5361857+01:00",
  "metaData": {
    "by": "test.testsson@walley.se",
    "originatedFrom": "MerchantHub",
    "returnedRows": [
      {
        "originalQuantity": 4.0,
        "rowId": "MTUyMmRlc2lnbmxldHRlciBtdWdnIEYxNzAuNjc4MDM2ODI0MUZhbHNl",
        "groupId": "MTUyMmRlc2lnbmxldHRlciBtdWdnIEYxNzAuNjc=",
        "articleNumber": "1522",
        "description": "designletter mugg F",
        "price": 170.67,
        "totalPrice": 341.34,
        "vatRate": 25.0,
        "vatAmount": 68.27,
        "quantity": 2.0,
        "unit": "",
        "currency": "SEK"
      }
    ],
    "vatAmount": 324.52,
    "purchaseId": "80368241",
    "amount": 1622.62
  }
}
```

### Properties

| Property       | Explanation           |
| -------------- | --------------------- |
| **eventId**    | The address recepient |
| **eventType**  | First Address line    |
| **occurredAt** | Second Address line   |
| **metaData**   | C/O Address           |

#### `.metaData`

| Property           | Explanation                                                                                  |
| ------------------ | -------------------------------------------------------------------------------------------- |
| **by**             | How triggered the event to occur                                                             |
| **originatedFrom** | What system that triggered the event to occur                                                |
| **occurredAt**     | Timestamp when event occurred                                                                |
| **\*\*\*\*\*Rows** | Array of affected activatedRows/returnedRows. See [Row](/docs/manage/orders/models/row) |
| **vatAmount**      | Total VAT amount                                                                             |
| **purchaseId**     | The purchase identifier                                                                      |
| **amount**         | The affected amount                                                                          |
