> 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`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Sample Flows ## Article: Sample Flows ## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/events/event-management/events-settings/sample-flows.md ## Article Content: # Events Settings API: Sample Flows This article presents possible use cases and corresponding sample flows that you can support. This can be a helpful starting point as you plan your implementation. ## Handle premium feature upgrades Show appropriate UI elements in a custom checkout when a Wix user upgrades their subscription to enable paid ticket sales. This flow helps to respond to changes in premium features that affect ticketing and checkout behavior. To handle premium feature changes: 1. Call [Get Events Settings](https://dev.wix.com/docs/api-reference/business-solutions/events/event-management/events-settings/get-events-settings.md) with specific field categories to get initial settings. 1. Store the initial `siteInfo.premiumFeatures` array in your database for comparison. 1. Listen for [Events Settings Updated](https://dev.wix.com/docs/api-reference/business-solutions/events/event-management/events-settings/events-settings-updated.md) webhook to receive notifications when settings change. 1. When you receive an update notification, compare the new `siteInfo.premiumFeatures` array with your previously stored values to identify changes. 1. If the `SELL_TICKETS` feature is added to premium features: 1. Check `paymentSettings.activePaymentMethods` for available payment options. 1. Verify `paymentSettings.ticketSalesEnabled` is `true`. 1. Update your checkout UI to display payment method options. 1. Store the updated premium features list for future comparisons.