> 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

# GetRecommendationSettings

# Package: recommendations

# Namespace: RecommendationSettingsService

# Method link: https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendation-settings/get-recommendation-settings.md

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

## Introduction

Retrieves the recommendation settings of an operation.

The recommendation settings ID is the same as the operation ID.

---

## REST API

### Schema

```
 Method: getRecommendationSettings
 Description: Retrieves the recommendation settings of an operation.  The recommendation settings GUID is the same as the operation GUID.
 URL: https://www.wixapis.com/restaurants/ordering-recommendations/v1/recommendation-settings/{recommendationSettingsId}
 Method: GET
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  recommendationSettingsId
 Method parameters: 
   param name: recommendationSettingsId | type:   none | required: true 
 Return type: GetRecommendationSettingsResponse
  - name: recommendationSettings | type: RecommendationSettings | description: Retrieved recommendation settings.  
     - name: id | type: string | description: Recommendation settings GUID. Same as the operation GUID.  | read-only: true | validation: format GUID
     - name: revision | type: string | description: Revision number, which increments by 1 each time the recommendation settings are updated. To prevent conflicting changes, the current revision must be passed when updating the recommendation settings.  | read-only: true | validation: format int64
     - name: createdDate | type: string | description: Date and time the recommendation settings were created.  | read-only: true | validation: format date-time
     - name: updatedDate | type: string | description: Date and time the recommendation settings were updated.  | read-only: true | validation: format date-time
     - name: itemDetails | type: ItemDetailsRecommendationSettings | description: Settings for recommendations shown in a menu item's details, such as in the item modal of an ordering page.  
        - name: strategy | type: RecommendationStrategy | description: How recommended items are selected. To retrieve the recommended items, specify this strategy as is when calling [Get Recommendations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/get-recommendations.md).  Default: `type` is `FREQUENTLY_ORDERED_TOGETHER`  
           - ONE-OF: 
              - name: featuredOptions | type: FeaturedOptions | description: Options for the `FEATURED` strategy.  Required when `type` is `FEATURED`.  
                 - name: featuredInfos | type: array<FeaturedInfo> | description: Featured types to match. A menu item is recommended when it has any of these featured types.  | validation: minItems 1, maxItems 7
                    - name: type | type: FeaturedType | description: Featured type.  
                             - enum:
                             -     POPULAR: Popular item.
                             -     BEST_SELLER: Best seller.
                             -     NEW: New item.
                             -     CHEF_SPECIAL: Chef's special.
                             -     RECOMMENDED: Recommended item.
                             -     SEASONAL: Seasonal item.
                             -     FEATURED: General featured label set on the menu item. Not the same as the `FEATURED` strategy type, which recommends items that have any of the specified featured types.
           - name: type | type: RecommendationStrategyType | description: Strategy type.  
                 - enum:
                 -     FREQUENTLY_ORDERED_TOGETHER: Items that customers often order together with the items specified in `items` when calling [Get Recommendations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/get-recommendations.md).
                 -     BEST_SELLERS: Items ordered most often from the operation, based on its order history. Not related to the `BEST_SELLER` featured type.
                 -     FEATURED: Items that have any of the featured types specified in `featuredOptions.featuredInfos`.
        - name: enabled | type: boolean | description: Whether recommendations are enabled in item details.  This is a stored preference. The client that displays recommendations is responsible for checking it, as Wix's online ordering pages do. [Get Recommendations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/get-recommendations.md) returns recommendations regardless of this value.  Default: `false`  
     - name: purchaseFlow | type: PurchaseFlowRecommendationSettings | description: Settings for recommendations shown during the purchase flow, such as in the cart and at checkout.  
        - name: strategy | type: RecommendationStrategy | description: How recommended items are selected. To retrieve the recommended items, specify this strategy as is when calling [Get Recommendations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/get-recommendations.md).  Default: `type` is `FREQUENTLY_ORDERED_TOGETHER`  
        - name: enabled | type: boolean | description: Whether recommendations are enabled in the purchase flow.  This is a stored preference. The client that displays recommendations is responsible for checking it, as Wix's online ordering pages do. [Get Recommendations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/get-recommendations.md) returns recommendations regardless of this value.  Default: `false`  
     - name: businessLocationId | type: string | description: GUID of the operation's business location. Copied from the operation when the recommendation settings are created.  Not returned for an operation without a business location.  | read-only: true | validation: format GUID, immutable


```

### Examples

### Get the recommendation settings of an operation
Retrieves recommendation settings by ID. The ID is the same as the operation ID.

