OrderGrantRefundUpdateInput
No description
input OrderGrantRefundUpdateInput {
amount: Decimal
reason: String
addLines: [OrderGrantRefundUpdateLineAddInput!]
removeLines: [ID!]
grantRefundForShipping: Boolean
transactionId: ID
}
Fields
OrderGrantRefundUpdateInput.amount ● Decimal scalar miscellaneous
Amount of the granted refund. if not provided and
addLinesorremoveLinesorgrantRefundForShippingis provided, amount will be calculated automatically.
OrderGrantRefundUpdateInput.reason ● String scalar miscellaneous
Reason of the granted refund.
OrderGrantRefundUpdateInput.addLines ● [OrderGrantRefundUpdateLineAddInput!] 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.
OrderGrantRefundUpdateInput.removeLines ● [ID!] list scalar miscellaneous
Lines to remove from granted refund.
Added in Saleor 3.15This API is currently in Feature Preview and can be subject to changes at later point.
OrderGrantRefundUpdateInput.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.
OrderGrantRefundUpdateInput.transactionId ● ID scalar miscellaneous
The ID of the transaction item related to the granted refund. If
Added in Saleor 3.20amountprovided in the input, the transaction.chargedAmount needs to be equal or greater than providedamount.Ifamountis 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
orderGrantRefundUpdate mutation