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 · ID!
createdAt
createdAt · DateTime!
Time of creation.
updatedAt
updatedAt · DateTime!
Time of last update.
amount
amount · Money!
Refund amount.
reason
reason · String
Reason of the refund.
Added in Saleor 3.22reasonReference
reasonReference · Page
Reason Model (Page) reference for refund.
Added in Saleor 3.22user
user · User
User who performed the action. Requires of of the following permissions: MANAGE_USERS, MANAGE_STAFF, OWNER.
app
app · App
App that performed the action.
shippingCostsIncluded
shippingCostsIncluded · Boolean!
If true, the refunded amount includes the shipping price.If false, the refunded amount does not include the shipping price.
lines
lines · [OrderGrantedRefundLine!]
Lines assigned to the granted refund.
status
status · OrderGrantedRefundStatusEnum!
Status of the granted refund calculated based on transactionItem assigned to granted refund.
Added in Saleor 3.20transactionEvents
transactionEvents · [TransactionEvent!]
List of refund events associated with the granted refund.
Added in Saleor 3.20transaction
transaction · TransactionItem
The transaction assigned to the granted refund.
Added in Saleor 3.20Used by
- Order (objects)
- OrderGrantRefundCreate (objects)
- OrderGrantRefundUpdate (objects)
- TransactionRefundRequested (objects)
Schema: Saleor 3.23.43. Download SDL.