Lists details about orders related to the customer. Lists only data for orders with the PAID or FULFILLED status. Data from orders with a CREATED or CANCELED status are not included. The data is updated also when an order changes status.
| Name | Type | Description |
|---|---|---|
| totalAmount | Integer | The total amount spent by the customer. The value is multiplied by 100 to represent 2 decimal places. For example `10000 cents` for `$100.00`. |
| totalCount | Integer | Total number of orders made by the customer. |
| averageAmount | Integer | Average amount spent on orders. `total_amount` ÷ `total_count`. The value is multiplied by 100 to represent 2 decimal places. For example `10000 cents` for `$100.00`. |
| lastOrderAmount | Integer | Amount spent on last order. The value is multiplied by 100 to represent 2 decimal places. For example `10000 cents` for `$100.00`. |
| lastOrderDate | OffsetDateTime | Timestamp representing the date and time of the customer's last order in ISO 8601 format. |