---
title: "Update event booking guidelines"
method: POST
path: "/v2/events/{eventId}/edit-booking-guidelines"
tags: ["Events"]
---

# Update event booking guidelines

`POST /v2/events/{eventId}/edit-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.

## Request body

- UpdateEventBookingGuidelinesRequest — Update Event booking guidelines request object
  - `bookingGuidelines` EventBookingGuideline[], required — A list of booking guideline for the event.
    - union — Booking details allowed for the event
      - object — Wrapper for AirBookingGuideline
        - `airBookingGuideLine` AirBookingGuideline — Air related guidelines
          - `allowedAirports` AirportInfo[] — List of allowed airports for arrival of flight-in-event and departure of flight-out-event.
            - `airportCode` string — 3-letter code of the airport.
            - `airportName` string — Full name of the airport.
            - `cityName` string — Name of the city in which the airport is located (or is nearest to).
            - `countryName` string — Name of the country in which the airport is located.
            - `countryCode` string — 2-letter IATA country code associated with the airport.
            - `zoneName` string — Name of the time zone associated with the airport.
            - `stateCode` string — 2-letter IATA code for the state in which the airport is located.
          - `allowedCityCodes` string[] — List of allowed city codes for arrival of flight-in-event and departure of flight-out-event. If both allowedAirports and allowedCityCodes are provided, allowedCityCodes takes precedence.
          - `arrivalBookingWindow` EventBookingWindow — Event booking window
            - `startDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
            - `endDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
          - `departureBookingWindow` EventBookingWindow — Event booking window
            - `startDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
            - `endDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
          - `allowedFlightGuidelines` AllowedFlightGuideline[] — List of allowed flight guidelines for the event.
            - `allowedFlightType` 'ONE_WAY' | 'ROUND_TRIP' | 'MULTICITY', required — The types of flight booking guidelines
            - `numberOfLegs` integer — The number of legs allowed for the flight booking.
        - `numGuestsAllowed` integer — Number of guests allowed to be booked for this booking
      - object — Wrapper for HotelBookingGuideline
        - `hotelBookingGuideLine` HotelBookingGuideline — Hotel related guidelines
          - `allowedHotels` HotelInfo[] — List of allowed Hotel details for the event
            - `address` PostalAddress, required — Postal Address Details
              - …
            - `chainCode` string — Chain code of the hotel.
            - `chainName` string — Chain name of the hotel.
            - `coordinates` Latlng — Latitude and Longitude for a Location
              - …
            - `email` string — Email address of the hotel.
            - `hotelId` string — Hotel id.
            - `name` string, required — Name of the hotel.
            - `phone` PhoneNumber — Properly formatted phone number.
              - …
            - `starRating` number, double — Star rating of the hotel.
            - `fax` PhoneNumber[]
              - …
            - `masterChainCode` string — Master chain code of the hotel.
            - `brandName` string — Brand name of the hotel.
            - `amenities` HotelAmenities[]
              - …
            - `additionalAmenities` string[] — List of amenities provided by the supplier.
            - `imageSets` HotelImageSet[]
              - …
            - `descriptions` HotelDescription[]
              - …
            - `thirdPartyHotelCodes` ThirdPartyHotelCode[]
              - …
          - `checkinBookingWindow` EventBookingWindow — Event booking window
            - `startDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
            - `endDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
          - `checkoutBookingWindow` EventBookingWindow — Event booking window
            - `startDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
            - `endDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
          - `paymentGuidelines` HotelBookingPaymentGuidelines — Hotel booking payment guidelines
            - `onlyVpayEnabledBooking` boolean — Whether only Vpay enabled bookings are allowed for the event.
        - `numGuestsAllowed` integer — Number of guests allowed to be booked for this booking
      - object — Wrapper for CarBookingGuideline
        - `carBookingGuideLine` CarBookingGuideline — Car related guidelines
          - `pickupBookingWindow` EventBookingWindow — Event booking window
            - `startDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
            - `endDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
          - `dropoffBookingWindow` EventBookingWindow — Event booking window
            - `startDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
            - `endDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
          - `paymentGuidelines` CarBookingPaymentGuidelines — Car booking payment guidelines
            - `allowedPaymentVendors` VendorInfo[] — List of allowed car vendors for the event
              - …
            - `onlyVendorBooking` boolean — Whether only Vendor bookings are allowed for the event.
        - `numGuestsAllowed` integer — Number of guests allowed to be booked for this booking
      - object — Wrapper for RailBookingGuideline
        - `railBookingGuideLine` RailBookingGuideline — Rail related guidelines
          - `arrivalBookingWindow` EventBookingWindow — Event booking window
            - `startDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
            - `endDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
          - `departureBookingWindow` EventBookingWindow — Event booking window
            - `startDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
            - `endDateTime` DateTimeLocal, required — Local date and time in ISO 8601 format.
              - …
        - `numGuestsAllowed` integer — Number of guests allowed to be booked for this booking
  - `allowedBookingTypes` EventAllowedBookingType[] — Allowed booking types for the event group
  - `allowedPaymentConfig` PaymentConfigForTravelType[] — Allowed payment configuration for the event template
    - `travelType` 'AIR' | 'HOTEL' | 'CAR' | 'RAIL' | 'LIMO' | 'MISC' | 'ALL', required — Travel Type
    - `paymentConfig` 'TRAVELER_DEFAULT' | 'TRAVELER_DEFAULT_CENTRAL' | 'PERSONAL' | 'SELECTED_METHODS', required — Allowed payment configuration for a travel type in the event template
  - `paymentMappings` PaymentAccessMapping[] — Mappings i.e. access level, travel type information etc.
    - `id` string, uuid, required — Unique identifier identifying this payment source
    - `accessTypeAttributes` AccessTypeAttributes — Attributes applicable to the payment source for specific Access Type.
      - `travelTypeFilter` TravelTypeFilter — Filter for selecting payment sources according to different types of travel.
        - `travelTypes` PaymentSourceTravelType[] — Applicable travel types for Payment Source.
          - `travelType` 'AIR' | 'HOTEL' | 'CAR' | 'RAIL' | 'LIMO' | 'MISC' | 'ALL', required — Travel Type
          - `isRequired` boolean — Whether this is a required payment source for this travel type.
          - `allowPostPaidBookings` boolean — Whether post paid bookings are allowed for this travel type.
          - `metadata` PaymentSourceTravelTypeMetadata
            - `travelType` string, required — Travel Type for the metadata. For cars it's CAR.
            - `vendors` CarVendorBasic[] — Vendors for which the payment source is applicable.
              - …
  - `eventType` 'GENERIC' | 'PROGRAM' | 'PROGRAM_SESSION' | 'PROGRAM_TRIP' — Type of an event

## Response `200`

OK

- EntityNonUUIDId — Identifier of a non uuid object
  - `id` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/spotnana/apis/event-api.md) · [All operations](https://skmtc.net/spotnana/apis/event-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spotnana/event-api/versions/13f531f73066/schema)
