aYOUne
← Purchase API

TradeChannelEvents

Singular: TradeChannelEvent — Base URL: https://purchase-api.ayoune.app — Access: read-only

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 /tradechannelevents List with filters/pagination purchase.tradechannelevents.view
GET /tradechannelevents/:id Single record by ID purchase.tradechannelevents.view

SDK

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

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

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

See also