v1
latestOpenAPI 3.1.02026-07-2422707.0 MBList all gift cards of a guest
Provide unique identifier of the guest as guest_id and this api will retrieve the gift cards history of the respective guest.
get/v1/guests/{guest_id}/gift_cards
Path parameters
guest_idstring required
Unique identifier of the guest.
Response
200
Example response
{
"gift_cards": [
{
"id": "7e317788-b9fa-4c07-9639-49516f4f4338",
"code": "*6",
"type": 1,
"sale_date": "2019-10-30T00:00:00",
"expiry_date": "2020-02-07T15:46:35",
"price": 100,
"value": 100,
"balance": 100,
"invoice": {
"id": "a244ad72-45a9-47f5-8c8d-dec7d752af4b",
"status": "CLOSED",
"invoice_number": "205",
"receipt_number": "R70"
},
"center": {
"id": "03ff6a3b-0bf9-48b7-b01d-cc1a02cfa97c",
"name": "Inventory"
}
}
],
"page_info": {
"total": 3,
"page": 1,
"size": 10
}
}