← Warehouse API
PackConfirmations
Singular: PackConfirmation — Base URL: https://warehouse-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.
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /packconfirmations |
List with filters/pagination | warehouse.packconfirmations.view |
| GET | /packconfirmations/:id |
Single record | warehouse.packconfirmations.view |
| POST | /packconfirmations |
Create new record | warehouse.packconfirmations.new |
| PUT | /packconfirmations |
Update record | warehouse.packconfirmations.edit |
| DELETE | /packconfirmations/:id |
Delete record | warehouse.packconfirmations.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.warehouse.packConfirmations.find().limit(10).exec();
// Single record
const one = await ay.warehouse.packConfirmations.findById('OBJECT_ID').exec();
// Create
const created = await ay.warehouse.packConfirmations.create({ name: 'Foo' });