Skip to main content

OrderGrantRefundUpdateInput

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.

Added in Saleor 3.15
This API is currently in Feature Preview and can be subject to changes at later point.

OrderGrantRefundUpdateInput.removeLines ● [ID!] list scalar miscellaneous

Lines to remove from granted refund.

Added in Saleor 3.15
This API is currently in Feature Preview and can be subject to changes at later point.

OrderGrantRefundUpdateInput.grantRefundForShipping ● Boolean scalar miscellaneous

Determine if granted refund should include shipping costs.

Added in Saleor 3.15
This API is currently in Feature Preview and can be subject to changes at later point.

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.

Added in Saleor 3.20
This API is currently in Feature Preview and can be subject to changes at later point.

Member Of

orderGrantRefundUpdate mutation