Skip to main content

OrderGrantRefundUpdateInput Input Type

No description

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

Fields

amount ● Decimal

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

reason ● String

Reason of the granted refund.

reasonReference ● ID

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

Added in VapeEcommerce 3.22

addLines ● [OrderGrantRefundUpdateLineAddInput!]

Lines to assign to granted refund.

removeLines ● [ID!]

Lines to remove from 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 VapeEcommerce, the min(calculatedAmount, transaction.chargedAmount) will be used.Field will be required starting from VapeEcommerce 3.21.

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

Member Of

orderGrantRefundUpdate mutation