Giftcard generation
-
Use the
S_purchaseGiftCards
mutation to create a giftcard batch. -
Query the returned
actionId
throughA_action
to check if the giftcard batch successfully impacted our system and was generated correctly (COMPLETED
status). -
Query
G_giftCards
bybatchId
to get the codes and state.
You can disable giftcards through the G_voidGiftCardsPurchase
if needed