App Page Data

You can use the getAppPageData() function in code for custom app pages to retrieve data you can use to customize the page. The data passed to each type of custom app page is different. This article lists the objects passed to each type of custom app page.

Booking Service Page

The object passed to a custom Booking Service page contains the following properties:

NameTypeDescription
serviceObjectThe Service object, which contains detailed data about the service.

Note: If the page URL specifies a service that is deleted, hidden, or does not exist, the app returns null.

Learn more about building a custom Service page.

Booking Calendar Page

The object passed to a custom Booking Calendar page contains the following properties:

NameTypeDescription
serviceObjectThe Service object, which contains detailed data about the service.

Pricing Plans Page

The object passed to a custom Pricing Plans page contains the following properties:

NameTypeDescription
planObjectThe Plan object, which contains detailed data about the plans.

Note: If the page URL specifies a plan that is deleted, hidden, or does not exist, the app returns null.

Learn more about building a custom Pricing Plans page.

Was this helpful?
Yes
No