← Export API
ProductChannels
Singular: ProductChannel — Base URL: https://export-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.
Example response (recorded) sample
A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.
{
"payload": {
"restrictions": {
"teams": [],
"users": []
},
"_id": "65ce1578dfd27b6b0d8a4ed8",
"pricegroup": "default",
"check": false,
"includeBase": false,
"includeStemm": false,
"includeVariants": false,
"valid": false,
"share": false,
"key": "",
"url": "",
"booleanAs": "yn",
"delimiter": ",",
"quotes": "\"",
"hasCSVColumnTitle": true,
"ending": "default",
"encoding": "utf8",
"flag_export": "none",
"flag_export_date": "none",
"createdBy": "6045f4d25704710012485569",
"fields": [],
"overrides": [],
"createdAt": "2024-02-15T13:45:28.762Z",
"updatedAt": "2024-02-15T13:45:28.762Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://export-api.ayoune.app/productchannels/65ce1578dfd27b6b0d8a4ed8",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [],
"debugId": "6a62e002c18c2749f553fab2",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_PRODUCTCHANNEL",
"href": "https://api.ayoune.app/export/productchannels/65ce1578dfd27b6b0d8a4ed8/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_PRODUCTCHANNEL",
"href": "https://api.ayoune.app/export/productchannels/65ce1578dfd27b6b0d8a4ed8/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.0.2",
"core": "2026.234.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2424",
"reset": "1784868359",
"resetDate": "Fri Jul 24 2026"
},
"responseTime": 16.15102,
"code": 200,
"status": "success",
"error": false
}
}
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /productchannels |
List with filters/pagination | export.productchannels.view |
| GET | /productchannels/:id |
Single record | export.productchannels.view |
| POST | /productchannels |
Create new record | export.productchannels.new |
| PUT | /productchannels |
Update record | export.productchannels.edit |
| DELETE | /productchannels/:id |
Delete record | export.productchannels.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.export.productChannels.find().limit(10).exec();
// Single record
const one = await ay.export.productChannels.findById('OBJECT_ID').exec();
// Create
const created = await ay.export.productChannels.create({ name: 'Foo' });