OrderGrantRefundCreateInput
No description
input OrderGrantRefundCreateInput {
amount: Decimal
reason: String
lines: [OrderGrantRefundCreateLineInput!]
grantRefundForShipping: Boolean
transactionId: ID
}
Fields
OrderGrantRefundCreateInput.amount
● Decimal
scalar miscellaneous
Amount of the granted refund. If not provided, the amount will be calculated automatically based on provided
lines
andgrantRefundForShipping
.
OrderGrantRefundCreateInput.reason
● String
scalar miscellaneous
Reason of the granted refund.
OrderGrantRefundCreateInput.lines
● [OrderGrantRefundCreateLineInput!]
list input orders
Lines to assign to granted refund.
Added in Saleor 3.15This API is currently in Feature Preview and can be subject to changes at later point.
OrderGrantRefundCreateInput.grantRefundForShipping
● Boolean
scalar miscellaneous
Determine if granted refund should include shipping costs.
Added in Saleor 3.15This API is currently in Feature Preview and can be subject to changes at later point.
OrderGrantRefundCreateInput.transactionId
● ID
scalar miscellaneous
The ID of the transaction item related to the granted refund. If
Added in Saleor 3.20amount
provided in the input, the transaction.chargedAmount needs to be equal or greater than providedamount
.Ifamount
is not provided in the input and calculated automatically by Saleor, themin(calculatedAmount, transaction.chargedAmount)
will be used.Field will be required starting from Saleor 3.21.This API is currently in Feature Preview and can be subject to changes at later point.
Member Of
orderGrantRefundCreate
mutation