Skip to main content

Refund

A refund, dated when it was made and linked to the order and lines it refunds.

type Refund {
id: ID!
orderId: ID
businessDate: Date!
refundedAt: DateTime!
amount: Int
tax: Int
paymentId: ID
itemIds: [ID!]!
refundedBy: Staff
}

Fields​

Refund.id ● ID! non-null scalar​

Refund.orderId ● ID scalar​

Refund.businessDate ● Date! non-null scalar​

Refund.refundedAt ● DateTime! non-null scalar​

Refund.amount ● Int scalar​

Refund.tax ● Int scalar​

Refund.paymentId ● ID scalar​

Refund.itemIds ● [ID!]! non-null scalar​

The order lines this refund covers.

Refund.refundedBy ● Staff object​

Needs the read:staff permission.

Member Of​

RefundPage object