← PIM API
ScanEvents
Singular: ScanEvent — Base-URL: https://pim-api.ayoune.app — Zugriff: read-only — Maschinenlesbare Beschreibung (JSON · YAML)
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": {
"ipLocation": {
"subdivisions": []
},
"bot": {
"result": "http-client"
},
"_id": "6ad4468c4bb63d88930ecfa5",
"_product": "6ac33cc4c0aedf1dd2d61f02",
"gtin": "04006381333931",
"linkType": "pip",
"source": "digital-link",
"_domain": "6a908a3bd0e7e99f88292a07",
"ip": "",
"ipHash": "fd414f0881ed16012afc5f608adaf52e4f744abac5b114246ca0110fb6ac2caf",
"device": "bot",
"country": "",
"region": "",
"city": "",
"ll": [],
"timezone": "",
"url": "",
"adType": "",
"ad": "",
"isAd": false,
"fingerprint": "",
"fingerprintView": "",
"referrer": "",
"trafficType": "bot",
"ayoune_actions": [],
"ayoune_params": [],
"ayoune_aff_type": "consumer",
"shares": [],
"createdAt": "2026-10-18T04:09:48.321Z",
"updatedAt": "2026-10-18T04:09:48.321Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://pim-api.ayoune.app/scanevents/6ad4468c4bb63d88930ecfa5",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "Products",
"title": "MODEL_PRODUCT",
"href": "https://api.ayoune.app/pim/products/6ac33cc4c0aedf1dd2d61f02",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "pim.products"
},
{
"rel": "Domains",
"title": "MODEL_DOMAIN",
"href": "https://api.ayoune.app/config/domains/6a908a3bd0e7e99f88292a07",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "config.domains"
}
],
"relations": [
{
"rel": "Products",
"title": "MODEL_PRODUCT",
"href": "https://api.ayoune.app/pim/products",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "pim.products"
},
{
"rel": "Lots",
"title": "MODEL_LOT",
"href": "https://api.ayoune.app/sale/lots",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "sale.lots"
},
{
"rel": "Domains",
"title": "MODEL_DOMAIN",
"href": "https://api.ayoune.app/config/domains",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "config.domains"
}
],
"debugId": "6ad44db21e7a666728835fd9",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_SCANEVENT",
"href": "https://api.ayoune.app/pim/scanevents/6ad4468c4bb63d88930ecfa5/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_SCANEVENT",
"href": "https://api.ayoune.app/pim/scanevents/6ad4468c4bb63d88930ecfa5",
"method": "delete",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.33.0",
"core": "2026.385.1"
},
"rateLimit": {
"limit": "10000",
"remaining": "9872",
"reset": "1792301975",
"resetDate": "Sun Oct 18 2026"
},
"responseTime": 92.249232,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /scanevents |
Liste mit Filtern/Paginierung | pim.scanevents.view |
| GET | /scanevents/:id |
Einzelner Datensatz via ID | pim.scanevents.view |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.pim.scanEvents.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.pim.scanEvents.findById('OBJECT_ID').exec();