Skip to main content

RefundLineUpdateInput

Input for updating a refund line.

input RefundLineUpdateInput {
id: ID!
chargedTo: RefundChargeToEnum!
lineType: RefundLineTypeEnum!
refundScope: ID!
amount: PositiveDecimal
percentage: PositiveDecimal
quantity: Int
quantityFulfilled: Int
quantityUnfulfilled: Int
}

Fields

RefundLineUpdateInput.id ● ID! non-null scalar

ID of the refund line to update.

RefundLineUpdateInput.chargedTo ● RefundChargeToEnum! non-null enum

To whom the refund will be applied.

RefundLineUpdateInput.lineType ● RefundLineTypeEnum! non-null enum

Type of refund line calculation.

RefundLineUpdateInput.refundScope ● ID! non-null scalar

Reference ID of the instance to which refund will be applied.

RefundLineUpdateInput.amount ● PositiveDecimal scalar

Refund line amount (in order currency).

RefundLineUpdateInput.percentage ● PositiveDecimal scalar

Percentage of the scope to refund.

RefundLineUpdateInput.quantity ● Int scalar

Total quantity to refund.

RefundLineUpdateInput.quantityFulfilled ● Int scalar

Quantity of fulfilled items to refund.

RefundLineUpdateInput.quantityUnfulfilled ● Int scalar

Quantity of unfulfilled items to refund.

Member Of

refundLinesUpdate mutation

Was this page helpful?