OrderGrantRefundCreateInput Input Type
No description
input OrderGrantRefundCreateInput {
amount: Decimal
reason: String
reasonReference: ID
lines: [OrderGrantRefundCreateLineInput!]
grantRefundForShipping: Boolean
transactionId: ID!
}
Fields
amount ● Decimal
Amount of the granted refund. If not provided, the amount will be calculated automatically based on provided lines and grantRefundForShipping.
reason ● String
Reason of the granted refund.
reasonReference ● ID
ID of a Page (Model) to reference in reason.
lines ● [OrderGrantRefundCreateLineInput!]
Lines to assign to granted refund.
grantRefundForShipping ● Boolean
Determine if granted refund should include shipping costs.
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 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