Create an event

Events are most commonly automatically created by Xola when a new order is created. You would only need to programatically create an event when you want to pre-assign guides or max capacity prior to any orders being placed.

Return codes

Return codeDefinition
201Event was successfully created, or if an existing event with the same experience and start was present, it was updated.
400One of the required fields was either not specified, or was invalid.
409The guide you attempted to assign has already been assigned to an overlapping event. The response will contain the conflicting event.
Body Params
experience
object
date
required

A valid start time configured in the experience schedule.

guides
array of objects

List of guides to be assigned to the event.

guides
int32

Maximum open seats permitted for the event. This overrides the experience group.outingMax.

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here!