aYOUne
← Warehouse API

ReplenishmentOrders

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

SDK

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

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

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

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

See also