Freshtix
Last updated
Last updated
PATCH
/api/partners/{partner_id}/bookings/{booking_id}
The Modify Booking API endpoint allows partners to update a confirmed booking. Partners can provide the updated values and insured parties for the booking attributes for booking modification. This endpoint requires a valid access token obtained from the Authentication.
Depending on the policies, booking modification may result in additional costs.
Path parameters
Parameter | Type | Description |
---|---|---|
Headers
Name | Value |
---|---|
Body
Name | Type | Description |
---|---|---|
Response
partner_id
string
The partner identifier provided during onboarding
booking_id
string
Unique identifier of the booking returned in the create booking endpoint
Accept
application/json
Content-Type
application/json
Authorization
Bearer <token>
policies
array
policies[].id
string
Unique identifier of the booking policy
policies[].update_fields
object
All booking attributes that need to be updated should be specified in this object
policies[].update_fields.event_datetime
string/datetime
Updated event date time
policies[].update_fields.policy_start_date
string/datetime
Updated policy start date
policies[].update_fields.policy_end_date
string/datetime
Updated policy end date
policies[].update_fields.number_of_tickets
integer
Updated number of tickets covered in this policy
policies[].update_fields.tickets
array
An array of tickets to be covered in this policy
policies[].update_fields.tickets[].price
decimal
The price of the ticket
policies[].update_fields.tickets[].type
string
Ticket type
policies[].update_fields.tickets[].scanned_at
string/datetime
The date time when the ticket was scanned.
policies[].update_fields.insured
array
A list of insured
policies[].update_fields.insured[].first_name
string
First name
policies[].update_fields.insured[].last_name
string
Last name
policies[].update_fields.insured[].email
string
Email address
policies[].update_fields.insured[].country
string
Two letters country code
policies[].update_fields.insured[].address1
string
Address line 1
policies[].update_fields.insured[].address2
string
Address line 2
policies[].update_fields.insured[].city
string
City of residence
policies[].update_fields.insured[].region
string
Region
policies[].update_fields.insured[].postcode
string
Postcode
policies[].update_fields.insured[].phone
string
Phone number
policies[].update_fields.insured[].birth_date
string
Date of birth
policies[].update_fields.insured[].company
string
Company name