> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> 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`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# BulkCreateFulfillmentMethods

# Package: onlineOrders

# Namespace: FulfillmentMethodsService

# Method link: https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/fulfillment-methods/bulk-create-fulfillment-methods.md

## Permission Scopes:
Manage Restaurants - all permissions: SCOPE.RESTAURANTS.MEGA-SCOPES

## Introduction

Create multiple fulfillment methods at once.

---

## REST API

### Schema

```
 Method: bulkCreateFulfillmentMethods
 Description: Create multiple fulfillment methods at once.
 URL: https://www.wixapis.com/fulfillment-methods/v1/bulk/fulfillment-methods/create
 Method: POST
 Method parameters:
   param name: fulfillmentMethods | type: array<fulfillmentMethods> | description: Fulfillment methods to create.  | validation: maxItems 100
              - ONE-OF: 
                 - name: pickupOptions | type: PickupInfo | description: Data specific for pickup fulfillment method.  
                    - name: instructions | type: string | description: Instructions for the pickup.  | validation: maxLength 250
                 - name: deliveryOptions | type: DeliveryInfo | description: Data specific for delivery fulfillment method.  
                    - name: deliveryTimeInMinutes | type: integer | description: Estimated delivery time in minutes.  | validation: minimum 0, format int32
                    - name: freeDeliveryThreshold | type: string | description: Threshold for offering free delivery. If the order price exceeds this threshold, the delivery fee is waived.  | validation: decimalValue {"maxScale":3}
                    - name: deliveryArea | type: DeliveryArea | description: Delivery area supported by this delivery fulfillment method.  
                       - ONE-OF: 
                          - name: radiusOptions | type: Radius | description: Settings for a radius delivery area.  
                             - name: minDistance | type: string | description: Minimum distance value. The unit of the radius is specified in the `unit` field.  | validation: decimalValue {"gte":"0","lte":"10000","maxScale":3}
                             - name: maxDistance | type: string | description: Maximum distance value. The unit of the radius is specified in the `unit` field.  | validation: decimalValue {"gte":"0","lte":"10000","maxScale":3}
                             - name: unit | type: Unit | description: Unit of measurement of the radius.  
                                         - enum:
                                         -     UNKNOWN_UNIT: Unknown unit.
                                         -     MILES: Miles.
                                         -     KILOMETERS: Kilometers.
                          - name: postalCodeOptions | type: PostalCode | description: Settings for a postal code delivery area.  
                             - name: postalCodes | type: array<string> | description: List of postal codes and postal code regexes. For example, `10001`, `10002` or `1000*`. A postal code regex will enable you to define a range of postal codes using an asterisk (*). For example, to include the postal codes in the range of `10001`-`10009`, use `1000*`.  | validation: maxItems 100, minLength 1, maxLength 20
                          - name: customOptions | type: CustomArea | description: Settings for a custom delivery area.  
                             - name: geocodes | type: array<AddressLocation> | description: Geocodes of the polygon defining the delivery area.  
                                - name: latitude | type: number | description: Address latitude.  | validation: format double
                                - name: longitude | type: number | description: Address longitude.  | validation: format double
                       - name: type | type: Type | description: Type of delivery area.  
                                 - enum:
                                 -     UNKNOWN_DELIVERY_AREA: Unknown delivery area type.
                                 -     RADIUS: Delivery area defined by a radius around the restaurant's address.
                                 -     POSTAL_CODE: Delivery area defined by a list of postal codes.
                                 -     CUSTOM: Delivery area defined by a custom polygon.
                                 -     PROVIDER_DEFINED: Delivery area that is determined by the provider. Setting this option, you must also provide `delivery_provider_app_id`.
                    - name: courierPickupInstructions | type: string | description: Pickup instructions for couriers.  | validation: maxLength 250
              - name: type | type: Type | description: Type of fulfillment method.  
                     - enum:
                     -     UNKNOWN_FULFILLMENT_TYPE: Unknown fulfillment type.
                     -     PICKUP: The customer must pick up the order from the restaurant.
                     -     DELIVERY: The restaurant, or someone on behalf of the restaurant, must deliver the order to the customer.
              - name: name | type: string | description: Fulfillment method name.  | validation: minLength 1, maxLength 30
              - name: enabled | type: boolean | description: Whether the fulfillment method is enabled.  
              - name: fee | type: string | description: Fee for using this fulfillment method.  | validation: decimalValue {"maxScale":3}
              - name: availability | type: Availability | description: Availability of this fulfillment method.  
                 - name: availableTimes | type: array<DayOfWeekAvailability> | description: A list of availability times for the days of the week.  
                    - name: dayOfWeek | type: DayOfWeek | description: The day of week this availability relates to.  
                             - enum:
                             -     MON: Monday.
                             -     TUE: Tuesday.
                             -     WED: Wednesday.
                             -     THU: Thursday.
                             -     FRI: Friday.
                             -     SAT: Saturday.
                             -     SUN: Sunday.
                    - name: timeRanges | type: array<TimeOfDayRange> | description: A list of time ranges during which the fulfillment should be available.  
                       - name: startTime | type: TimeOfDay | description: The start time in time of day representation.  
                          - name: hours | type: integer | description: Hours. <br /> Min: `0`. <br /> Max: `23`.  
                          - name: minutes | type: integer | description: Minutes. <br /> Min: `0`. <br /> Max: `23`.  
                       - name: endTime | type: TimeOfDay | description: The end time in time of day representation.  
              - name: minOrderPrice | type: string | description: Minimum order price to qualify for using this fulfillment method.  | validation: decimalValue {"maxScale":3}
              - name: extendedFields | type: ExtendedFields | description: Extended fields.  
                 - name: namespaces | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured.  You can only access fields for which you have the appropriate permissions.  Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md).  | validation: format map
              - name: tags | type: Tags | description: Tags used to classify and sort different types of fulfillment methods.  
                 - name: privateTags | type: TagList | description: Tags that require an additional permission in order to access them, normally not given to site members or visitors.  
                    - name: tagIds | type: array<string> | description: List of tag GUIDs  | validation: maxItems 100, maxLength 5
                 - name: tags | type: TagList | description: Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.  
   param name: returnEntity | type: returnEntity | description: If true, the created entities will be returned.  
 Return type: BulkCreateFulfillmentMethodsResponse
  - name: results | type: array<BulkCreateFulfillmentMethodResult> | description: Information about the created fulfillment method.  
     - name: itemMetadata | type: ItemMetadata | description: Metadata for fulfillment method creation.  
        - name: id | type: string | description: Item GUID. Should always be available, unless it's impossible (for example, when failing to create an item).  
        - name: originalIndex | type: integer | description: Index of the item within the request array. Allows for correlation between request and response items.  
        - name: success | type: boolean | description: Whether the requested action was successful for this item. When `false`, the `error` field is populated.  
        - name: error | type: ApplicationError | description: Details about the error in case of failure.  
           - name: code | type: string | description: Error code.  
           - name: description | type: string | description: Description of the error.  
           - name: data | type: object | description: Data related to the error.  
     - name: fulfillmentMethod | type: FulfillmentMethod | description: Created fulfillment method.  
        - ONE-OF: 
           - name: pickupOptions | type: PickupInfo | description: Data specific for pickup fulfillment method.  
              - name: instructions | type: string | description: Instructions for the pickup.  | validation: maxLength 250
              - name: address | type: Address | description: Pickup address.  This is set to the address of the restaurant.  | read-only: true 
                 - ONE-OF: 
                    - name: streetAddress | type: StreetAddress | description: Street name and number.  
                       - name: number | type: string | description: Street number.  
                       - name: name | type: string | description: Street name.  
                       - name: apt | type: string | description: Apartment number.  
                       - name: formattedAddressLine | type: string | description: Optional address line 1  
                    - name: addressLine | type: string | description: Main address line, usually street and number as free text.  
                 - name: country | type: string | description: Country code.  | validation: format COUNTRY
                 - name: subdivision | type: string | description: Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).  
                 - name: city | type: string | description: City name.  
                 - name: postalCode | type: string | description: Zip/postal code.  
                 - name: addressLine2 | type: string | description: Free text providing more detailed address info. Usually contains Apt, Suite, and Floor.  
                 - name: formattedAddress | type: string | description: A string containing the full address of this location.  
                 - name: hint | type: string | description: Free text to help find the address.  
                 - name: geocode | type: AddressLocation | description: Coordinates of the physical address.  
                    - name: latitude | type: number | description: Address latitude.  | validation: format double
                    - name: longitude | type: number | description: Address longitude.  | validation: format double
                 - name: countryFullname | type: string | description: Country full name.  
                 - name: subdivisionFullname | type: string | description: Subdivision full name.  
                 - name: subdivisions | type: array<Subdivision> | description: Multi-level subdivisions from top to bottom.  | validation: maxItems 6
                    - name: code | type: string | description: Short subdivision code.  
                    - name: name | type: string | description: Subdivision full name.  
           - name: deliveryOptions | type: DeliveryInfo | description: Data specific for delivery fulfillment method.  
              - name: deliveryTimeInMinutes | type: integer | description: Estimated delivery time in minutes.  | validation: minimum 0, format int32
              - name: freeDeliveryThreshold | type: string | description: Threshold for offering free delivery. If the order price exceeds this threshold, the delivery fee is waived.  | validation: decimalValue {"maxScale":3}
              - name: deliveryArea | type: DeliveryArea | description: Delivery area supported by this delivery fulfillment method.  
                 - ONE-OF: 
                    - name: radiusOptions | type: Radius | description: Settings for a radius delivery area.  
                       - name: minDistance | type: string | description: Minimum distance value. The unit of the radius is specified in the `unit` field.  | validation: decimalValue {"gte":"0","lte":"10000","maxScale":3}
                       - name: maxDistance | type: string | description: Maximum distance value. The unit of the radius is specified in the `unit` field.  | validation: decimalValue {"gte":"0","lte":"10000","maxScale":3}
                       - name: centerPointAddress | type: Address | description: Address at the center of the circle.  | read-only: true 
                       - name: unit | type: Unit | description: Unit of measurement of the radius.  
                                 - enum:
                                 -     UNKNOWN_UNIT: Unknown unit.
                                 -     MILES: Miles.
                                 -     KILOMETERS: Kilometers.
                    - name: postalCodeOptions | type: PostalCode | description: Settings for a postal code delivery area.  
                       - name: countryCode | type: string | description: Country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.  | read-only: true | validation: format COUNTRY
                       - name: postalCodes | type: array<string> | description: List of postal codes and postal code regexes. For example, `10001`, `10002` or `1000*`. A postal code regex will enable you to define a range of postal codes using an asterisk (*). For example, to include the postal codes in the range of `10001`-`10009`, use `1000*`.  | validation: maxItems 100, minLength 1, maxLength 20
                    - name: customOptions | type: CustomArea | description: Settings for a custom delivery area.  
                       - name: geocodes | type: array<AddressLocation> | description: Geocodes of the polygon defining the delivery area.  
                 - name: type | type: Type | description: Type of delivery area.  
                         - enum:
                         -     UNKNOWN_DELIVERY_AREA: Unknown delivery area type.
                         -     RADIUS: Delivery area defined by a radius around the restaurant's address.
                         -     POSTAL_CODE: Delivery area defined by a list of postal codes.
                         -     CUSTOM: Delivery area defined by a custom polygon.
                         -     PROVIDER_DEFINED: Delivery area that is determined by the provider. Setting this option, you must also provide `delivery_provider_app_id`.
              - name: deliveryProviderAppId | type: string | description: Delivery provider app id.  | read-only: true | validation: format GUID
              - name: courierPickupInstructions | type: string | description: Pickup instructions for couriers.  | validation: maxLength 250
        - name: id | type: string | description: Fulfillment method GUID.  | read-only: true | validation: format GUID
        - name: revision | type: string | description: The current state of an item. Each time the item is modified, its `revision` changes by the server. for an update operation to succeed, you MUST pass the latest revision.  | read-only: true | validation: format int64
        - name: createdDate | type: string | description: Date and time the fulfillment method was created.  | read-only: true | validation: format date-time
        - name: updatedDate | type: string | description: Date and time the fulfillment method was last updated.  | read-only: true | validation: format date-time
        - name: type | type: Type | description: Type of fulfillment method.  
             - enum:
             -     UNKNOWN_FULFILLMENT_TYPE: Unknown fulfillment type.
             -     PICKUP: The customer must pick up the order from the restaurant.
             -     DELIVERY: The restaurant, or someone on behalf of the restaurant, must deliver the order to the customer.
        - name: name | type: string | description: Fulfillment method name.  | validation: minLength 1, maxLength 30
        - name: enabled | type: boolean | description: Whether the fulfillment method is enabled.  
        - name: fee | type: string | description: Fee for using this fulfillment method.  | validation: decimalValue {"maxScale":3}
        - name: availability | type: Availability | description: Availability of this fulfillment method.  
           - name: availableTimes | type: array<DayOfWeekAvailability> | description: A list of availability times for the days of the week.  
              - name: dayOfWeek | type: DayOfWeek | description: The day of week this availability relates to.  
                     - enum:
                     -     MON: Monday.
                     -     TUE: Tuesday.
                     -     WED: Wednesday.
                     -     THU: Thursday.
                     -     FRI: Friday.
                     -     SAT: Saturday.
                     -     SUN: Sunday.
              - name: timeRanges | type: array<TimeOfDayRange> | description: A list of time ranges during which the fulfillment should be available.  
                 - name: startTime | type: TimeOfDay | description: The start time in time of day representation.  
                    - name: hours | type: integer | description: Hours. <br /> Min: `0`. <br /> Max: `23`.  
                    - name: minutes | type: integer | description: Minutes. <br /> Min: `0`. <br /> Max: `23`.  
                 - name: endTime | type: TimeOfDay | description: The end time in time of day representation.  
           - name: timeZone | type: string | description: The timezone in which the availability times are given.  | read-only: true 
        - name: minOrderPrice | type: string | description: Minimum order price to qualify for using this fulfillment method.  | validation: decimalValue {"maxScale":3}
        - name: businessLocationId | type: string | description: Business location GUID ([SDK](https://dev.wix.com/docs/sdk/backend-modules/restaurants/wix-restaurants-new/about-business-locations.md) | [REST](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/about-business-locations.md)) of the operation this fulfillment method belongs to.  | read-only: true | validation: format GUID
        - name: extendedFields | type: ExtendedFields | description: Extended fields.  
           - name: namespaces | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured.  You can only access fields for which you have the appropriate permissions.  Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md).  | validation: format map
        - name: tags | type: Tags | description: Tags used to classify and sort different types of fulfillment methods.  
           - name: privateTags | type: TagList | description: Tags that require an additional permission in order to access them, normally not given to site members or visitors.  
              - name: tagIds | type: array<string> | description: List of tag GUIDs  | validation: maxItems 100, maxLength 5
           - name: tags | type: TagList | description: Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.  
  - name: bulkActionMetadata | type: BulkActionMetadata | description: Metadata for the API call.  
     - name: totalSuccesses | type: integer | description: Number of items that were successfully processed.  
     - name: totalFailures | type: integer | description: Number of items that couldn't be processed.  
     - name: undetailedFailures | type: integer | description: Number of failures without details because detailed failure threshold was exceeded.  


```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.restaurants.fulfillmentMethods.bulkCreateFulfillmentMethods(options)
 Description: Create multiple fulfillment methods at once.
 Method parameters:
   param name: options | type: BulkCreateFulfillmentMethodsOptions  none  
        - name: fulfillmentMethods | type: array<FulfillmentMethod> | description: Fulfillment methods to create.  | validation: maxItems 100
           - ONE-OF: 
              - name: pickupOptions | type: PickupInfo | description: Data specific for pickup fulfillment method.  
                 - name: instructions | type: string | description: Instructions for the pickup.  | validation: maxLength 250
              - name: deliveryOptions | type: DeliveryInfo | description: Data specific for delivery fulfillment method.  
                 - name: deliveryTimeInMinutes | type: integer | description: Estimated delivery time in minutes.  | validation: minimum 0, format int32
                 - name: freeDeliveryThreshold | type: string | description: Threshold for offering free delivery. If the order price exceeds this threshold, the delivery fee is waived.  | validation: decimalValue {"maxScale":3}
                 - name: deliveryArea | type: DeliveryArea | description: Delivery area supported by this delivery fulfillment method.  
                    - ONE-OF: 
                       - name: radiusOptions | type: Radius | description: Settings for a radius delivery area.  
                          - name: minDistance | type: string | description: Minimum distance value. The unit of the radius is specified in the `unit` field.  | validation: decimalValue {"gte":"0","lte":"10000","maxScale":3}
                          - name: maxDistance | type: string | description: Maximum distance value. The unit of the radius is specified in the `unit` field.  | validation: decimalValue {"gte":"0","lte":"10000","maxScale":3}
                          - name: unit | type: Unit | description: Unit of measurement of the radius.  
                                     - enum:
                                     -     UNKNOWN_UNIT: Unknown unit.
                                     -     MILES: Miles.
                                     -     KILOMETERS: Kilometers.
                       - name: postalCodeOptions | type: PostalCode | description: Settings for a postal code delivery area.  
                          - name: postalCodes | type: array<string> | description: List of postal codes and postal code regexes. For example, `10001`, `10002` or `1000*`. A postal code regex will enable you to define a range of postal codes using an asterisk (*). For example, to include the postal codes in the range of `10001`-`10009`, use `1000*`.  | validation: maxItems 100, minLength 1, maxLength 20
                       - name: customOptions | type: CustomArea | description: Settings for a custom delivery area.  
                          - name: geocodes | type: array<AddressLocation> | description: Geocodes of the polygon defining the delivery area.  
                             - name: latitude | type: number | description: Address latitude.  
                             - name: longitude | type: number | description: Address longitude.  
                    - name: type | type: Type | description: Type of delivery area.  
                             - enum:
                             -     UNKNOWN_DELIVERY_AREA: Unknown delivery area type.
                             -     RADIUS: Delivery area defined by a radius around the restaurant's address.
                             -     POSTAL_CODE: Delivery area defined by a list of postal codes.
                             -     CUSTOM: Delivery area defined by a custom polygon.
                             -     PROVIDER_DEFINED: Delivery area that is determined by the provider. Setting this option, you must also provide `delivery_provider_app_id`.
                 - name: courierPickupInstructions | type: string | description: Pickup instructions for couriers.  | validation: maxLength 250
           - name: type | type: Type | description: Type of fulfillment method.  
                 - enum:
                 -     UNKNOWN_FULFILLMENT_TYPE: Unknown fulfillment type.
                 -     PICKUP: The customer must pick up the order from the restaurant.
                 -     DELIVERY: The restaurant, or someone on behalf of the restaurant, must deliver the order to the customer.
           - name: name | type: string | description: Fulfillment method name.  | validation: minLength 1, maxLength 30
           - name: enabled | type: boolean | description: Whether the fulfillment method is enabled.  
           - name: fee | type: string | description: Fee for using this fulfillment method.  | validation: decimalValue {"maxScale":3}
           - name: availability | type: Availability | description: Availability of this fulfillment method.  
              - name: availableTimes | type: array<DayOfWeekAvailability> | description: A list of availability times for the days of the week.  
                 - name: dayOfWeek | type: DayOfWeek | description: The day of week this availability relates to.  
                         - enum:
                         -     MON: Monday.
                         -     TUE: Tuesday.
                         -     WED: Wednesday.
                         -     THU: Thursday.
                         -     FRI: Friday.
                         -     SAT: Saturday.
                         -     SUN: Sunday.
                 - name: timeRanges | type: array<TimeOfDayRange> | description: A list of time ranges during which the fulfillment should be available.  
                    - name: startTime | type: TimeOfDay | description: The start time in time of day representation.  
                       - name: hours | type: integer | description: Hours. <br /> Min: `0`. <br /> Max: `23`.  
                       - name: minutes | type: integer | description: Minutes. <br /> Min: `0`. <br /> Max: `23`.  
                    - name: endTime | type: TimeOfDay | description: The end time in time of day representation.  
           - name: minOrderPrice | type: string | description: Minimum order price to qualify for using this fulfillment method.  | validation: decimalValue {"maxScale":3}
           - name: extendedFields | type: ExtendedFields | description: Extended fields.  
              - name: namespaces | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured.  You can only access fields for which you have the appropriate permissions.  Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md).  | validation: format map
           - name: tags | type: Tags | description: Tags used to classify and sort different types of fulfillment methods.  
              - name: privateTags | type: TagList | description: Tags that require an additional permission in order to access them, normally not given to site members or visitors.  
                 - name: tagIds | type: array<string> | description: List of tag GUIDs  | validation: maxItems 100, maxLength 5
              - name: tags | type: TagList | description: Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.  
        - name: returnEntity | type: boolean | description: If true, the created entities will be returned.  
 Return type: PROMISE<BulkCreateFulfillmentMethodsResponse>
  - name: results | type: array<BulkCreateFulfillmentMethodResult> | description: Information about the created fulfillment method.  
     - name: itemMetadata | type: ItemMetadata | description: Metadata for fulfillment method creation.  
        - name: _id | type: string | description: Item GUID. Should always be available, unless it's impossible (for example, when failing to create an item).  
        - name: originalIndex | type: integer | description: Index of the item within the request array. Allows for correlation between request and response items.  
        - name: success | type: boolean | description: Whether the requested action was successful for this item. When `false`, the `error` field is populated.  
        - name: error | type: ApplicationError | description: Details about the error in case of failure.  
           - name: code | type: string | description: Error code.  
           - name: description | type: string | description: Description of the error.  
           - name: data | type: object | description: Data related to the error.  
     - name: fulfillmentMethod | type: FulfillmentMethod | description: Created fulfillment method.  
        - ONE-OF: 
           - name: pickupOptions | type: PickupInfo | description: Data specific for pickup fulfillment method.  
              - name: instructions | type: string | description: Instructions for the pickup.  | validation: maxLength 250
              - name: address | type: Address | description: Pickup address.  This is set to the address of the restaurant.  | read-only: true 
                 - name: city | type: string | description: none  
                 - name: subdivision | type: string | description: none  
                 - name: country | type: string | description: none  
                 - name: postalCode | type: string | description: none  
                 - name: addressLine1 | type: string | description: none  
                 - name: addressLine2 | type: string | description: none  
           - name: deliveryOptions | type: DeliveryInfo | description: Data specific for delivery fulfillment method.  
              - name: deliveryTimeInMinutes | type: integer | description: Estimated delivery time in minutes.  | validation: minimum 0, format int32
              - name: freeDeliveryThreshold | type: string | description: Threshold for offering free delivery. If the order price exceeds this threshold, the delivery fee is waived.  | validation: decimalValue {"maxScale":3}
              - name: deliveryArea | type: DeliveryArea | description: Delivery area supported by this delivery fulfillment method.  
                 - ONE-OF: 
                    - name: radiusOptions | type: Radius | description: Settings for a radius delivery area.  
                       - name: minDistance | type: string | description: Minimum distance value. The unit of the radius is specified in the `unit` field.  | validation: decimalValue {"gte":"0","lte":"10000","maxScale":3}
                       - name: maxDistance | type: string | description: Maximum distance value. The unit of the radius is specified in the `unit` field.  | validation: decimalValue {"gte":"0","lte":"10000","maxScale":3}
                       - name: centerPointAddress | type: Address | description: Address at the center of the circle.  | read-only: true 
                       - name: unit | type: Unit | description: Unit of measurement of the radius.  
                                 - enum:
                                 -     UNKNOWN_UNIT: Unknown unit.
                                 -     MILES: Miles.
                                 -     KILOMETERS: Kilometers.
                    - name: postalCodeOptions | type: PostalCode | description: Settings for a postal code delivery area.  
                       - name: countryCode | type: string | description: Country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.  | read-only: true | validation: format COUNTRY
                       - name: postalCodes | type: array<string> | description: List of postal codes and postal code regexes. For example, `10001`, `10002` or `1000*`. A postal code regex will enable you to define a range of postal codes using an asterisk (*). For example, to include the postal codes in the range of `10001`-`10009`, use `1000*`.  | validation: maxItems 100, minLength 1, maxLength 20
                    - name: customOptions | type: CustomArea | description: Settings for a custom delivery area.  
                       - name: geocodes | type: array<AddressLocation> | description: Geocodes of the polygon defining the delivery area.  
                          - name: latitude | type: number | description: Address latitude.  
                          - name: longitude | type: number | description: Address longitude.  
                 - name: type | type: Type | description: Type of delivery area.  
                         - enum:
                         -     UNKNOWN_DELIVERY_AREA: Unknown delivery area type.
                         -     RADIUS: Delivery area defined by a radius around the restaurant's address.
                         -     POSTAL_CODE: Delivery area defined by a list of postal codes.
                         -     CUSTOM: Delivery area defined by a custom polygon.
                         -     PROVIDER_DEFINED: Delivery area that is determined by the provider. Setting this option, you must also provide `delivery_provider_app_id`.
              - name: deliveryProviderAppId | type: string | description: Delivery provider app id.  | read-only: true | validation: format GUID
              - name: courierPickupInstructions | type: string | description: Pickup instructions for couriers.  | validation: maxLength 250
        - name: _id | type: string | description: Fulfillment method GUID.  | read-only: true | validation: format GUID
        - name: revision | type: string | description: The current state of an item. Each time the item is modified, its `revision` changes by the server. for an update operation to succeed, you MUST pass the latest revision.  | read-only: true | validation: format int64
        - name: _createdDate | type: Date | description: Date and time the fulfillment method was created.  | read-only: true 
        - name: _updatedDate | type: Date | description: Date and time the fulfillment method was last updated.  | read-only: true 
        - name: type | type: Type | description: Type of fulfillment method.  
             - enum:
             -     UNKNOWN_FULFILLMENT_TYPE: Unknown fulfillment type.
             -     PICKUP: The customer must pick up the order from the restaurant.
             -     DELIVERY: The restaurant, or someone on behalf of the restaurant, must deliver the order to the customer.
        - name: name | type: string | description: Fulfillment method name.  | validation: minLength 1, maxLength 30
        - name: enabled | type: boolean | description: Whether the fulfillment method is enabled.  
        - name: fee | type: string | description: Fee for using this fulfillment method.  | validation: decimalValue {"maxScale":3}
        - name: availability | type: Availability | description: Availability of this fulfillment method.  
           - name: availableTimes | type: array<DayOfWeekAvailability> | description: A list of availability times for the days of the week.  
              - name: dayOfWeek | type: DayOfWeek | description: The day of week this availability relates to.  
                     - enum:
                     -     MON: Monday.
                     -     TUE: Tuesday.
                     -     WED: Wednesday.
                     -     THU: Thursday.
                     -     FRI: Friday.
                     -     SAT: Saturday.
                     -     SUN: Sunday.
              - name: timeRanges | type: array<TimeOfDayRange> | description: A list of time ranges during which the fulfillment should be available.  
                 - name: startTime | type: TimeOfDay | description: The start time in time of day representation.  
                    - name: hours | type: integer | description: Hours. <br /> Min: `0`. <br /> Max: `23`.  
                    - name: minutes | type: integer | description: Minutes. <br /> Min: `0`. <br /> Max: `23`.  
                 - name: endTime | type: TimeOfDay | description: The end time in time of day representation.  
           - name: timeZone | type: string | description: The timezone in which the availability times are given.  | read-only: true 
        - name: minOrderPrice | type: string | description: Minimum order price to qualify for using this fulfillment method.  | validation: decimalValue {"maxScale":3}
        - name: businessLocationId | type: string | description: Business location GUID ([SDK](https://dev.wix.com/docs/sdk/backend-modules/restaurants/wix-restaurants-new/about-business-locations.md) | [REST](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/about-business-locations.md)) of the operation this fulfillment method belongs to.  | read-only: true | validation: format GUID
        - name: extendedFields | type: ExtendedFields | description: Extended fields.  
           - name: namespaces | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured.  You can only access fields for which you have the appropriate permissions.  Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md).  | validation: format map
        - name: tags | type: Tags | description: Tags used to classify and sort different types of fulfillment methods.  
           - name: privateTags | type: TagList | description: Tags that require an additional permission in order to access them, normally not given to site members or visitors.  
              - name: tagIds | type: array<string> | description: List of tag GUIDs  | validation: maxItems 100, maxLength 5
           - name: tags | type: TagList | description: Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.  
  - name: bulkActionMetadata | type: BulkActionMetadata | description: Metadata for the API call.  
     - name: totalSuccesses | type: integer | description: Number of items that were successfully processed.  
     - name: totalFailures | type: integer | description: Number of items that couldn't be processed.  
     - name: undetailedFailures | type: integer | description: Number of failures without details because detailed failure threshold was exceeded.  


```

### Examples

### bulkCreateFulfillmentMethods
```javascript
import { fulfillmentMethods } from '@wix/restaurants';

async function bulkCreateFulfillmentMethods(options) {
  const response = await fulfillmentMethods.bulkCreateFulfillmentMethods(options);
};
```

### bulkCreateFulfillmentMethods (with elevated permissions)
```javascript
import { fulfillmentMethods } from '@wix/restaurants';
import { auth } from '@wix/essentials';

async function myBulkCreateFulfillmentMethodsMethod(options) {
  const elevatedBulkCreateFulfillmentMethods = auth.elevate(fulfillmentMethods.bulkCreateFulfillmentMethods);
  const response = await elevatedBulkCreateFulfillmentMethods(options);
}
```

### bulkCreateFulfillmentMethods (self-managed)
Self-managed SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md).

```javascript
import { createClient } from '@wix/sdk';
import { fulfillmentMethods } from '@wix/restaurants';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

const myWixClient = createClient ({
  modules: { fulfillmentMethods },
  // Include the auth strategy and host as relevant
});


async function bulkCreateFulfillmentMethods(options) {
  const response = await myWixClient.fulfillmentMethods.bulkCreateFulfillmentMethods(options);
};
```

---