S_purchaseGiftCards
You can generate gift cards using this guide.
Supported arguments
The following arguments are supported by S_purchaseGiftCards mutation:
Field | Type | Description |
---|---|---|
input | S_API_PurchaseGiftCardsInput! | Gift cards purchase details |
Return type
The mutation returns theS_API_PurchaseGiftCardsResponse
type.
Example usage
Request:
mutation {
S_purchaseGiftCards(
input: {
denomination: 100
quantity: 3
currency: "EUR"
}
)
{
actionId
batchId
}
}
Response
{
"data": {
"S_purchaseGiftCards": {
"actionId": "a602e73a-28f5-11ed-96c3-065b8b9f71c6",
"batchId": "a602db96-28f5-11ed-a40c-065b8b9f71c6"
}
}
}