MembershipType

A membership type is a type specification, that is referred to when issuing new memberships.

PropertyTypeDefaultDescriptionExample
id*string (UUIDv4)Unique identifier"bd4a0997-39db-41d9-883a-cdfa83e2101f"
title*stringTitle of membership type"All access pass" or "Season Pass" or "Yearly Membership"
pricenumbernullPrice of ticket in lowest unit. Cents for EUR, USD etc. 0 = FREE54000
cyclestringYEARLYFor how long the membership will be active until it needs to be renewed. Can be either YEARLY or MONTHLY or INFINITE."MONTHLY"
translationsarray[]A list of translation objects MembershipTypeTranslation for the object[{ language: "da", title: "Et adgang til alt..." }]
renewalPricenumbernullA potential renewal price49000
enableRenewalPricebooleanfalseWhether the renewal price should be enabledtrue
enableRenewalPriceEligibilitybooleanfalseIf this is set to true, you are only allowed to renew if the conditions in renewalPriceEligibilityPeriodType, renewalPriceEligibilityPeriods and renewalPriceEligibilityBeforeExpiration are met.true
renewalPriceEligibilityPeriodTypestringnullCan be DAY, MONTH or YEAR. Determines how many of the chosen types have to be passed before you are uneligible for renewal price"MONTH"
renewalPriceEligibilityPeriodsnumbernullIf 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
renewalPriceEligibilityBeforeExpirationbooleanfalseAs default it will append the period before the expiration. Otherwise it will be after.true

MembershipTypeTranslation

A MembershipTypeTranslation contains translated fields for the object.

PropertyTypeDefaultDescriptionExample
language*string (ISO 639-1)Language code for the translation"da"
titlestringnullSee description of field in MembershipType
Previous
Customer
Next
Membership