G_voidGiftCardsPurchase
You can void gift cards purchase using this guide.
Supported arguments
The following arguments are supported by G_voidGiftCardsPurchase mutation:
Field | Type | Description |
---|---|---|
input | G_API_VoidGiftCardsPurchaseInput |
Return type
The mutation returns theG_API_VoidGiftCardsPurchaseResponse
type.
Example usage
Request:
mutation {
G_voidGiftCardsPurchase(
input: {
batchId: "b602db96-28f5-11ed-a40c-065b8b9f71c6"
}
)
{
actionId
success
}
}
or
mutation {
G_voidGiftCardsPurchase(
input: {
transactionId: "c602db96-28f5-11ed-a40c-065b8b9f71c6"
}
)
{
actionId
success
}
}
Response
{
"data": {
"G_voidGiftCardsPurchase": {
"actionId": "a602e73a-28f5-11ed-96c3-065b8b9f71c6",
"success": true
}
}
}