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:

Copy

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.
Did this help?