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