← marketplace API
MarketplaceBundles
Singular: MarketplaceBundle — Base URL: https://marketplace-api.ayoune.app — Access: CRUD
Try it now
beta
Response (live)
Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /marketplacebundles |
List with filters/pagination | marketplace.marketplacebundles.view |
| GET | /marketplacebundles/:id |
Single record | marketplace.marketplacebundles.view |
| POST | /marketplacebundles |
Create new record | marketplace.marketplacebundles.new |
| PUT | /marketplacebundles |
Update record | marketplace.marketplacebundles.edit |
| DELETE | /marketplacebundles/:id |
Delete record | marketplace.marketplacebundles.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.marketplace.marketplaceBundles.find().limit(10).exec();
// Single record
const one = await ay.marketplace.marketplaceBundles.findById('OBJECT_ID').exec();
// Create
const created = await ay.marketplace.marketplaceBundles.create({ name: 'Foo' });