OrderEdge
An edge in a connection to an Order.
Connection Structure
{
node: Order
cursor: String!
}Edge Type
The OrderEdge type represents a single edge in an order connection. Each edge contains:
- node: The
Orderobject at this position in the connection. This field is optional and may be null. - cursor: A unique, opaque string identifier used to mark the position of this edge in the connection. This cursor can be used in subsequent pagination queries with the
beforeorafterarguments to fetch additional edges. This field is required and will always return a value.
Example
query {
orders(first: 5) {
edges {
node {
id
orderNumber
createdAt
}
cursor
}
}
}Related Types
- Order
- String