OrderGrantRefundUpdateInput Input Type
No description
input OrderGrantRefundUpdateInput {
amount: Decimal
reason: String
reasonReference: ID
addLines: [OrderGrantRefundUpdateLineAddInput!]
removeLines: [ID!]
grantRefundForShipping: Boolean
transactionId: ID
}
Fields
OrderGrantRefundUpdateInput.amount ● Decimal scalar miscellaneous
Amount of the granted refund. if not provided and addLines or removeLines or grantRefundForShipping is provided, amount will be calculated automatically.
OrderGrantRefundUpdateInput.reason ● String scalar miscellaneous
Reason of the granted refund.
OrderGrantRefundUpdateInput.reasonReference ● ID scalar miscellaneous
ID of a Page (Model) to reference in reason.
OrderGrantRefundUpdateInput.addLines ● [OrderGrantRefundUpdateLineAddInput!] list input orders
Lines to assign to granted refund.
OrderGrantRefundUpdateInput.removeLines ● [ID!] list scalar miscellaneous
Lines to remove from granted refund.
OrderGrantRefundUpdateInput.grantRefundForShipping ● Boolean scalar miscellaneous
Determine if granted refund should include shipping costs.
OrderGrantRefundUpdateInput.transactionId ● ID scalar miscellaneous
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.
Member Of
orderGrantRefundUpdate mutation