aYOUne
← marketplace API

ResellerDefaultBundles

Singular: ResellerDefaultBundle — Base URL: https://marketplace-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 /resellerdefaultbundles List with filters/pagination marketplace.resellerdefaultbundles.view
GET /resellerdefaultbundles/:id Single record marketplace.resellerdefaultbundles.view
POST /resellerdefaultbundles Create new record marketplace.resellerdefaultbundles.new
PUT /resellerdefaultbundles Update record marketplace.resellerdefaultbundles.edit
DELETE /resellerdefaultbundles/:id Delete record marketplace.resellerdefaultbundles.delete

SDK

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

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

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

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

See also