← E-Commerce API
ShippingMethods
Singular: ShippingMethod — Base-URL: https://ecommerce-api.ayoune.app — Zugriff: CRUD — Maschinenlesbare Beschreibung (JSON · YAML)
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": "6ac8118f4affa5ff19a8e88c",
"_zone": "6ac811814affa5ff19a8e87a",
"type": "flat_rate",
"title": "[abnahme] Standardversand",
"enabled": true,
"order": 1,
"taxable": true,
"config": {
"baseCost": 4.9
},
"createdBy": "5a76d07e2d8b3270ff6df587",
"shares": [],
"createdAt": "2026-10-08T21:56:31.935Z",
"updatedAt": "2026-10-08T21:56:31.935Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://ecommerce-api.ayoune.app/shippingmethods/6ac8118f4affa5ff19a8e88c",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "ShippingZones",
"title": "MODEL_SHIPPINGZONE",
"href": "https://api.ayoune.app/ecommerce/shippingzones/6ac811814affa5ff19a8e87a",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "ecommerce.shippingzones"
}
],
"relations": [
{
"rel": "ShippingZones",
"title": "MODEL_SHIPPINGZONE",
"href": "https://api.ayoune.app/ecommerce/shippingzones",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "ecommerce.shippingzones"
},
{
"rel": "BusinessLocations",
"title": "MODEL_BUSINESSLOCATION",
"href": "https://api.ayoune.app/config/businesslocations",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "config.businesslocations"
}
],
"debugId": "6ac9b4afc0663a77f22ecf86",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_SHIPPINGMETHOD",
"href": "https://api.ayoune.app/ecommerce/shippingmethods/6ac8118f4affa5ff19a8e88c/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_SHIPPINGMETHOD",
"href": "https://api.ayoune.app/ecommerce/shippingmethods/6ac8118f4affa5ff19a8e88c",
"method": "delete",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.17.0",
"core": "2026.368.0"
},
"rateLimit": {
"limit": "10000",
"remaining": "9864",
"reset": "1791607435",
"resetDate": "Sat Oct 10 2026"
},
"responseTime": 97.690967,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /shippingmethods |
Liste mit Filtern/Paginierung | ecommerce.shippingmethods.view |
| GET | /shippingmethods/:id |
Einzelner Datensatz | ecommerce.shippingmethods.view |
| POST | /shippingmethods |
Neuen Datensatz erstellen | ecommerce.shippingmethods.new |
| PUT | /shippingmethods |
Datensatz aktualisieren | ecommerce.shippingmethods.edit |
| DELETE | /shippingmethods/:id |
Datensatz löschen | ecommerce.shippingmethods.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.ecommerce.shippingMethods.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.ecommerce.shippingMethods.findById('OBJECT_ID').exec();
// Erstellen
const created = await ay.ecommerce.shippingMethods.create({ name: 'Foo' });