Method

s2rxc-membertypes-add

Description

This method will update an existing member type.

Parameters

Name Input Value Type Description
business_code Integer This is the business we are working within.
membership_type_group_id Integer This is the type of member type.
label String Label of the member type.
description String Description of this member type.
discount_id Integer The default discount this member type will be assigned to.
parent_member_type_id Integer The parent member type of this member type.
rate_group_id Integer The default rate group this member type will be assigned to.
inventory_segment_id Integer The inventory segment this member type can book into.
active_in_commerce Boolean Specifies if this member type means a business can do commerce in the system or not.
logo_file String Logo file used when generating certain reports for this member type.
prefix String The prefix to use when assigning member numbers.
business_ids String This is a CSV of businesses we want this member type to be assigned to.
max_length_of_stay Integer This is the maximum length of stay the membership can book for.
max_days_per_year Integer This is the maximum number of nights per year the membership can book for.
business_return_limitation String This is a CSV of length of reservation and limitation duration.
skip_web_cc_no_amount_due Boolean True/False on whether to skip credit card processing online when no amount is due.
concurrent_use Boolean True/False on whether to turn concurrent use rule on or off.
future_reservations_per_business Integer This is the allowable number of reservations per business in the future.
major_holidays_per_year Integer This is the allowable number of major holidays per year.
consecutive_major_holidays Integer This is the number of major holidays a member must skip after booking a major holiday.
format enumeration (optional) Set this value to "xml" for XML raw formatted output, "xml-clean" for XML tidy formatted output or "json" for JSON formatted output. If not passed, "xml" is used as a default

XML Encoded Request

URL Encoded Request





Result