Passes

Passes can be set to both members and companies.

The parameters available for this collection are:

PropertyTypeRequiredDescription
validFromdatetrueThe start date of the passes.
validTodatefalseThe end date of the passes.
teamCompanyfalseA reference to the company associated with the passes.
memberMemberfalseA reference to the member associated with the passes.
countnumbertrueThe number of passes granted.
usednumberfalseThe number of credits used.
statusnumberreadonlyThe status of the credits, can be either used or valid.
intervalLengthstringfalseDetermines whether the credits are recurring or not. Can be either "once" or "month". If left unspecified will be set to "once".
startDatedatefalseThis is used for credits that have their "intervalLength" set to "month" and serves as the start date of the recurrence of the credits.