> 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: ServiceFees ## Article: Introduction ## Article Link: https://dev.wix.com/docs/velo/apis/wix-restaurants-v2/service-fees/introduction.md ## Article Content: --- title: Introduction --- # About the Service Fees API The Service Fees API allows you to manage your service fees rules and apply them to orders. With the Service Fees API, you can: * Create and manage rules for service fees on your site. * Implement custom pricing and fee structures for restaurant orders on your site. * Adjust service fees automatically based on certain rules or conditions. ## Before you begin It's important to note the following point before starting to code: * You must install the Wix Restaurants Orders (New) app. To use the Item Modifiers API, import `{ serviceFees }` from wix-restaurants.v2: ```js import { serviceFees } from 'wix-restaurants.v2'; ``` ## Terminology * **Order**: Information about an order that is placed by a customer. It contains necessary information to calculate service fees. The order has not yet been placed, it is in the pre-checkout stage. * **Condition**: Evaluates a specific field in the order. * **Condition Tree**: Contains two conditions and an operator. * **Rule**: Defines the fee that is applied when specific conditions (also defined by the rule) are met.