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.
-
If you are still logged in to Order Hub, reload the frame. Otherwise, log in to
Order Hub.
-
Click and search for an item.
-
Click the overflow menu and then select Create reservation.
-
Create a reservation by using the form. A reservation is created successfully when this banner
is shown:
-
Click the refresh icon in the toolbar:
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.