Skip to content

Commit d3544e6

Browse files
committed
recommendation_api.md: Fix user doc links
1 parent 2c9b9f5 commit d3544e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/guide/personalization/developer_guide/recommendation_api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ For the request to return recommendations, you must provide the following parame
2828

2929
|Parameter|Description|Value|
3030
|---|---|---|
31-
|`customerid`|Your customer ID, as defined when [enabling Personalization](../enabling_personalization.md#configuring-customer-credentials) (for example, "00000").|alphanumeric|
31+
|`customerid`|Your customer ID, as defined when [enabling Personalization](enabling_personalization.md#setting-up-customer-credentials) (for example, "00000").|alphanumeric|
3232
|`userid`|An ID of the tracked user in the website (for example, an internal customer code, a session code or a cookie for anonymous users.|alphanumeric|
3333
|`scenarioid`|An ID of the scenario used for providing recommendations, as defined in the Back Office.|alphanumeric|
3434
|`extension`|A format of the response (either JSON or JSONP).|`json` or `jsonp`|
@@ -53,7 +53,7 @@ You can use the following parameters to customize a request:
5353
|Parameter|Example|Description|Value|
5454
|---|---|---|---|
5555
|`numrecs`|20|Defines a number of recommendations to be delivered. The lower this value, the shorter the response time. The default value is 10. |1 to 50|
56-
|`contextitems`|10,13,14 or "CLICKED"|A comma-separated list of items that the user is viewing on the web page. The list is required by [context-based recommendations]([[= user_doc =]]/personalization/recommendation_models). All items must be of the same type. The type is defined in the scenario configuration. If history code is used ("CLICKED","CONSUMED", "OWNS", "RATED" or "BASKET"), context items are pulled from the user profile (for example, the most recent clicks or purchases). This parameter is optional. |1 to 2147483647 (or alphanumeric if enabled)|
56+
|`contextitems`|10,13,14 or "CLICKED"|A comma-separated list of items that the user is viewing on the web page. The list is required by [context-based recommendations]([[= user_doc =]]/personalization/recommendation_models/). All items must be of the same type. The type is defined in the scenario configuration. If history code is used ("CLICKED","CONSUMED", "OWNS", "RATED" or "BASKET"), context items are pulled from the user profile (for example, the most recent clicks or purchases). This parameter is optional. |1 to 2147483647 (or alphanumeric if enabled)|
5757
|`outputtypeid`|1|Required for scenarios that are defined with multiple output item types, otherwise optional. By default it is the first/lowest output type enabled in the scenario config.|numeric|
5858
|`jsonpCallback`|"myCallback"|Function or method name (used for JSONP request only). It can be a function ("callme"), or a method ("obj.callme"). The default value is "jsonpCallback".|legal JavaScript function call|
5959
|`attribute`|"title" or "description"|If you apply this parameter, the engine tries to fetch the value of the attribute. For example, `&attribute=title` means fetching the title for the item that is delivered in the response, if available. The fetch works if content import has been successful. You can pass multiple attributes: `&attribute=title&attribute=description` or `&attribute=title,description`. Use this to pull "pure" client-based recommendations without requesting local customer data.|string|
@@ -99,7 +99,7 @@ Parameter|Example|Description|Value|
9999
|---|---|---|---|
100100
|`segments`|`&segments=7,8,10,11`|ID from segment group management|string|
101101

102-
For more information, see [Segments]([[= user_doc =]]/personalization/segment_management).
102+
For more information, see [Segments]([[= user_doc_4_6 =]]/personalization/segment_management/).
103103

104104
## Responses
105105

@@ -111,7 +111,7 @@ For more information, see inline comments below.
111111
!!! note "Previewing recommendations"
112112

113113
You can preview the actual responses that come from the recommendation engine and how they are rendered in the user interface.
114-
For more information, see [Scenarios]([[= user_doc =]]/personalization/scenarios/#previewing-scenario-results).
114+
For more information, see [Scenarios]([[= user_doc =]]/personalization/previewing_scenario/).
115115

116116
For more information about integrating recommendations in the web page, see [Best practices](../best_practices/recommendation_integration.md).
117117

0 commit comments

Comments
 (0)