OrderGrantRefundUpdateInput Input Type
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 addLines
or removeLines
or grantRefundForShipping
is 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.
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.
This API is currently in Feature Preview and can be subject to changes at later point.
Member Of
orderGrantRefundUpdate
mutation