Skip to main content

OrderGrantedRefund

The details of granted refund.

Added in Saleor 3.13
This API is currently in Feature Preview and can be subject to changes at later point.
type OrderGrantedRefund {
id: ID!
createdAt: DateTime!
updatedAt: DateTime!
amount: Money!
reason: String
user: User
app: App
shippingCostsIncluded: Boolean!
lines: [OrderGrantedRefundLine!]
status: OrderGrantedRefundStatusEnum!
transactionEvents: [TransactionEvent!]
transaction: TransactionItem
}

Fields

OrderGrantedRefund.id ● ID! non-null scalar miscellaneous

OrderGrantedRefund.createdAt ● DateTime! non-null scalar miscellaneous

Time of creation.

OrderGrantedRefund.updatedAt ● DateTime! non-null scalar miscellaneous

Time of last update.

OrderGrantedRefund.amount ● Money! non-null object miscellaneous

Refund amount.

OrderGrantedRefund.reason ● String scalar miscellaneous

Reason of the refund.

OrderGrantedRefund.user ● User object users

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

OrderGrantedRefund.app ● App object apps

App that performed the action.

OrderGrantedRefund.shippingCostsIncluded ● Boolean! non-null scalar miscellaneous

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

Added in Saleor 3.15
This API is currently in Feature Preview and can be subject to changes at later point.

OrderGrantedRefund.lines ● [OrderGrantedRefundLine!] list object miscellaneous

Lines assigned to the granted refund.

Added in Saleor 3.15
This API is currently in Feature Preview and can be subject to changes at later point.

OrderGrantedRefund.status ● OrderGrantedRefundStatusEnum! non-null enum orders

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

Added in Saleor 3.20

OrderGrantedRefund.transactionEvents ● [TransactionEvent!] list object payments

List of refund events associated with the granted refund.

Added in Saleor 3.20

OrderGrantedRefund.transaction ● TransactionItem object payments

The transaction assigned to the granted refund.

Added in Saleor 3.20

Member Of

Order object ● OrderGrantRefundCreate object ● OrderGrantRefundUpdate object ● TransactionRefundRequested object