Skip to main content

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

When this transaction was created.

Transaction.deliveredAt ● ISO8601DateTime scalar

When the transaction was successfully delivered to Orderful.

Transaction.deliveryErrors ● [JSON!] list scalar

Array of delivery error objects containing message, status_code, and timestamp.

Transaction.deliveryStatus ● String scalar

The delivery status of the transaction: 'pending', 'delivered', or 'failed'.

Transaction.direction ● String! non-null scalar

Transaction direction: 'inbound' or 'outbound'.

Transaction.id ● ID! non-null scalar

The unique identifier of the transaction.

Transaction.message ● JSON scalar

The transaction message data.

Transaction.orderId ● ID scalar

The ID of the order associated with this transaction.

Transaction.transactionData ● JSON! non-null scalar

The transaction data including type and message.

Transaction.transactionType ● String scalar

The EDI transaction type code (e.g., '856', '855', '810').

Transaction.updatedAt ● ISO8601DateTime! non-null scalar

When this transaction was last updated.

Returned By

deliverOutboundTransaction mutation