# Update event booking guidelines Update the booking guidelines for an event. You can update booking guidelines such as maximum number of guests allowed to accompany a traveler, arrival and departure window for the event, payment methods, and allowed travel types. Endpoint: POST /v2/events/{eventId}/edit-booking-guidelines Version: v2 Security: Bearer ## Path parameters: - `eventId` (string, required) Event ID Example: "6926658168" ## Request fields (application/json): - `bookingGuidelines` (array, required) A list of booking guideline for the event. - `allowedBookingTypes` (array) Allowed booking types for the event group Enum: "AIR", "HOTEL", "CAR", "RAIL" - `allowedPaymentConfig` (array) Allowed payment configuration for the event template - `allowedPaymentConfig.travelType` (string, required) Travel Type Enum: "AIR", "HOTEL", "CAR", "RAIL", "LIMO", "MISC", "ALL" - `allowedPaymentConfig.paymentConfig` (string, required) Allowed payment configuration for a travel type in the event template Enum: "TRAVELER_DEFAULT", "PERSONAL", "SELECTED_METHODS" - `paymentMappings` (array) Mappings i.e. access level, travel type information etc. - `paymentMappings.id` (string, required) Unique identifier identifying this payment source Example: "f49d00fe-1eda-4304-ba79-a980f565281d" - `paymentMappings.accessTypeAttributes` (object) Attributes applicable to the access type for this mapping. - `paymentMappings.accessTypeAttributes.travelTypeFilter` (object) Filter for selecting payment sources according to different types of travel. - `paymentMappings.accessTypeAttributes.travelTypeFilter.travelTypes` (array) Applicable travel types for Payment Source. - `paymentMappings.accessTypeAttributes.travelTypeFilter.travelTypes.travelType` (string, required) Applicable travel segment type, e.g. AIR, HOTEL etc. Enum: "AIR", "HOTEL", "CAR", "RAIL", "LIMO", "MISC", "ALL" - `paymentMappings.accessTypeAttributes.travelTypeFilter.travelTypes.isRequired` (boolean) Whether this is a required payment source for this travel type. - `paymentMappings.accessTypeAttributes.travelTypeFilter.travelTypes.allowPostPaidBookings` (boolean) Whether post paid bookings are allowed for this travel type. - `paymentMappings.accessTypeAttributes.travelTypeFilter.travelTypes.metadata` (any) - `eventType` (string) Type of an event Enum: "GENERIC", "PROGRAM", "PROGRAM_SESSION", "PROGRAM_TRIP" ## Response 200 fields (application/json): - `id` (string) Example: "some-id" ## Response 400 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error. ## Response 401 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error. ## Response 403 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error.