OrderGrantRefundUpdateInput Input Type
input OrderGrantRefundUpdateInput {
amount: Decimal
reason: String
reasonReference: ID
addLines: [OrderGrantRefundUpdateLineAddInput!]
removeLines: [ID!]
grantRefundForShipping: Boolean
transactionId: ID
}
Fields
amount
amount · Decimal
Amount of the granted refund. if not provided and addLines or removeLines or grantRefundForShipping is provided, amount will be calculated automatically.
reason
reason · String
Reason of the granted refund.
reasonReference
reasonReference · ID
ID of a Page (Model) to reference in reason.
addLines
addLines · [OrderGrantRefundUpdateLineAddInput!]
Lines to assign to granted refund.
removeLines
removeLines · [ID!]
Lines to remove from granted refund.
grantRefundForShipping
grantRefundForShipping · Boolean
Determine if granted refund should include shipping costs.
transactionId
transactionId · ID
The ID of the transaction item related to the granted refund. If amount provided in the input, the transaction.chargedAmount needs to be equal or greater than provided amount.If amount is not provided in the input and calculated automatically by Saleor, the min(calculatedAmount, transaction.chargedAmount) will be used.Field will be required starting from Saleor 3.21.
Used by
Schema: Saleor 3.23.43. Download SDL.