> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Method name:

bookings.service.useServiceContext(optional: boolean)

# Method Link:

https://dev.wix.com/docs/contexts/contexts/bookings/service/use-service-context.md

# Method Description:

The `useServiceContext()` hook provides access to a bookable service's details, prices, media,
locations, and availability, and to the visitor's booking selection for it. Use it to show a
service, let visitors choose what to book, and send them to the next step of booking it. When you
pass `true` to the hook, it returns `null` where the context isn't available.

# Method Permissions:



# Method Permissions Scopes IDs:

undefined



