aYOUne
← Warehouse API

InventoryAdjustments

Singular: InventoryAdjustment — 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 /inventoryadjustments List with filters/pagination warehouse.inventoryadjustments.view
GET /inventoryadjustments/:id Single record warehouse.inventoryadjustments.view
POST /inventoryadjustments Create new record warehouse.inventoryadjustments.new
PUT /inventoryadjustments Update record warehouse.inventoryadjustments.edit
DELETE /inventoryadjustments/:id Delete record warehouse.inventoryadjustments.delete

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// List all
const list = await ay.warehouse.inventoryAdjustments.find().limit(10).exec();

// Single record
const one = await ay.warehouse.inventoryAdjustments.findById('OBJECT_ID').exec();

// Create
const created = await ay.warehouse.inventoryAdjustments.create({ name: 'Foo' });

See also