Skip to main content

OrderGrantedRefund Object

The details of granted refund.

type OrderGrantedRefund {
id: ID!
createdAt: DateTime!
updatedAt: DateTime!
amount: Money!
reason: String
reasonReference: Page
user: User
app: App
shippingCostsIncluded: Boolean!
lines: [OrderGrantedRefundLine!]
status: OrderGrantedRefundStatusEnum!
transactionEvents: [TransactionEvent!]
transaction: TransactionItem
}

Fields

id ● ID!

createdAt ● DateTime!

Time of creation.

updatedAt ● DateTime!

Time of last update.

amount ● Money!

Refund amount.

reason ● String

Reason of the refund.

Added in Saleor 3.22

reasonReference ● Page

Reason Model (Page) reference for refund.

Added in Saleor 3.22

user ● User

User who performed the action. Requires of of the following permissions: MANAGE_USERS, MANAGE_STAFF, OWNER.

app ● App

App that performed the action.

shippingCostsIncluded ● Boolean!

If true, the refunded amount includes the shipping price.If false, the refunded amount does not include the shipping price.

lines ● [OrderGrantedRefundLine!]

Lines assigned to the granted refund.

status ● OrderGrantedRefundStatusEnum!

Status of the granted refund calculated based on transactionItem assigned to granted refund.

Added in Saleor 3.20

transactionEvents ● [TransactionEvent!]

List of refund events associated with the granted refund.

Added in Saleor 3.20

transaction ● TransactionItem

The transaction assigned to the granted refund.

Added in Saleor 3.20

Member Of

Order object ● OrderGrantRefundCreate object ● OrderGrantRefundUpdate object ● TransactionRefundRequested object