← Marketing API
ProductRecommendations
Singular: ProductRecommendation — Base URL: https://marketing-api.ayoune.app — Access: CRUD
Try it now
beta
Response (live)
Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.
Example response (recorded) sample
A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.
{
"payload": {
"productSettings": {
"useShops": false,
"categories": "userbased",
"brandfilter": "userbased",
"interestchannels": [],
"shopfilter": "userbased"
},
"pimselectionsSettings": {
"selectionFilter": ""
},
"_id": "65e0b13e121b7d48fe159304",
"type": "classic",
"locale": "de_DE",
"createdBy": "6045f4d25704710012485569",
"createdAt": "2024-02-29T16:30:54.585Z",
"updatedAt": "2024-02-29T16:30:54.585Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://marketing-api.ayoune.app/productrecommendations/65e0b13e121b7d48fe159304",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [
{
"rel": "Consumers",
"title": "MODEL_CONSUMER",
"href": "https://api.ayoune.app/crm/consumers",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "crm.consumers"
},
{
"rel": "DynamicContentSnippets",
"title": "MODEL_DYNAMICCONTENTSNIPPET",
"href": "https://api.ayoune.app/config/dynamiccontentsnippets",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "config.dynamiccontentsnippets"
},
{
"rel": "SenderBrands",
"title": "MODEL_SENDERBRAND",
"href": "https://api.ayoune.app/config/senderbrands",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "config.senderbrands"
},
{
"rel": "Shops",
"title": "MODEL_SHOP",
"href": "https://api.ayoune.app/ecommerce/shops",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "ecommerce.shops"
},
{
"rel": "PimSelections",
"title": "MODEL_PIMSELECTION",
"href": "https://api.ayoune.app/pim/pimselections",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "pim.selections"
}
],
"debugId": "6a6194b0f78ad61f1990f623",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_PRODUCTRECOMMENDATION",
"href": "https://api.ayoune.app/marketing/productrecommendations/65e0b13e121b7d48fe159304/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_PRODUCTRECOMMENDATION",
"href": "https://api.ayoune.app/marketing/productrecommendations/65e0b13e121b7d48fe159304/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.24.4",
"core": "2026.257.1"
},
"rateLimit": {
"limit": "2500",
"remaining": "1873",
"reset": "1784783437",
"resetDate": "Thu Jul 23 2026"
},
"responseTime": 18.64136,
"code": 200,
"status": "success",
"error": false
}
}
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /productrecommendations |
List with filters/pagination | marketing.productrecommendations.view |
| GET | /productrecommendations/:id |
Single record | marketing.productrecommendations.view |
| POST | /productrecommendations |
Create new record | marketing.productrecommendations.new |
| PUT | /productrecommendations |
Update record | marketing.productrecommendations.edit |
| DELETE | /productrecommendations/:id |
Delete record | marketing.productrecommendations.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.marketing.productRecommendations.find().limit(10).exec();
// Single record
const one = await ay.marketing.productRecommendations.findById('OBJECT_ID').exec();
// Create
const created = await ay.marketing.productRecommendations.create({ name: 'Foo' });