MembershipType
A membership type is a type specification, that is referred to when issuing new memberships.
| Property | Type | Default | Description | Example |
|---|---|---|---|---|
id* | string (UUIDv4) | Unique identifier | "bd4a0997-39db-41d9-883a-cdfa83e2101f" | |
title* | string | Title of membership type | "All access pass" or "Season Pass" or "Yearly Membership" | |
price | number | null | Price of ticket in lowest unit. Cents for EUR, USD etc. 0 = FREE | 54000 |
cycle | string | YEARLY | For how long the membership will be active until it needs to be renewed. Can be either YEARLY or MONTHLY or INFINITE. | "MONTHLY" |
translations | array | [] | A list of translation objects MembershipTypeTranslation for the object | [{ language: "da", title: "Et adgang til alt..." }] |
renewalPrice | number | null | A potential renewal price | 49000 |
enableRenewalPrice | boolean | false | Whether the renewal price should be enabled | true |
enableRenewalPriceEligibility | boolean | false | If this is set to true, you are only allowed to renew if the conditions in renewalPriceEligibilityPeriodType, renewalPriceEligibilityPeriods and renewalPriceEligibilityBeforeExpiration are met. | true |
renewalPriceEligibilityPeriodType | string | null | Can be DAY, MONTH or YEAR. Determines how many of the chosen types have to be passed before you are uneligible for renewal price | "MONTH" |
renewalPriceEligibilityPeriods | number | null | If renewalPriceEligibilityPeriodType is set to MONTH and renewalPriceEligibilityPeriods is set to 2 and renewalPriceEligibilityBeforeExpiration is set to true, then the member needs to renew its membership 2 months before expiration to be eligible for the renewal price. | 2 |
renewalPriceEligibilityBeforeExpiration | boolean | false | As default it will append the period before the expiration. Otherwise it will be after. | true |
MembershipTypeTranslation
A MembershipTypeTranslation contains translated fields for the object.
| Property | Type | Default | Description | Example |
|---|---|---|---|---|
language* | string (ISO 639-1) | Language code for the translation | "da" | |
title | string | null | See description of field in MembershipType |