Setup

@wix/restaurants

To use the FulfillmentMethods API, install the @wix/restaurants package.

Install the package

To install the package, follow the instructions below based on your development environment.

Wix sites and Blocks apps

When developing with:

Copy
npm install @wix/restaurants

or

Copy
yarn add @wix/restaurants

Wix apps and Headless

When developing CLI or self-hosted Wix apps, as well as headless apps or sites, run the following command:

Copy
npm install @wix/restaurants

or

Copy
yarn add @wix/restaurants

Import the package

To import the package in your code:

Copy
import { fulfillmentMethods } from "@wix/restaurants";
Did this help?