Update a bundle
POSThttps://api.tickettailor.com/v1/event_series/:event_series_id/bundles/:bundle_id
Update existing bundle
Request
Path Parameters
event_series_id stringrequired
The unique identifier for the event series
bundle_id stringrequired
The unique identifier for the bundle
- application/x-www-form-urlencoded
Body
access_codestring
Code to access a bundle
Example:
secret_code_123
booking_feeinteger
Optional booking fee which is charged per bundle to the customer and the funds are paid to you. We would recommend charging no more than 10% of the bundle price.
Example:
155
descriptionstring
Bundle description
Example:
This is a family bundle
namestring
Bundle name
Example:
Family bundle
priceinteger
Cost of the bundle
Example:
600
product_ids object
status
Bundle status
Possible values: [ADMIN_ONLY
, HIDDEN
, LOCKED
, SOLD_OUT
, ON_SALE
, UNAVAILABLE
]
Example:
ON_SALE
ticket_type_ids object
Responses
- 200
- default
Successfully updated the bundle
- application/json
- Schema
- Example (auto)
Schema
objectstring
idstring
access_codestringnullable
Code to access a bundle
booking_feeinteger
Booking fee in cents
descriptionstring
Bundle description
namestring
Bundle name
priceinteger
Price in cents
products object[]
statusstring
Bundle status
Possible values: [HIDDEN
, UNAVAILABLE
, ON_SALE
, SOLD_OUT
]
ticket_types object[]
{
"object": "bundle",
"id": "bu_230626",
"access_code": "secret_code_123",
"booking_fee": 200,
"description": "This is a bundle",
"name": "Family bundle",
"price": 600,
"products": [
{
"id": "pr_1",
"quantity": 1
},
{
"id": "pr_123",
"quantity": 12
}
],
"status": "ON_SALE",
"ticket_types": [
{
"id": "tt_6",
"quantity": 4
}
]
}
Error schema
- application/json
- Schema
- Example (auto)
Schema
statusintegerrequired
Http status code
error_codestringrequired
Readable error code
messagestringrequired
Detailed error message
errors object[]
{
"status": 0,
"error_code": "string",
"message": "string",
"errors": [
{
"field": "string",
"messages": [
"string"
]
}
]
}
Authorization: http
name: BasicAuthtype: httpdescription: Use base64 encoded api key created in Ticket Tailor dashboard. scheme: basic
- curl
- php
- ruby
- python
- nodejs
- go
- CURL
curl -L -X POST 'https://api.tickettailor.com/v1/event_series/:event_series_id/bundles/:bundle_id' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json' \
-H 'Authorization: Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+'