Retrieve a list of all the guest passes sent from or received by a user
The purpose of this API is to retrieve a list of all the guest passes sent from or received by a user. This includes Used, Received, and Available guest passes. You must specify the unique identifier of the guest who is sharing the guest pass guest_id, the item id for which the user wants to transfer to/receive from (default value would be null) instrument_id, the item type (default would be 1. 1: Membership) instrument_type, guest pass credit type (default would be 1. 1: Classes, 2: Visits, 0: Both) credit_type, type of user list the user requested (default would be 0. 0: Both, 1: Receiver, 2:Sender) list_type, and the expand parameter (expand[0]=available, expand[1]=received, expand[2]=used) expand.
Request
- Base URLhttps://api.zenoti.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The user who is sharing the guest pass
The item id for which the user wants to transfer/received from (default value would be null)
The item type (default would be 1. 1: Membership)
Guest pass credit type (default would be 1. 1: Classes, 2: Visits, 0: Both)
Type of user list the user requested (default would be 0. 0: Both, 1: Receiver, 2:Sender)
expand[0]=available , expand[1]=received, expand[2]=used
Response
200
Changes
No recorded changes to this operation across all 1 revision of this API.