get https://api.zenoti.com/v1/guests//relationships
This API retrieves all the relationships of a guest. For example, spouse, friend, etc. This allows you to view a list of all the family members of the guest.
| Name | Type | Description |
|---|
| guest_relationships | object | Object containing the details of all the relationships of the guest. |
| relationship | object | Object containing the details of the person related to the guest. |
| allow_sharing_accounts | bool | Denotes sharing of the guest account between the host and relative. True: Sharing is enabled between the host and the guest. False: Sharing is not enabled. |
| Name | Type | Description |
|---|
| id | guid | Unique 32-character identifier of the guest. |
| name | string | Name of the guest. |
| Name | Type | Description |
|---|
| id | guid | Unique identifier of the relationship. |
| name | string | Denotes the type of relationship. For example, a Friend, Spouse, or Child. |
| Code | Message |
|---|
| 502 | Invalid guest_id |