...
Property | Type | Required | Default | Description | ||
---|---|---|---|---|---|---|
rolelocalMembershipId | String | Y | One of 'member', 'trainer', 'salesperson'. | |||
fullAccount | Boolean | Y | false | Club OS has 2 types of member accounts, Full and Basic. Full means they get access to both nutrition and/or workout features based on the club's service plan. false - Make the member a Basic account. true - Make the member full account. | ||
trainerId | Integer | N | The Club OS Your systems unique id for the trainer of the user being added or updatedmembership. | |||
salespersonIdstatus | IntegerBoolean | NY | The Club OS unique id for the salesperson of the user being added or updated (applies to members only). | |||
templateUsername | String | N | The username of the template account that should be applied to the user (applies to members only). | |||
localUserId | String | Y | Your systems unique id for the user. | |||
firstName | String | Y | User first name. | |||
lastName | String | N | User last name. | |||
String | Y | Email address of the user. | ||||
gender | String | Y | 'M' for male, 'F' for female. | |||
birthdate true - the membership is active and the customer is caught up on payments. false - the membership is inactive due to deliquent billing, membership cancellation, etc. | ||||||
autoRenew | Boolean | Y | true - membership auto-renews. false - membership does not auto-renew. | |||
startDate | Date (M-d-YYYY) | Y | The effective start date of the membership. | |||
endDate | Date (M-d-YYYY) | N | User The end date of birththe membership if one exists. | |||
joinDatesaleDate | Date (M-d-YYYY) | NY | The date of the User joined the clubsale. | |||
homePhonename | String | NY | User home phone number. | workPhoneThe name of the membership, i.e. 'Gold', 'Silver', 'Platinum' | ||
downPaymentName | String | N | User work phone number. | mobilePhone | StringThe name of the down payment, i.e. 'Initiation Fee', or 'First Month Fee' | |
downPaymentSubtotal | Decimal | N | User | mobile phone numberThe amount of the down payment without taxes. | ||
address1downPaymentTaxes | StringDecimal | N | User | address line 1 The amount of taxes on the down payment. | ||
address2recurPaymentName | String | N | User address line 2. | |||
city | String | N | User full city. | |||
state | StringThe name of the recurring payment, i.e. 'Membership Dues'. | |||||
recurPaymentSubtotal | Decimal | N | User 2 letter state code, i.e. PA for Pennsylvania. | zip | StringThe amount of the recurring payment without taxes. | |
recurPaymentTaxes | Decimal | N | User | zip codeThe amount of taxes on the recurring payment. |
PUT /users
Update a users account type
...