S_purchaseGiftCards
You can generate gift cards using this guide.
Giftcards expire in one year from their creation date, except for AUD ones - 3 years.
Minimum denomination
is 300, meaning that giftcards under 3 EUR cannot be created.
Minimum increment in denomination
is 100 units.
E.g. giftcards can be created with 400, 500 denomination - but not 430 or 550.
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: 500
quantity: 3
currency: "EUR"
}
)
{
actionId
batchId
success
}
}
Response
{
"data": {
"S_purchaseGiftCards": {
"actionId": "a602e73a-28f5-11ed-96c3-065b8b9f71c6",
"batchId": "a602db96-28f5-11ed-a40c-065b8b9f71c6",
"success": true
}
}
}