aYOUne
← Warehouse API

PackConfirmations

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

play_circle Try it now beta

Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.

Endpoints

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

See also