TariffBookingCredits
Update TariffBookingCredit
Update an existing TariffBookingCredit record.
PUT
Update TariffBookingCredit
Updates an existing TariffBookingCredit record. You must include the
Id of the record to update along with all required fields.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the TariffBookingCredit-Edit role.Enums
eTimeSpanWeekMonth — ServiceRenewalTime values
eTimeSpanWeekMonth — ServiceRenewalTime values
Request Body
Required Fields
How often will this credit amount will expire and be issued again. Most common option is TariffMonth, which follows the plan renewal cycle..
Optional Fields
List of the IDs of the products this booking credit can be used for. Applies only when IsUniversalCredit is true..
List of the IDs of the plans this booking credit can be used for. Applies only when IsUniversalCredit is true..
Whether this credit can be used to pay for bookings. Restrict to specific resource types using elegible-resource-types.
Whether this credit can be used to pay for event sign-ups. Restrict to specific categories with ElegibleResourceTypes.
List of the IDs of the event categories this booking credit can be used for. Applies only when IsUniversalCredit is true..
Whether this is a universal credit applicable to products, time passes and other charges. Restrict with ElegibleProducts, ElegiblePasses and AppliesToCharges; if all are empty the credit applies to all products, passes and charges.
List of the IDs of the passes this booking credit can be used for. Applies only when IsUniversalCredit is true..
Code Examples
Response
200
Example Response
400
Example Response