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
The Id of the TimePass record to update.
ID of the business linked to this record.
Time pass name.
Unit price amount.
ID of the currency linked to this record.
Optional Fields
Invoice line display text.
Minutes included.
Counts towards plan limits.
Use as pay-as-you-go for members.
Use as pay-as-you-go for contacts.
Use priority.
ID of the tax rate linked to this record.
ID of the reduced tax rate linked to this record.
ID of the exempt tax rate linked to this record.
ID of the financial account linked to this record.
List of businesses linked to this record.
The added businesses value for this time pass.
The removed businesses value for this time pass.
Kisi group ID.
DoorGuard group ID.
ID of the access control group associated with this record.
Allow network check-in.
Only available for contacts.
Only available for members.
List of tariffs linked to this record.
The added tariffs value for this time pass.
The removed tariffs value for this time pass.
Whether this time pass is archived and hidden from active lists.
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the update.
Contains the
Id of the updated record.true if the timepass was updated successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Update TimePass