← Affiliate API
InputFeeds
Singular: InputFeed — Base-URL: https://affiliate-api.ayoune.app — Zugriff: CRUD
Jetzt ausprobieren
beta
Response (live)
Requests werden über den consumer-app Proxy an *.ayoune.app weitergeleitet. Tokens bleiben im Browser und werden pro Call mitgesendet.
Beispiel-Response (aufgezeichnet) Beispiel
Eine echte, zuvor aufgezeichnete GET /:id-Antwort dieses Endpunkts — nicht der Live-Call oben. Sensible Felder sind maskiert.
{
"payload": {
"_id": "65e07d7a11cb6213d99d0620",
"product_count": 0,
"createdBy": "6045f4d25704710012485569",
"createdAt": "2024-02-29T12:50:02.451Z",
"updatedAt": "2024-02-29T12:50:02.451Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://affiliate-api.ayoune.app/inputfeeds/65e07d7a11cb6213d99d0620",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [],
"debugId": "6a62dbf2138b05b510db24f4",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_INPUTFEED",
"href": "https://api.ayoune.app/affiliate/inputfeeds/65e07d7a11cb6213d99d0620/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_INPUTFEED",
"href": "https://api.ayoune.app/affiliate/inputfeeds/65e07d7a11cb6213d99d0620/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.5.1",
"core": "2026.257.1"
},
"rateLimit": {
"limit": "2500",
"remaining": "2402",
"reset": "1784867314",
"resetDate": "Fri Jul 24 2026"
},
"responseTime": 95.40253,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /inputfeeds |
Liste mit Filtern/Paginierung | affiliate.inputfeeds.view |
| GET | /inputfeeds/:id |
Einzelner Datensatz | affiliate.inputfeeds.view |
| POST | /inputfeeds |
Neuen Datensatz erstellen | affiliate.inputfeeds.new |
| PUT | /inputfeeds |
Datensatz aktualisieren | affiliate.inputfeeds.edit |
| DELETE | /inputfeeds/:id |
Datensatz löschen | affiliate.inputfeeds.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.affiliate.inputFeeds.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.affiliate.inputFeeds.findById('OBJECT_ID').exec();
// Erstellen
const created = await ay.affiliate.inputFeeds.create({ name: 'Foo' });