OrderGrantRefundCreateInput Input Type
No description
input OrderGrantRefundCreateInput {
amount: Decimal
reason: String
reasonReference: ID
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 and grantRefundForShipping.
OrderGrantRefundCreateInput.reason ● String scalar miscellaneous
Reason of the granted refund.
OrderGrantRefundCreateInput.reasonReference ● ID scalar miscellaneous
ID of a Page (Model) to reference in reason.
OrderGrantRefundCreateInput.lines ● [OrderGrantRefundCreateLineInput!] list input orders
Lines to assign to granted refund.
OrderGrantRefundCreateInput.grantRefundForShipping ● Boolean scalar miscellaneous
Determine if granted refund should include shipping costs.
OrderGrantRefundCreateInput.transactionId ● ID! non-null 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 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