You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reference id provided by a partner while making the booking. This is provided in the second booking step called using PUT.
variantId
string
GETPOST
no
ID of the variant of the product that needs to be booked. Every product has atleast 1 bookable variant entry.
inventoryId
string
POST
no
ID of the inventory that needs to be booked. This id itself will not be stored, but will be used to fetch startDateTime, pricing profile for price validation etc.
startDateTime
string
GET
no
The start date time of the experience. This could also signify the opening time for an attraction depending upon the inventory type. Format: fm-date-timeRef: product-variant.inventoryType
The price at which the purchase needs is made. This needs to be submitted in POST for backend verification. The submitted currency currently should conform to the currency of the product.
status
enum
GETPUT
no
The current status of the booking. After POST this will always be UNCAPTURED. The status can be changed using PUT to PENDING to specify to the backend. enum: UNCAPTURED ,PENDING ,COMPLETED ,CANCELLED ,DIRTY , CAPTURE_TIMEDOUT. Ref: booking.status
voucherUrl
string
GET
no
Link to the voucher of the booking. Voucher is inherently a dynamic entity and currently can either be a PDF or an HTML page.
An array of tickets associated with this booking. This can be empty if the booking hasn't been confirmed or cancelled.
creationTimestamp
int
GET
no
The epoch timestamp specifying the time when the booking was created. Format: fm-timestamp.
booking.status
UNCAPTURED: This state means that the booking entry is created on our system but in a dormant state. It will not be processed by our system until the state is changed to PENDING. Bookings with UNCAPTURED status are automatically moved to CAPTURE_TIMEOUT state after 1 hour and are then rendered uncapturable.
PENDING: This state means that the booking has been captured and is now being processed by our system.
COMPLETED: The booking is successful and has been completed.
CANCELLED: The booking has been cancelled.
DIRTY: The booking has been modified from it's original specification. This happens only when specific booking modification requests are made by the customer. This might evolve into a different specification in the future.
CAPTURE_TIMEOUT: If a booking has been there on our system in UNCAPTURED state for more than an hour it is move to CAPTURE_TIMEOUT state and then cannot be captured.