> 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 # Method name: createFulfillmentMethod(fulfillmentMethod: FulfillmentMethod) # Method package: wixRestaurantsV2 # Method menu location: wixRestaurantsV2 --> fulfillmentMethods --> createFulfillmentMethod # Method Link: https://dev.wix.com/docs/velo/apis/wix-restaurants-v2/fulfillment-methods/create-fulfillment-method.md # Method Description: Creates a new fulfillment method. >**Note:** `fulfillmentMethod.availability.time_zone` uses the time zone specified in the [`language and regions`](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Fsettings/language-and-region) settings in the dashboard, regardless of the value provided. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## createFulfillmentMethod example for dashboard page code ```javascript import { fulfillmentMethods } from 'wix-restaurants.v2'; async function createFulfillmentMethod(fulfillmentMethod) { try { const result = await fulfillmentMethods.createFulfillmentMethod(fulfillmentMethod); return result; } catch (error) { console.error(error); // Handle the error } } ``` ## createFulfillmentMethod example for exporting from backend code ```javascript import { fulfillmentMethods } from 'wix-restaurants.v2'; import { webMethod, Permissions } from 'wix-web-module'; import { elevate } from 'wix-auth'; const elevatedCreateFulfillmentMethod = elevate(fulfillmentMethods.createFulfillmentMethod); export const createFulfillmentMethod = webMethod( Permissions.Anyone, async (fulfillmentMethod) => { try { const result = await elevatedCreateFulfillmentMethod(fulfillmentMethod); return result; } catch (error) { console.error(error); // Handle the error } } ); ``` ---