Get membership switch configuration by id for a customer
DeprecatedRequired Scopes: `MEMBERSHIP_READ` Returns extended information about the membership offer.
Endpoint
/v1/memberships/{customerId}/membership-switch/configs/{configId} Path Parameters
customerId required integer (int64) The ID of the customer to load a membership switch configuration for
configId required integer (int64) The ID of the membership switch configuration
Query Parameters
studioId integer (int64) An optional studio ID to validate whether the specified membership switch configuration is available for that studio
Responses
Response Body application/json
Detailed information about the membership switch configuration
id integer(int64) required Unique ID of the configuration
1000 name required Name of the configuration
"Premium Membership Upgrade" presentation required Membership switch configuration presentation details
bannerText Text associated to the configured presentation banner
imageUrl Image URL of the presentation banner. It will expire after 15 minutes.
sourceContracts array[object] required List of source contracts for the membership switch
id integer(int64) required Unique ID of the source contract rate
1000 rateName required Name of the source contract rate
"Basic Membership" destinationMembershipOffers array[object] required List of destination membership offers
id integer(int64) required Unique identifier for the membership offer.
description required Description of the membership offer.
"This offer includes access to all gym facilities and group classes." name required Name of the membership offer.
"Standard Membership" subDescription Sub description for the membership offer.
"Best value for regular gym-goers." imageUrl Temporary valid download link for rate bundle image. Expires after 2 hours.
"https://example.com" footnote Contractual or legal comments to be displayed below the offer.
"This offer is valid for new members only. Terms and conditions apply." preUseType required Contract pre-use type information.
NOT_AVAILABLE | Contract is not available for pre-use |
CHARGEABLE | Contract pre-use is chargeable |
FREE | Contract pre-use is free |
"NOT_AVAILABLE" limitedOfferingPeriod required Represents a date period.
startDate string(date) required Start of the interval
"2025-01-01" endDate string(date) required End of the interval
"2026-01-01" rateCodes array[object] required Rate codes of the membership offer.
name The name of the rate code
"Standard Rate" identifier Unique identifier for the rate code.
"RC12345" includedModules array[object] required List of included modules of this membership offer.
id integer(int64) required Unique identifier for the membership offer module.
1234567890 name required Name of the membership offer module.
"Premium Fitness Package" description required Description of the membership offer module.
"Includes access to all gym facilities and group classes." imageUrl Image url of membership offer module. Expires after 5hours.
"https://some-module.com" term required Represents the terms of a membership offer.
extensionType required Module term extension type
NONE | No extension |
TERM_EXTENSION | Term extension |
SUBSEQUENT_RATE_DETAIL | Subsequent rate detail |
"TERM_EXTENSION" term Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" termExtension Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" cancelationPeriod Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" extensionCancelationPeriod Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" trialPeriod Represents the trial period of a membership offer.
trialPeriod required Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" description required Description of the trial period
"Free trial for 30 days" consentTextBlock Contract text block information.
id integer(int64) The unique identifier of the text block
1234567890 title The title of the text block
"Title of 1. text block" text The text of the text block
"Text of 1. text block" order integer(int32) The order of the text block in the contract
1 hasSignature Text block configuration has a signature field. You have the option to show a signature input field and it will be added in the contract document. It is not a required field in magicline. It is up to your implementation if you add this field.
showCommunicationPrivacyOptions Text block contains information about the communication privacy options. You are advised to show a matrix with communication settings in combination with this text block.
attachmentType Indicates the type of attachment for this block
NONE | No text block |
FILE | File information available in `attachedDocument` |
URL | Url information available in `attachedExternalUrlDto` |
CONTRACT_PDF_PREVIEW | Contract PDF preview |
"CONTRACT_PDF_PREVIEW" attachedExternalUrlDto Represents url information.
title required Url title
"Example Resource" url required Url to access the resource
"https://some-url.com" attachedDocument Represents document information.
fileName required Name of the file to download
"contract.pdf" url required Temporary valid download link. Expires after 5 hours.
"https://some-url.com" rateBundleModuleId integer(int64) The ID of the associated rate bundle module. Only set if this is a module consent text block.
1234567890 confirmationRequired rateCodes array[object] Rate codes of the membership offer module.
name The name of the rate code
"Standard Rate" identifier Unique identifier for the rate code.
"RC12345" contractSignaturesRequired Indicates if contract signatures are required for this membership offer.
allowedPaymentChoices array[object] required Allowed payment choices for this membership offer.
maximumNumberOfSelectableModules integer(int32) Maximum number of `selectableModules` for this membership offer. If 0, no modules can be selected.
contractTextBlocks array[object] required List of contract text blocks that are part of this membership offer.
id integer(int64) The unique identifier of the text block
1234567890 title The title of the text block
"Title of 1. text block" text The text of the text block
"Text of 1. text block" order integer(int32) The order of the text block in the contract
1 hasSignature Text block configuration has a signature field. You have the option to show a signature input field and it will be added in the contract document. It is not a required field in magicline. It is up to your implementation if you add this field.
showCommunicationPrivacyOptions Text block contains information about the communication privacy options. You are advised to show a matrix with communication settings in combination with this text block.
attachmentType Indicates the type of attachment for this block
NONE | No text block |
FILE | File information available in `attachedDocument` |
URL | Url information available in `attachedExternalUrlDto` |
CONTRACT_PDF_PREVIEW | Contract PDF preview |
"CONTRACT_PDF_PREVIEW" attachedExternalUrlDto Represents url information.
title required Url title
"Example Resource" url required Url to access the resource
"https://some-url.com" attachedDocument Represents document information.
fileName required Name of the file to download
"contract.pdf" url required Temporary valid download link. Expires after 5 hours.
"https://some-url.com" rateBundleModuleId integer(int64) The ID of the associated rate bundle module. Only set if this is a module consent text block.
1234567890 confirmationRequired selectableModules array[object] List of selectable modules for this membership offer. Limited by `maximumNumberOfSelectableModules`.
id integer(int64) required Unique identifier for the membership offer module.
1234567890 name required Name of the membership offer module.
"Premium Fitness Package" description required Description of the membership offer module.
"Includes access to all gym facilities and group classes." imageUrl Image url of membership offer module. Expires after 5hours.
"https://some-module.com" term required Represents the terms of a membership offer.
extensionType required Module term extension type
NONE | No extension |
TERM_EXTENSION | Term extension |
SUBSEQUENT_RATE_DETAIL | Subsequent rate detail |
"TERM_EXTENSION" term Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" termExtension Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" cancelationPeriod Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" extensionCancelationPeriod Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" trialPeriod Represents the trial period of a membership offer.
trialPeriod required Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" description required Description of the trial period
"Free trial for 30 days" consentTextBlock Contract text block information.
id integer(int64) The unique identifier of the text block
1234567890 title The title of the text block
"Title of 1. text block" text The text of the text block
"Text of 1. text block" order integer(int32) The order of the text block in the contract
1 hasSignature Text block configuration has a signature field. You have the option to show a signature input field and it will be added in the contract document. It is not a required field in magicline. It is up to your implementation if you add this field.
showCommunicationPrivacyOptions Text block contains information about the communication privacy options. You are advised to show a matrix with communication settings in combination with this text block.
attachmentType Indicates the type of attachment for this block
NONE | No text block |
FILE | File information available in `attachedDocument` |
URL | Url information available in `attachedExternalUrlDto` |
CONTRACT_PDF_PREVIEW | Contract PDF preview |
"CONTRACT_PDF_PREVIEW" attachedExternalUrlDto Represents url information.
title required Url title
"Example Resource" url required Url to access the resource
"https://some-url.com" attachedDocument Represents document information.
fileName required Name of the file to download
"contract.pdf" url required Temporary valid download link. Expires after 5 hours.
"https://some-url.com" rateBundleModuleId integer(int64) The ID of the associated rate bundle module. Only set if this is a module consent text block.
1234567890 confirmationRequired rateCodes array[object] Rate codes of the membership offer module.
name The name of the rate code
"Standard Rate" identifier Unique identifier for the rate code.
"RC12345" paymentFrequency required Represents the payment frequency
id integer(int64) The unique identifier of the payment frequency. (`null` possible for starter package)
1234567890 type required Payment frequency type of a contract
FREE | Represents that the contract payment frequency is free of charge. |
NON_RECURRING | Represents that the contract payment frequency is non recurring, meaning only one payment is necessary here. |
RECURRING | Represents that the contract payment frequency is recurring, meaning that the payment will take place every term. |
MONTH_DAY | Represents that the contract payment frequency is based on month days, with a possibly individual price per month day. |
TERM_BASED | Represents that the contract payment frequency is based on terms, with a possibly individual price per term. |
"FREE" term Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" price Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" monthDaysToPrices array[object] Month day to prices list, used for contract payment frequency type `MONTH_DAY`
monthDay required The month day of the month day to price mapping
month JANUARY FEBRUARY MARCH APRIL MAY JUNE JULY AUGUST SEPTEMBER OCTOBER NOVEMBER DECEMBER monthValue integer(int32) dayOfMonth integer(int32) price required Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" termsToPrices array[object] Terms to prices list, used for contract payment frequency type `TERM_BASED`. Note that the price will become active `AFTER` the respective term has passed
term required Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" price required Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" recurring Whether the cycle of payments repeats indefinitely. Only relevant if type is `TERM_BASED` or `MONTH_DAY`.
ageBasedAdjustments array[object] List of age-based adjustments for the membership offer module.
ageRange required Represents an age range.
startAge integer(int32) required Start age of the range, inclusive.
18 endAge integer(int32) required End age of the range, inclusive.
65 value required The value of the adjustment, based on `type`.
10 type required Age based adjustment type
ABSOLUTE | Absolute adjustment of the price |
PERCENTAGE | Percentage adjustment of the price |
"ABSOLUTE" formattedPaymentFrequency required The formatted payment frequency
"Every 6 months" terms array[object] List of terms that are part of this membership offer.
id integer(int64) required Unique identifier of the membership offer term
1234567890 term Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" contractVolumeInformation Contains the total amount to be paid during the initial runtime of the contract and the average amounts per month and per the rate's payment frequency (e.g. 1 week)
totalContractVolume Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" averagePaymentVolumePerMonth Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" averagePaymentVolumePerPaymentFrequencyTerm Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" paymentFrequency required Represents the payment frequency
id integer(int64) The unique identifier of the payment frequency. (`null` possible for starter package)
1234567890 type required Payment frequency type of a contract
FREE | Represents that the contract payment frequency is free of charge. |
NON_RECURRING | Represents that the contract payment frequency is non recurring, meaning only one payment is necessary here. |
RECURRING | Represents that the contract payment frequency is recurring, meaning that the payment will take place every term. |
MONTH_DAY | Represents that the contract payment frequency is based on month days, with a possibly individual price per month day. |
TERM_BASED | Represents that the contract payment frequency is based on terms, with a possibly individual price per term. |
"FREE" term Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" price Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" monthDaysToPrices array[object] Month day to prices list, used for contract payment frequency type `MONTH_DAY`
monthDay required The month day of the month day to price mapping
month JANUARY FEBRUARY MARCH APRIL MAY JUNE JULY AUGUST SEPTEMBER OCTOBER NOVEMBER DECEMBER monthValue integer(int32) dayOfMonth integer(int32) price required Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" termsToPrices array[object] Terms to prices list, used for contract payment frequency type `TERM_BASED`. Note that the price will become active `AFTER` the respective term has passed
term required Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" price required Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" recurring Whether the cycle of payments repeats indefinitely. Only relevant if type is `TERM_BASED` or `MONTH_DAY`.
ageBasedAdjustments array[object] List of age-based adjustments for the membership offer module.
ageRange required Represents an age range.
startAge integer(int32) required Start age of the range, inclusive.
18 endAge integer(int32) required End age of the range, inclusive.
65 value required The value of the adjustment, based on `type`.
10 type required Age based adjustment type
ABSOLUTE | Absolute adjustment of the price |
PERCENTAGE | Percentage adjustment of the price |
"ABSOLUTE" formattedPaymentFrequency required The formatted payment frequency
"Every 6 months" extensionTerm Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" defaultContractStartDate string(date) The default contract start date
"2025-08-24" defaultContractStartDateOfUse string(date) The default contract start date of use
"2025-09-01" priceAdjustmentRules array[object] Price adjustment rules that are part of this membership offer term.
defaultDescription required A complete formatted sentence which contains all details about this price adjustment rule. If the presentation should differ use the separate attributes.
"Formatted description of price adjustment rule" value required Value of price adjustment rule, might be percentage or amount, depends on `chargeAdjustmentType`
"5%" recurrenceFrequency required Recurrence of price adjustment rule, how often and when applies this rule
"monthly" type required States how the rule adjusts the price
RAISE | Raise price |
REDUCTION | Reduce price |
NEW_BASIC_AMOUNT | New price is the basic amount |
"RAISE" chargeAdjustmentType required How the rule changes the price
RELATIVE | Relative adjustment of the price |
ABSOLUTE | Absolute adjustment of the price |
BASIC_AMOUNT | Fix the price to the basic amount |
"RELATIVE" flatFees array[object] required Flat fees that are part of this membership offer.
name required The name of the flat fee
"Starter Package" identifier The identifier of the flat fee
"ID12345" formattedPaymentFrequency required The formatted payment frequency of the flat fee
"12M" firstBookingDelay Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" paymentFrequency Represents the payment frequency
id integer(int64) The unique identifier of the payment frequency. (`null` possible for starter package)
1234567890 type required Payment frequency type of a contract
FREE | Represents that the contract payment frequency is free of charge. |
NON_RECURRING | Represents that the contract payment frequency is non recurring, meaning only one payment is necessary here. |
RECURRING | Represents that the contract payment frequency is recurring, meaning that the payment will take place every term. |
MONTH_DAY | Represents that the contract payment frequency is based on month days, with a possibly individual price per month day. |
TERM_BASED | Represents that the contract payment frequency is based on terms, with a possibly individual price per term. |
"FREE" term Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" price Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" monthDaysToPrices array[object] Month day to prices list, used for contract payment frequency type `MONTH_DAY`
monthDay required The month day of the month day to price mapping
month JANUARY FEBRUARY MARCH APRIL MAY JUNE JULY AUGUST SEPTEMBER OCTOBER NOVEMBER DECEMBER monthValue integer(int32) dayOfMonth integer(int32) price required Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" termsToPrices array[object] Terms to prices list, used for contract payment frequency type `TERM_BASED`. Note that the price will become active `AFTER` the respective term has passed
term required Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" price required Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" recurring Whether the cycle of payments repeats indefinitely. Only relevant if type is `TERM_BASED` or `MONTH_DAY`.
ageBasedAdjustments array[object] List of age-based adjustments for the membership offer module.
ageRange required Represents an age range.
startAge integer(int32) required Start age of the range, inclusive.
18 endAge integer(int32) required End age of the range, inclusive.
65 value required The value of the adjustment, based on `type`.
10 type required Age based adjustment type
ABSOLUTE | Absolute adjustment of the price |
PERCENTAGE | Percentage adjustment of the price |
"ABSOLUTE" formattedPaymentFrequency required The formatted payment frequency
"Every 6 months" starterPackage extensionFixedTerm Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" extensionType required Membership offer extension type
NONE | No extension |
TERM_EXTENSION | Term extension |
SUBSEQUENT_RATE_DETAIL | Subsequent rate detail |
"NONE" subsequentRate Represents a subsequent rate for a membership offer.
name required Name of the subsequent rate
"Combined fitness and wellness" paymentFrequency required Represents the payment frequency
id integer(int64) The unique identifier of the payment frequency. (`null` possible for starter package)
1234567890 type required Payment frequency type of a contract
FREE | Represents that the contract payment frequency is free of charge. |
NON_RECURRING | Represents that the contract payment frequency is non recurring, meaning only one payment is necessary here. |
RECURRING | Represents that the contract payment frequency is recurring, meaning that the payment will take place every term. |
MONTH_DAY | Represents that the contract payment frequency is based on month days, with a possibly individual price per month day. |
TERM_BASED | Represents that the contract payment frequency is based on terms, with a possibly individual price per term. |
"FREE" term Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" price Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" monthDaysToPrices array[object] Month day to prices list, used for contract payment frequency type `MONTH_DAY`
monthDay required The month day of the month day to price mapping
month JANUARY FEBRUARY MARCH APRIL MAY JUNE JULY AUGUST SEPTEMBER OCTOBER NOVEMBER DECEMBER monthValue integer(int32) dayOfMonth integer(int32) price required Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" termsToPrices array[object] Terms to prices list, used for contract payment frequency type `TERM_BASED`. Note that the price will become active `AFTER` the respective term has passed
term required Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" price required Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" recurring Whether the cycle of payments repeats indefinitely. Only relevant if type is `TERM_BASED` or `MONTH_DAY`.
ageBasedAdjustments array[object] List of age-based adjustments for the membership offer module.
ageRange required Represents an age range.
startAge integer(int32) required Start age of the range, inclusive.
18 endAge integer(int32) required End age of the range, inclusive.
65 value required The value of the adjustment, based on `type`.
10 type required Age based adjustment type
ABSOLUTE | Absolute adjustment of the price |
PERCENTAGE | Percentage adjustment of the price |
"ABSOLUTE" formattedPaymentFrequency required The formatted payment frequency
"Every 6 months" cancelationStrategy required Membership offer cancelation strategy
TERM | Term cancelation |
RECEIPT_DATE | Receipt date cancelation |
"TERM" cancelationPeriod Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" extensionCancelationPeriod Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" rateBonusPeriods array[object] Rate bonus periods that are part of this membership offer term.
term required Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" termStrategy required Membership offer rate bonus period term strategy.
CONTRACT_START | Contract start date |
FIXED | Fixed date |
END_OF_CURRENT_TERM | End of current term |
START_OF_NEXT_TERM | Start of next term |
"CONTRACT_START" displaySeparately Indicates whether the bonus period should be displayed separately in the offer details
true runtimeExtensionType required Membership offer bonus period type.
WITH_EXTENSION | Period with extension |
WITHOUT_EXTENSION | Period without extension |
"WITH_EXTENSION" extendsCancellationPeriod Indicates whether the bonus period extends the cancellation period
false rateStartPrice Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" optionalModules array[object] Optional modules additionally payable.
id integer(int64) required Unique identifier for the membership offer module.
1234567890 name required Name of the membership offer module.
"Premium Fitness Package" description required Description of the membership offer module.
"Includes access to all gym facilities and group classes." imageUrl Image url of membership offer module. Expires after 5hours.
"https://some-module.com" term required Represents the terms of a membership offer.
extensionType required Module term extension type
NONE | No extension |
TERM_EXTENSION | Term extension |
SUBSEQUENT_RATE_DETAIL | Subsequent rate detail |
"TERM_EXTENSION" term Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" termExtension Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" cancelationPeriod Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" extensionCancelationPeriod Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" trialPeriod Represents the trial period of a membership offer.
trialPeriod required Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" description required Description of the trial period
"Free trial for 30 days" consentTextBlock Contract text block information.
id integer(int64) The unique identifier of the text block
1234567890 title The title of the text block
"Title of 1. text block" text The text of the text block
"Text of 1. text block" order integer(int32) The order of the text block in the contract
1 hasSignature Text block configuration has a signature field. You have the option to show a signature input field and it will be added in the contract document. It is not a required field in magicline. It is up to your implementation if you add this field.
showCommunicationPrivacyOptions Text block contains information about the communication privacy options. You are advised to show a matrix with communication settings in combination with this text block.
attachmentType Indicates the type of attachment for this block
NONE | No text block |
FILE | File information available in `attachedDocument` |
URL | Url information available in `attachedExternalUrlDto` |
CONTRACT_PDF_PREVIEW | Contract PDF preview |
"CONTRACT_PDF_PREVIEW" attachedExternalUrlDto Represents url information.
title required Url title
"Example Resource" url required Url to access the resource
"https://some-url.com" attachedDocument Represents document information.
fileName required Name of the file to download
"contract.pdf" url required Temporary valid download link. Expires after 5 hours.
"https://some-url.com" rateBundleModuleId integer(int64) The ID of the associated rate bundle module. Only set if this is a module consent text block.
1234567890 confirmationRequired rateCodes array[object] Rate codes of the membership offer module.
name The name of the rate code
"Standard Rate" identifier Unique identifier for the rate code.
"RC12345" paymentFrequency required Represents the payment frequency
id integer(int64) The unique identifier of the payment frequency. (`null` possible for starter package)
1234567890 type required Payment frequency type of a contract
FREE | Represents that the contract payment frequency is free of charge. |
NON_RECURRING | Represents that the contract payment frequency is non recurring, meaning only one payment is necessary here. |
RECURRING | Represents that the contract payment frequency is recurring, meaning that the payment will take place every term. |
MONTH_DAY | Represents that the contract payment frequency is based on month days, with a possibly individual price per month day. |
TERM_BASED | Represents that the contract payment frequency is based on terms, with a possibly individual price per term. |
"FREE" term Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" price Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" monthDaysToPrices array[object] Month day to prices list, used for contract payment frequency type `MONTH_DAY`
monthDay required The month day of the month day to price mapping
month JANUARY FEBRUARY MARCH APRIL MAY JUNE JULY AUGUST SEPTEMBER OCTOBER NOVEMBER DECEMBER monthValue integer(int32) dayOfMonth integer(int32) price required Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" termsToPrices array[object] Terms to prices list, used for contract payment frequency type `TERM_BASED`. Note that the price will become active `AFTER` the respective term has passed
term required Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" price required Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" recurring Whether the cycle of payments repeats indefinitely. Only relevant if type is `TERM_BASED` or `MONTH_DAY`.
ageBasedAdjustments array[object] List of age-based adjustments for the membership offer module.
ageRange required Represents an age range.
startAge integer(int32) required Start age of the range, inclusive.
18 endAge integer(int32) required End age of the range, inclusive.
65 value required The value of the adjustment, based on `type`.
10 type required Age based adjustment type
ABSOLUTE | Absolute adjustment of the price |
PERCENTAGE | Percentage adjustment of the price |
"ABSOLUTE" formattedPaymentFrequency required The formatted payment frequency
"Every 6 months" termAfterExtension Represents a term
value integer(int32) required The value of the term
2 unit required Represents a temporal unit
DAY | Represents a day unit |
WEEK | Represents a week unit |
MONTH | Represents month unit |
YEAR | Represents year unit |
"WEEK" priceAfterExtension Represents a financial data
amount required Amount of the finance data tuple
20 currency string(ISO 4217) required Currency of the finance data tuple
"EUR" timeRestrictions Time restrictions for offer based on opening hours category
openingHoursCategory Opening hours category information
categoryId integer(int64) required ID of the opening hours category
1234567890 name required Name of the opening hours category
"Off-Peak" availabilities array[object] List of availabilities for this offer
dayOfWeek required Day of the week
MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY "MONDAY" timeFrom string(time) required Start time in ISO-8601 format
"06:00:00" timeTo string(time) required End time in ISO-8601 format
"23:00:00" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child"