> 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/restaurants/menus/sample-flows.md ## Article Content: # Wix Restaurants Menus: Sample Flows This article presents possible use cases and corresponding sample flows that you can support. This can be a helpful jumping off point as you plan your implementation. ## Export a complete menu structure to an external POS system To export a menu from Wix Restaurants to an external POS: 1. Retrieve the complete menu structure as described in [Retrieve a Complete Menu Structure](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/menus/retrieve-a-complete-menu-structure.md). 2. Create a mapping between Wix Restaurants menu entities and your external POS system menu entities to support syncing between them. Make sure to include all external IDs, such as menu and item IDs in the mapping. Store this mapping on your servers. 3. Update the complete menu in the POS system. ## Export a complete menu structure to a CSV To export a menu from Wix Restaurants to a CSV file: 1. Retrieve the complete menu structure as described in [Retrieve a Complete Menu Structure](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/menus/retrieve-a-complete-menu-structure.md). 2. Format the desired CSV. For example, create one file per entity or a single file containing the complete JSON structure. 3. Prepare and save the complete menu into the CSV file. ## Import a menu from a POS system to Wix Restaurants To import a menu from an external POS into Wix Restaurants: 1. Retrieve the external catalog from the POS. 2. Create a mapping between Wix Restaurants menu entities and your external POS system menu entities to support syncing between them. Make sure to include all external IDs, such as menu and item IDs in the mapping. Store this mapping on your servers. 3. Call [List Locations](https://dev.wix.com/docs/rest/business-management/locations/list-locations.md) to identify and save the relevant location ID. Use this ID and the `businessLocationId` when creating Wix Restaurants entities in the next step. 4. Bulk import menu data as described in [Build a Complete Menu](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/menus/build-a-complete-menu.md). ## Update Wix Restaurants menus according to changes in an external POS system To keep Wix Restaurants menus up-to-date with changes in an external POS: 1. Ensure you have a mapping between the two menus. 2. Listen to external webhooks for changes to the POS. 3. Update your mapping according to the changes. 4. Update the relevant Wix Restaurants menu entities by calling the appropriate update methods: - [Update Menu](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/menus/menus/update-menu.md) - [Update Section](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/menus/sections/update-section.md) - [Update Item](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/menus/items/items/update-item.md) - [Update Modifier](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/menus/items/item-modifiers/update-modifier.md) - [Update Variant](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/menus/items/item-variants/update-variant.md) - [Update Modifier Group](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/menus/items/item-modifier-groups/update-modifier-group.md) - [Update Label](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/menus/items/item-labels/update-label.md) > **Note:** If the update includes multiple changes, use bulk update methods where possible.