> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/orders/llms.txt)
> Source: https://docs.saleor.io/api-reference/orders/objects/order-event

# OrderEvent Object

History log of the order.

```graphql
type OrderEvent implements Node {
  id: ID!
  date: DateTime
  type: OrderEventsEnum
  user: User
  app: App
  message: String
  email: String
  emailType: OrderEventsEmailsEnum
  amount: Float
  paymentId: String
  paymentGateway: String
  quantity: Int
  composedId: String
  orderNumber: String
  invoiceNumber: String
  oversoldItems: [String!]
  lines: [OrderEventOrderLineObject!]
  fulfilledItems: [FulfillmentLine!]
  warehouse: Warehouse
  transactionReference: String
  shippingCostsIncluded: Boolean
  relatedOrder: Order
  related: OrderEvent
  discount: OrderEventDiscountObject
  reference: String
}
```

<a id="fields"></a>

### Fields

<a id="id"></a>

#### [`id`](#id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

ID of the event associated with an order.

<a id="date"></a>

#### [`date`](#date) ● [`DateTime`](/api-reference/miscellaneous/scalars/date-time.md)

Date when event happened at in ISO 8601 format.

<a id="type"></a>

#### [`type`](#type) ● [`OrderEventsEnum`](/api-reference/orders/enums/order-events-enum.md)

Order event type.

<a id="user"></a>

#### [`user`](#user) ● [`User`](/api-reference/users/objects/user.md)

User who performed the action.

<a id="app"></a>

#### [`app`](#app) ● [`App`](/api-reference/apps/objects/app.md)

App that performed the action. Requires of of the following permissions: MANAGE\_APPS, MANAGE\_ORDERS, OWNER.

<a id="message"></a>

#### [`message`](#message) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Content of the event.

<a id="email"></a>

#### [`email`](#email) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Email of the customer.

<a id="email-type"></a>

#### [`emailType`](#email-type) ● [`OrderEventsEmailsEnum`](/api-reference/orders/enums/order-events-emails-enum.md)

Type of an email sent to the customer.

<a id="amount"></a>

#### [`amount`](#amount) ● [`Float`](/api-reference/miscellaneous/scalars/float.md)

Amount of money.

<a id="payment-id"></a>

#### [`paymentId`](#payment-id) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The payment reference from the payment provider.

<a id="payment-gateway"></a>

#### [`paymentGateway`](#payment-gateway) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The payment gateway of the payment.

<a id="quantity"></a>

#### [`quantity`](#quantity) ● [`Int`](/api-reference/miscellaneous/scalars/int.md)

Number of items.

<a id="composed-id"></a>

#### [`composedId`](#composed-id) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Composed ID of the Fulfillment.

<a id="order-number"></a>

#### [`orderNumber`](#order-number) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

User-friendly number of an order.

<a id="invoice-number"></a>

#### [`invoiceNumber`](#invoice-number) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Number of an invoice related to the order.

<a id="oversold-items"></a>

#### [`oversoldItems`](#oversold-items) ● [`[String!]`](/api-reference/miscellaneous/scalars/string.md)

List of oversold lines names.

<a id="lines"></a>

#### [`lines`](#lines) ● [`[OrderEventOrderLineObject!]`](/api-reference/orders/objects/order-event-order-line-object.md)

The concerned lines.

<a id="fulfilled-items"></a>

#### [`fulfilledItems`](#fulfilled-items) ● [`[FulfillmentLine!]`](/api-reference/orders/objects/fulfillment-line.md)

The lines fulfilled.

<a id="warehouse"></a>

#### [`warehouse`](#warehouse) ● [`Warehouse`](/api-reference/products/objects/warehouse.md)

The warehouse were items were restocked.

<a id="transaction-reference"></a>

#### [`transactionReference`](#transaction-reference) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The transaction reference of captured payment.

<a id="shipping-costs-included"></a>

#### [`shippingCostsIncluded`](#shipping-costs-included) ● [`Boolean`](/api-reference/miscellaneous/scalars/boolean.md)

Define if shipping costs were included to the refund.

<a id="related-order"></a>

#### [`relatedOrder`](#related-order) ● [`Order`](/api-reference/orders/objects/order.md)

The order which is related to this order.

<a id="related"></a>

#### [`related`](#related) ● [`OrderEvent`](/api-reference/orders/objects/order-event.md)

The order event which is related to this event.

<a id="discount"></a>

#### [`discount`](#discount) ● [`OrderEventDiscountObject`](/api-reference/orders/objects/order-event-discount-object.md)

The discount applied to the order.

<a id="reference"></a>

#### [`reference`](#reference) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The reference of payment's transaction.

<a id="interfaces"></a>

### Interfaces

<a id="node"></a>

#### [`Node`](/api-reference/miscellaneous/interfaces/node.md)

An object with an ID

<a id="member-of"></a>

### Member Of

[`Order`](/api-reference/orders/objects/order.md) object  ● [`OrderAddNote`](/api-reference/orders/objects/order-add-note.md) object  ● [`OrderEvent`](/api-reference/orders/objects/order-event.md) object  ● [`OrderEventCountableEdge`](/api-reference/orders/objects/order-event-countable-edge.md) object  ● [`OrderNoteAdd`](/api-reference/orders/objects/order-note-add.md) object  ● [`OrderNoteUpdate`](/api-reference/orders/objects/order-note-update.md) object
