> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/orders/llms.txt)
> Source: https://docs.saleor.io/api-reference/orders/inputs/order-grant-refund-update-input

# OrderGrantRefundUpdateInput Input Type

No description

```graphql
input OrderGrantRefundUpdateInput {
  amount: Decimal
  reason: String
  reasonReference: ID
  addLines: [OrderGrantRefundUpdateLineAddInput!]
  removeLines: [ID!]
  grantRefundForShipping: Boolean
  transactionId: ID
}
```

<a id="fields"></a>

### Fields

<a id="amount"></a>

#### [`amount`](#amount) ● [`Decimal`](/api-reference/miscellaneous/scalars/decimal.md)

Amount of the granted refund. if not provided and `addLines` or `removeLines` or `grantRefundForShipping` is provided, amount will be calculated automatically.

<a id="reason"></a>

#### [`reason`](#reason) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Reason of the granted refund.

<a id="reason-reference"></a>

#### [`reasonReference`](#reason-reference) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

ID of a `Page` (Model) to reference in reason.

Added in Saleor 3.22

<a id="add-lines"></a>

#### [`addLines`](#add-lines) ● [`[OrderGrantRefundUpdateLineAddInput!]`](/api-reference/orders/inputs/order-grant-refund-update-line-add-input.md)

Lines to assign to granted refund.

<a id="remove-lines"></a>

#### [`removeLines`](#remove-lines) ● [`[ID!]`](/api-reference/miscellaneous/scalars/id.md)

Lines to remove from granted refund.

<a id="grant-refund-for-shipping"></a>

#### [`grantRefundForShipping`](#grant-refund-for-shipping) ● [`Boolean`](/api-reference/miscellaneous/scalars/boolean.md)

Determine if granted refund should include shipping costs.

<a id="transaction-id"></a>

#### [`transactionId`](#transaction-id) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

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.

<a id="member-of"></a>

### Member Of

[`orderGrantRefundUpdate`](/api-reference/orders/mutations/order-grant-refund-update.md) mutation
