Create a gift card sale invoice after using a gift card template

You must specify appropriate details for the request body parameters, and this API generates an invoice by booking the gift cards and returns a unique invoice ID as the response.

Request Details

NameTypeDescription
center_idguidUnique identifier of the center.
guest_idguidUnique identifier of the guest.
giftcardsarrayArray of gift card objects.
giftcards[i].template_idguidUnique identifier of the center.
giftcards[i].schedule_timedatetimeSchedule date of the occasion. The gift card will be sent on this date and time).
giftcards[i].occassionobjectContains details of the gift card occasion.
giftcards[i].occassion.idguidUnique identifier of the occasion.
giftcards[i].occassion.image_idguidUnique identifier of the image associated with the specified occasion.
giftcards[i].occassion.messagestringThis occasion message (such as "Happy Birthday") will be sent via email.
giftcards[i].recepientobjectContains details of the gift card recepient.
giftcards[i].recepient.namestringName of the recepient.
giftcards[i].recepient.emailstringEmail of the recepient.

Response Details

NameTypeDescription
invoice_idguidUnique identifier of the invoice.
Language
Authorization
Header
Click Try It! to start a request and see the response here!