get https://api.zenoti.com/v1/guests//gift_cards
Provide unique identifier of the guest as guest_id and this api will retrieve the gift cards history of the respective guest.
Response Details
| Name | Type | Description | 
|---|---|---|
| gift_cards | object | Object containing the gift cards information of the guest. | 
| invoice | object | Object containing the invoice details of the guest's gift cards. | 
| center | object | Object containing the center details where the gift card was purchased. | 
| page_info | object | Object containing the page info of the API response. | 
gift_cards Object
| name | type | description | 
|---|---|---|
| id | guid | unique identifier of the gift card user | 
| code | string | code of the gift card | 
| type | enum | gift card type 1 - Amount 2 - Service/Package  | 
| sale_date | date | sale date of the gift card | 
| expiry_date | date | expiry date of the gift card | 
| price | double | price of gift card | 
| value | double | value of gift card | 
| balance | double | balance in gift card | 
| tips | double | tips in gift card | 
| notes | string | notes provided during gift card sale | 
| source | enum | source from which invoice is generated. Web = 0 CustomerApp = 1 WebStore = 2 Imports = 3 Offline = 4 Dunning = 5 EmployeeApp = 6 ManagerApp = 7 AutoCollection = 8 Take5 = 11 TherapistAppAndroid = 12 TherapistAppIos = 13 MobilePosAndroid = 14 MobilePosiOS = 15 InstoreApp = 19 ApiDirect = 20 Unknown = 21 Extension = 22 Queue = 23 Kiosk = 24 KioskCMA = 25 KioskWeb = 26  | 
| is_closed | boolean | if gift card is refunded | 
| is_one_time_use | boolean | if gift card is one time usable gift card. | 
| is_received | boolean | if gift card is received | 
| occasion | string | represents the occasion of the gift card. | 
| gifted_by | guid | by whom the gift card is gifted by | 
| benefits | object | contains details of the gift card benefits. | 
invoice Object
| Name | Type | Description | 
|---|---|---|
| id | guid | unique identifier of the | 
| source | enum | source from which invoice is generated. Web = 0 CustomerApp = 1 WebStore = 2 Imports = 3 Offline = 4 Dunning = 5 EmployeeApp = 6 ManagerApp = 7 AutoCollection = 8 Take5 = 11 Therapis  | 
| status | string | current statu | 
| invoice_number | string | unique number us | 
| receipt_number | string | unique numbe | 
| invoice_item_id | guid | unique | 
center Object
| Name | Type | Description | 
|---|---|---|
| id | guid | unique identifier | 
| name | string | name of the ce | 
