aYOUne
← Warehouse API

PackConfirmations

Singular: PackConfirmation — Base-URL: https://warehouse-api.ayoune.app — Zugriff: CRUD

play_circle Jetzt ausprobieren beta

Requests werden über den consumer-app Proxy an *.ayoune.app weitergeleitet. Tokens bleiben im Browser und werden pro Call mitgesendet.

Endpunkte

MethodePathBeschreibungRight
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' });

Weiterführend