Get additional modules
DeprecatedRequired Scopes: `MEMBERSHIP_SELF_SERVICE_ADDITIONAL_MODULE_READ` Get additional modules for a studio
Endpoint
/v1/memberships/self-service/additional-modules Responses
Response Body application/json
id integer(int64) required Unique ID of the additional module
203 name required Name of the additional module rate
"drink flat" description Description of the additional module rate
"drink flat" imageUrl required Image url of the additional module
"https://www.image.com" paymentFrequencies array[object] required Payment frequencies of the additional module
id integer(int64) Unique ID of the payment frequency of an additional module
203 type required Payment frequency type of an additional module
FREE | Represents that the additional module payment frequency is free of charge. |
NON_RECURRING | Represents that the additional module payment frequency is non recurring, meaning only one payment is necessary here. |
RECURRING | Represents that the additional module payment frequency is recurring, meaning that the payment will take place every term. |
MONTH_DAY | Represents that the additional module payment frequency is based on month days, with a possibly individual price per month day. |
TERM_BASED | Represents that the additional module 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 additional module 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 additional module 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" termInformation required Term information of the additional module
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" extension Represents an additional module extension
extensionType required Extension type of an additional module
TERM_EXTENSION | Represents that the additional module will be extended automatically as soon as cancelation period is over |
NEW | Represents that a new additional module will be created automatically as soon as cancelation period is over |
"NEW" 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" 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" 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" trialPeriodConfig Represents the trial period config of an additional module
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" description Description of the trial period config
"Test period for the drink flat" rateCodes array[object] Rate codes of the additional module rate
name The name of the rate code
"Standard Rate" identifier Unique identifier for the rate code.
"RC12345" 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"