← Warehouse API
PackConfirmations
Singular: PackConfirmation — Base-URL: https://warehouse-api.ayoune.app — Zugriff: CRUD — 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": {
"_id": "6a619a5d085baf7caad8d729",
"status": "in_progress",
"totalBoxes": 0,
"totalItems": 0,
"totalWeight": 0,
"totalVolume": 0,
"createdBy": "6045f4d25704710012485569",
"boxes": [],
"createdAt": "2026-07-23T04:36:45.334Z",
"updatedAt": "2026-07-23T04:36:45.334Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://warehouse-api.ayoune.app/packconfirmations/6a619a5d085baf7caad8d729",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [],
"debugId": "6a72c31d5e72a4254acaca5a",
"errors": [],
"actions": [],
"version": {
"host": "2026.19.1",
"core": "2026.258.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2440",
"reset": "1785909544",
"resetDate": "Wed Aug 05 2026"
},
"responseTime": 88.828992,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /packconfirmations |
Liste mit Filtern/Paginierung | warehouse.packconfirmations.view |
| GET | /packconfirmations/:id |
Einzelner Datensatz | warehouse.packconfirmations.view |
| POST | /packconfirmations |
Neuen Datensatz erstellen | warehouse.packconfirmations.new |
| PUT | /packconfirmations |
Datensatz aktualisieren | warehouse.packconfirmations.edit |
| DELETE | /packconfirmations/:id |
Datensatz löschen | warehouse.packconfirmations.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.warehouse.packConfirmations.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.warehouse.packConfirmations.findById('OBJECT_ID').exec();
// Erstellen
const created = await ay.warehouse.packConfirmations.create({ name: 'Foo' });