Managing Reservations
How to add, update, and remove reservations on orders
Managing Reservations
Reservations can be managed within the context of their parent order. This is useful for manual corrections, linking external bookings, and handling edge cases.
Viewing Reservations
From the order details page:
- Navigate to the Reservations tab
- View all linked reservations
Each reservation shows:
- Created Date
- Reservation ID (external reference)
- Type (AIR or HOTEL)
- Amounts (payment and base)
- Status
Adding a Reservation
To link an external reservation to an order:
- Open order details
- Navigate to Reservations tab
- Click Add Reservation
- Enter the external reservation ID
- Submit
What Happens When Adding
The system:
- Validates the order exists
- Checks the reservation ID doesn't already exist
- Fetches reservation details from IRIX
- Verifies the reservation belongs to the order's buyer
- Creates the internal reservation record
- Sets service dates from external data
When to Add Reservations
- Manual bookings: Reservations created outside the normal flow
- Recovery: Reservations lost due to system errors
- Corrections: Linking updated reservation IDs
Only add reservations that legitimately belong to the order. The system verifies ownership but cannot prevent all misuse.
Updating a Reservation
To modify an existing reservation:
- Open order details
- Navigate to Reservations tab
- Click the edit action on the reservation
- Modify fields as needed
- Save changes
Editable Fields
| Field | Description |
|---|---|
| Reservation ID | External reference (triggers data refresh) |
| Status | OK, IN_PROGRESS, REFUNDED |
What Happens When Updating
If the reservation ID is changed:
- System fetches new reservation from IRIX
- Verifies ownership matches
- Updates price, currency, and service type
- Refreshes service dates
If only status is changed:
- Status is updated directly
- No external fetch occurs
Common Update Scenarios
Linking an External Reservation
When a reservation was created externally:
- Find the order
- Edit the placeholder reservation
- Enter the actual IRIX reservation ID
- Save — data populates from external system
Marking as Refunded
When a reservation is refunded externally:
- Find the order
- Edit the reservation
- Change status to
REFUNDED - Save
Removing a Reservation
To delete a reservation record:
- Open order details
- Navigate to Reservations tab
- Click the delete action
- Confirm deletion
Deleting a reservation removes the internal record only. It does not cancel the external booking. Use this only for cleanup of erroneous records.
When to Remove
- Duplicate records: Same reservation linked twice
- Incorrect links: Wrong reservation linked to order
- Test data: Cleanup of test reservations
What Gets Removed
- Internal reservation record
- Link to order
- Service dates
What Is NOT Removed
- External booking (still active in IRIX)
- Order record
- Events related to the reservation
- Transaction records
Reservation Status Management
Status Meanings
| Status | Meaning | Typical Cause |
|---|---|---|
OK | Confirmed | Successful booking/ticketing |
IN_PROGRESS | Processing | Awaiting confirmation |
REFUNDED | Cancelled | Refund processed |
Status Transitions
When to Change Status
IN_PROGRESS → OK
- External confirmation received
- Manual verification completed
OK → REFUNDED
- Refund processed externally
- Booking cancelled
IN_PROGRESS → REFUNDED
- Booking failed
- User cancelled before confirmation
Best Practices
Before Adding/Modifying
- Verify external reservation exists in IRIX
- Confirm ownership matches order's buyer
- Document the reason for the change
- Check for duplicates before adding
After Changes
- Verify the order status is appropriate
- Check the events tab for logged activity
- Notify relevant parties if needed
Audit Trail
All reservation changes are logged:
- Add: Creates system event
- Update: Logged in application logs
- Delete: Logged in application logs
For formal audit requirements, reservation changes should be documented in external ticketing/tracking systems as well.
Troubleshooting
"Reservation not found" Error
When adding or updating:
- Verify the reservation ID is correct
- Check that the reservation exists in IRIX
- Confirm the buyer ID matches
"Reservation already exists" Error
When adding:
- The reservation ID is already linked to an order
- Search for existing reservation before adding
- Consider updating instead of adding
Cannot Update External Data
If external data won't refresh:
- Check IRIX connectivity
- Verify reservation still exists
- Try again after a few minutes