TimePasses
Update TimePass
Update an existing TimePass record.
PUT
Update TimePass
Updates an existing TimePass record. You must include the
Id of the record to update along with all required fields.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the TimePass-Edit role.Request Body
Required Fields
ID of the location that owns this pass and supplies its default location scope and local check-in schedule..
Required pass name, up to 254 characters; this is the customer-facing name used to identify the pass..
Base amount charged in the selected currency; the lowest matching plan-specific special price overrides this amount for eligible members..
ID of the ISO 4217 currency used for the pass price and plan-specific special prices..
Optional Fields
Non-negative total check-in allowance in minutes; leave null for a day pass that can be used repeatedly during one calendar day..
Whether check-ins made with this pass count against the customer’s plan check-in and time limits..
Whether this pass can be automatically sold to members who check in without a valid pass when pay-as-you-go check-in is enabled..
Whether this pass can be automatically sold to contacts without an active contract who check in without a valid pass when pay-as-you-go check-in is enabled..
Optional pass-selection priority when a customer has multiple valid passes; higher values are used first and null is treated as normal priority (0)..
Optional ID of the reduced tax rate applied when the customer qualifies for reduced taxation..
List of locations where this pass can be used; when empty, it is valid at the owning location and its child locations, while a non-empty list restricts use to those locations..
Legacy single access-control group ID; do not use this field because provider-specific access groups are managed through the current access-control integration..
Whether this pass is restricted to contacts without an active contract; do not combine with OnlyForMembers..
Whether this pass is restricted to members with an active contract; when Tariffs is non-empty, the member must have an active contract on one of those plans, and this must not be combined with OnlyForContacts..
List of plans whose active members can use this pass when OnlyForMembers is true; an empty list allows members on any plan..
Code Examples
Response
200
Example Response
400
Example Response