aYOUne
← Warehouse API

FloorPlans

Singular: FloorPlan — Base URL: https://warehouse-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

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

SDK

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

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

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

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

See also