Returns a list of all gift vouchers
/gift-vouchershttps://api.oauth.pabau.com/{api_key}/gift-vouchers
Request
Query Parameters: | |
api_key * | |
per_page | (int) If not sent, the default is 20. Maximum 50 |
page | (int) If not sent, the first 20 result will be sent |
order | ASC or DESC. Default DESC |
Response sample
application/json
{
"success": true,
"total": 6,
"gift_vouchers": [
{
"id": 1,
"name": "test",
"amount": 5,
"valid_for": 365,
"book_now": 0,
"note_disabled": 0,
"note": "",
"theme": "",
"color_1": "#6E4BF6",
"color_2": "#B94AF4",
"online": 0,
"tos": "test",
"created_at": "2024-03-28 14:00:05",
"deleted_at": null,
"company_id": 12307,
"one_off": 0,
"services_included": 10044
}
]
}