Returns a single recommendation configuration by its ID.
Request
GET /reco/{id}
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | ID of the recommendation configuration. |
Example Request
GET /reco/1
Response
Returns a JSON object representing the recommendation configuration.
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Unique recommendation configuration ID. |
name | string | Display name of the recommendation. |
active | boolean | Whether the recommendation is active. |
recommendationType | string | Algorithm type (e.g. textSimilarity, boughtTogether, cartBased, userBased, pictureSimilarity, none). |
user | string | Email of the user who last modified the configuration. |
Example Response
{
"id": 1,
"name": "Similar Products",
"active": true,
"recommendationType": "textSimilarity",
"user": "[email protected]"
}
