Skip to main content

orderRefund Mutation

DEPRECATED

The legacy Payments API is deprecated and will be removed. Use the Transactions API instead.

Refund an order.

Requires the MANAGE_ORDERSpermission.
orderRefund(
amount: PositiveDecimal!
id: ID!
): OrderRefund @deprecated
Details
type OrderRefund {
order: Order
orderErrors: [OrderError!]! @deprecated
errors: [OrderError!]!
}

Arguments

amount ● PositiveDecimal!

Amount of money to refund.

id ● ID!

ID of the order to refund.

Type

OrderRefund

Refund an order.

Requires the MANAGE_ORDERSpermission.