get https://api.zenoti.com/v1/reasons
This API retrieves the list of specific reasons that a center's front-desk executives can select from when they cancel a membership, cancel an appointment, or mark a guest as a turnaway.
Response Details
| Name | Type | Description | 
|---|---|---|
| reasonpk | int | Reason pk details. | 
| id | guid | Unique 32-character identifier of the reason. | 
| code | string | Reason code. | 
| name | string | Name of the reason. | 
| description | string | Description about the reason. | 
| object_type | enum | Indicates the reasons belong to which type or category: 0 - Membership, 1 - Turnaways, 2 - Appointment, 3 - Deletion, and 4 - LoyaltyPoints. | 
| action_type | enum | Indicates the action type of the reason: 0 - Cancel and 1 - Update. Default value: 0. | 
| active | boolean | Indicates whether the reason is currently active. | 
| show_in_online_booking | boolean | Indicates whether the reason is to be displayed during online cancellations. | 
| Error | object | Object that contains error message and error code details. | 
