Verifying the custom "Create reservation" page implementation

Learn how to verify the custom "Create reservation" page implementation. In this lesson, you validate that your "Create reservation" form works correctly and calls the APIs that you implemented.

Procedure

You successfully created the Create reservation page and implemented the necessary APIs. Now test the changes.
  1. If you are still logged in to Order Hub, reload the frame. Otherwise, log in to Order Hub.
  2. Click Inventory and search for an item.
  3. Click the overflow menu and then select Create reservation.
  4. Create a reservation by using the form. A reservation is created successfully when this banner is shown:
    Reservation successful
  5. Click the refresh icon in the toolbar:
    Refresh table

    Clicking the refresh icon calls the fetchTableData() method which in turn calls the getReservation API and getInventpryAvailability API.

What to do next

Deploy your customizations. For more information, see Deploying customizations in next-generation Order Hub.