refundVoucher
Refund a voucher purchase.
Arguments
The input for the refund voucher mutation.
Possible Errors
Allowed Viewers
Required Permissions
Can refund voucher purchaseQuery Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation RefundVoucher($input: RefundVoucherInput!) {
refundVoucher(input: $input) {
voucherPurchase {
...VoucherPurchaseTypeFragment
}
}
}
Variables
{
"input": RefundVoucherInput
}
Response
{
"data": {
"refundVoucher": {
"voucherPurchase": VoucherPurchaseType
}
}
}