← E-Commerce API
ShippingClasses
Singular: ShippingClass — Base-URL: https://ecommerce-api.ayoune.app — Zugriff: CRUD
Jetzt ausprobieren
beta
Response (live)
Requests werden über den consumer-app Proxy an *.ayoune.app weitergeleitet. Tokens bleiben im Browser und werden pro Call mitgesendet.
Beispiel-Response (aufgezeichnet) Beispiel
Eine echte, zuvor aufgezeichnete GET /:id-Antwort dieses Endpunkts — nicht der Live-Call oben. Sensible Felder sind maskiert.
{
"payload": {
"_id": "6a618f0e81cacdc8208a6946",
"name": "ADVISORY_CHOCOLATE_LAMA SU",
"createdBy": "6045f4d25704710012485569",
"createdAt": "2026-07-23T03:48:30.990Z",
"updatedAt": "2026-07-23T03:48:30.990Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://ecommerce-api.ayoune.app/shippingclasses/6a618f0e81cacdc8208a6946",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [],
"debugId": "6a62dfee1af8fff1cf6ee321",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_SHIPPINGCLASS",
"href": "https://api.ayoune.app/ecommerce/shippingclasses/6a618f0e81cacdc8208a6946/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_SHIPPINGCLASS",
"href": "https://api.ayoune.app/ecommerce/shippingclasses/6a618f0e81cacdc8208a6946/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.14.0",
"core": "2026.258.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2390",
"reset": "1784868325",
"resetDate": "Fri Jul 24 2026"
},
"responseTime": 195.912886,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /shippingclasses |
Liste mit Filtern/Paginierung | ecommerce.shippingclasses.view |
| GET | /shippingclasses/:id |
Einzelner Datensatz | ecommerce.shippingclasses.view |
| POST | /shippingclasses |
Neuen Datensatz erstellen | ecommerce.shippingclasses.new |
| PUT | /shippingclasses |
Datensatz aktualisieren | ecommerce.shippingclasses.edit |
| DELETE | /shippingclasses/:id |
Datensatz löschen | ecommerce.shippingclasses.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.ecommerce.shippingClasses.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.ecommerce.shippingClasses.findById('OBJECT_ID').exec();
// Erstellen
const created = await ay.ecommerce.shippingClasses.create({ name: 'Foo' });