Transaction
Represents an Orderful EDI transaction record.
type Transaction {
createdAt: ISO8601DateTime!
deliveredAt: ISO8601DateTime
deliveryErrors: [JSON!]
deliveryStatus: String
direction: String!
id: ID!
message: JSON
orderId: ID
transactionData: JSON!
transactionType: String
updatedAt: ISO8601DateTime!
}
Fields
Transaction.createdAt ● ISO8601DateTime! non-null scalar common
When this transaction was created.
Transaction.deliveredAt ● ISO8601DateTime scalar common
When the transaction was successfully delivered to Orderful.
Transaction.deliveryErrors ● [JSON!] list scalar common
Array of delivery error objects containing message, status_code, and timestamp.
Transaction.deliveryStatus ● String scalar common
The delivery status of the transaction: 'pending', 'delivered', or 'failed'.
Transaction.direction ● String! non-null scalar common
Transaction direction: 'inbound' or 'outbound'.
Transaction.id ● ID! non-null scalar common
The unique identifier of the transaction.
Transaction.message ● JSON scalar common
The transaction message data.
Transaction.orderId ● ID scalar common
The ID of the order associated with this transaction.
Transaction.transactionData ● JSON! non-null scalar common
The transaction data including type and message.
Transaction.transactionType ● String scalar common
The EDI transaction type code (e.g., '856', '855', '810').
Transaction.updatedAt ● ISO8601DateTime! non-null scalar common
When this transaction was last updated.
Returned By
deliverOutboundTransaction mutation