```curl
curl -X GET \
'https://www.wixapis.com/restaurants/ordering-recommendations/v1/recommendation-settings/002d8cb3-99a2-4c5e-b6b2-94db12675bcd' \
-H 'Authorization: <AUTH>'
```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.restaurants.recommendationSettings.getRecommendationSettings(recommendationSettingsId)
 Description: Retrieves the recommendation settings of an operation.  The recommendation settings GUID is the same as the operation GUID.
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  recommendationSettingsId
 Method parameters: 
   param name: recommendationSettingsId | type: string | description: GUID of the recommendation settings to retrieve. Same as the operation GUID. | required: true | validation: format GUID
 Return type: PROMISE<RecommendationSettings>
  - name: _id | type: string | description: Recommendation settings GUID. Same as the operation GUID.  | read-only: true | validation: format GUID
  - name: revision | type: string | description: Revision number, which increments by 1 each time the recommendation settings are updated. To prevent conflicting changes, the current revision must be passed when updating the recommendation settings.  | read-only: true | validation: format int64
  - name: _createdDate | type: Date | description: Date and time the recommendation settings were created.  | read-only: true 
  - name: _updatedDate | type: Date | description: Date and time the recommendation settings were updated.  | read-only: true 
  - name: itemDetails | type: ItemDetailsRecommendationSettings | description: Settings for recommendations shown in a menu item's details, such as in the item modal of an ordering page.  
     - name: strategy | type: RecommendationStrategy | description: How recommended items are selected. To retrieve the recommended items, specify this strategy as is when calling [Get Recommendations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/get-recommendations.md).  Default: `type` is `FREQUENTLY_ORDERED_TOGETHER`  
        - ONE-OF: 
           - name: featuredOptions | type: FeaturedOptions | description: Options for the `FEATURED` strategy.  Required when `type` is `FEATURED`.  
              - name: featuredInfos | type: array<FeaturedInfo> | description: Featured types to match. A menu item is recommended when it has any of these featured types.  | validation: minItems 1, maxItems 7
                 - name: type | type: FeaturedType | description: Featured type.  
                         - enum:
                         -     POPULAR: Popular item.
                         -     BEST_SELLER: Best seller.
                         -     NEW: New item.
                         -     CHEF_SPECIAL: Chef's special.
                         -     RECOMMENDED: Recommended item.
                         -     SEASONAL: Seasonal item.
                         -     FEATURED: General featured label set on the menu item. Not the same as the `FEATURED` strategy type, which recommends items that have any of the specified featured types.
        - name: type | type: RecommendationStrategyType | description: Strategy type.  
             - enum:
             -     FREQUENTLY_ORDERED_TOGETHER: Items that customers often order together with the items specified in `items` when calling [Get Recommendations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/get-recommendations.md).
             -     BEST_SELLERS: Items ordered most often from the operation, based on its order history. Not related to the `BEST_SELLER` featured type.
             -     FEATURED: Items that have any of the featured types specified in `featuredOptions.featuredInfos`.
     - name: enabled | type: boolean | description: Whether recommendations are enabled in item details.  This is a stored preference. The client that displays recommendations is responsible for checking it, as Wix's online ordering pages do. [Get Recommendations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/get-recommendations.md) returns recommendations regardless of this value.  Default: `false`  
  - name: purchaseFlow | type: PurchaseFlowRecommendationSettings | description: Settings for recommendations shown during the purchase flow, such as in the cart and at checkout.  
     - name: strategy | type: RecommendationStrategy | description: How recommended items are selected. To retrieve the recommended items, specify this strategy as is when calling [Get Recommendations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/get-recommendations.md).  Default: `type` is `FREQUENTLY_ORDERED_TOGETHER`  
     - name: enabled | type: boolean | description: Whether recommendations are enabled in the purchase flow.  This is a stored preference. The client that displays recommendations is responsible for checking it, as Wix's online ordering pages do. [Get Recommendations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/get-recommendations.md) returns recommendations regardless of this value.  Default: `false`  
  - name: businessLocationId | type: string | description: GUID of the operation's business location. Copied from the operation when the recommendation settings are created.  Not returned for an operation without a business location.  | read-only: true | validation: format GUID, immutable


```

### Examples

### Get the recommendation settings of an operation
Retrieves recommendation settings by ID. The ID is the same as the operation ID.

```javascript
import { recommendationSettings } from "@wix/restaurants";

async function getRecommendationSettings() {
  const response = await recommendationSettings.getRecommendationSettings(
    "002d8cb3-99a2-4c5e-b6b2-94db12675bcd",
  );
}

/* Promise resolves to:
 * {
 *   "_id": "002d8cb3-99a2-4c5e-b6b2-94db12675bcd",
 *   "revision": "1",
 *   "_createdDate": "2026-11-02T23:26:37.936Z",
 *   "_updatedDate": "2026-11-02T23:26:37.936Z",
 *   "itemDetails": {
 *     "strategy": {
 *       "type": "FREQUENTLY_ORDERED_TOGETHER"
 *     },
 *     "enabled": false
 *   },
 *   "purchaseFlow": {
 *     "strategy": {
 *       "type": "FREQUENTLY_ORDERED_TOGETHER"
 *     },
 *     "enabled": false
 *   },
 *   "businessLocationId": "6deee905-6ac0-46eb-93d5-f8a1a2e0b310"
 * }
 */

```

### getRecommendationSettings (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 { recommendationSettings } from '@wix/restaurants';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

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


async function getRecommendationSettings(recommendationSettingsId) {
  const response = await myWixClient.recommendationSettings.getRecommendationSettings(recommendationSettingsId);
};
```

---