Skip to content
aYOUne
← PIM API

Products

Singular: Product — Base URL: https://pim-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

Try it now beta

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": {
    "_id": "6abef16e3e4ac8da65834a69",
    "asin": "B0BEISPIEL2",
    "accessories": [],
    "active": true,
    "additional_image_url": "",
    "addonProducts": [],
    "advancedNbr": false,
    "affiliate": true,
    "affiliateStatus": false,
    "age_group": "",
    "aliexpressId": "",
    "allowOverbooking": false,
    "articleNameParts": [],
    "articleNamePartsEN": [],
    "articleNamePartsVariants": [],
    "articleNamePartsVariantsEN": [],
    "articleNumberParts": [],
    "articleNumberPartsVariants": [],
    "attachments": [],
    "attributes": [],
    "auto": true,
    "availability": 0,
    "availabilityFromProductionOrders": 0,
    "availabilityInControl": 0,
    "availabilityInProduction": 0,
    "availabilityLocked": 0,
    "avgPurchasePrice": 0,
    "base": false,
    "basePrice": 0,
    "base_content": 1,
    "base_measure_unit": "Kilogramm",
    "base_unit": 1,
    "batch_duty": false,
    "blend": 0,
    "brand": "",
    "brand_image": "",
    "brand_slug": "",
    "brand_url": "",
    "brandlink": "",
    "brandlinkTitle": "",
    "brands": [],
    "bundleProducts": [],
    "calculation": {
      "fek": 0,
      "fgkz": 0,
      "fgkzv": 0,
      "fk": 0,
      "groups": [],
      "materialContributionMargin": 0,
      "materialContributionMarginPercentage": 0,
      "materialPurchasePrice": 8.4,
      "materialPurchasePriceWithOverheads": 0,
      "materialSellPrice": 0,
      "materialSurcharge": 0,
      "mek": 8.4,
      "mgkz": 0,
      "mgkzv": 0,
      "mk": 0,
      "nettoContributionMargin": 0,
      "nettoContributionMarginPercentage": 0,
      "nettoPurchasePrice": 8.4,
      "nettoPurchasePriceWithOverheads": 0,
      "nettoSellPrice": 0,
      "nettoSurcharge": 0,
      "sellPrice": 0,
      "taxValue": 0,
      "totalMaterial": 8.4,
      "totalWage": 0,
      "wageContributionMargin": 0,
      "wageContributionMarginPercentage": 0,
      "wageExternal": 0,
      "wageGlobal": 0,
      "wageInternal": 0,
      "wagePurchasePrice": 0,
      "wagePurchasePriceWithOverheads": 0,
      "wageSellPrice": 0,
      "wageSubcontractor": 0,
      "wageSurcharge": 0,
      "wageTime": 0,
      "wageTimeHours": 0,
      "wageTimeMinutes": 0
    },
    "calculationFaktor": "max",
    "calculationQty": 0,
    "calculationStrategie": "max",
    "categories": [],
    "category": "",
    "category_image": "",
    "category_slug": "",
    "category_url": "",
    "city": "",
    "condition": "Neu",
    "cost_per_unit": 0,
    "cost_units": 1,
    "costing": {
      "material": [],
      "mfc": 0
    },
    "country": "",
    "courses": [],
    "createdAt": "2026-10-01T23:49:02.196Z",
    "crosssellProducts": [],
    "dates": [],
    "delivery_cost": "",
    "delivery_countries": "",
    "delivery_time": 3,
    "depositPercent": 0,
    "descriptions": [],
    "design_type": "Eckig",
    "direct_delivery": false,
    "discountPercent": 0,
    "drawingNumber": "",
    "ean": "",
    "etimKeywords": [],
    "etimVersion": "6",
    "expirationAfter": 0,
    "exportchannels": [],
    "external": true,
    "featured": false,
    "firstUseAfter": 0,
    "gender": "",
    "google_product_category": "",
    "group_id": "",
    "group_product_id": "",
    "gtin": "",
    "guarantee": 2,
    "hasExpirationDate": false,
    "hasFirstUseDate": false,
    "hasQualityControl": false,
    "hasQuota": false,
    "hasRequirements": false,
    "hasSupplierAgreements": true,
    "hasSupport": false,
    "height": 0,
    "height_unit": "Millimeter",
    "id": "amz-B0BEISPIEL2",
    "image_url": "",
    "images": [],
    "inner_diameter": 0,
    "inner_diameter_unit": "Millimeter",
    "inner_radius": 0,
    "inner_radius_unit": "Meter",
    "interestchannels": [],
    "internal_note": "<!-- ayoune:marketplace-proposal:v1 START -->\nAnreicherungsstand: failed (Server-Rückfall, 2026-10-03T23:49:02.405Z)\nMarktplatz: amazon B0BEISPIEL2\n⚠ VORSCHLÄGE — ungeprüft, nicht in die Stammfelder übernommen.\nEAN: kein belastbarer Treffer (ean-search HTTP 429)\nMarke: nicht aus dem Titel ableitbar\nBild: fehlt — kommt nur über den Companion-Nachlauf (kein Server-Bild aus dieser Quelle).\n<!-- ayoune:marketplace-proposal:v1 END -->\n\n<!-- aYOUne-enrichment:internal:v1 START -->\n### Titel (Quelle)\nBeispielartikel: Etikettendrucker-Rolle (Prüfer-Testdaten)\n<!-- aYOUne-enrichment:internal:v1 END -->",
    "isBookable": false,
    "isMaterial": false,
    "isNewProduct": true,
    "isPublic": false,
    "isRecipe": false,
    "isService": false,
    "isSpecial": false,
    "isTool": false,
    "isUtility": false,
    "keywords": [],
    "kind": "Simples Produkt",
    "labor_costs_and_overheads": 0,
    "labor_costs_and_overheads_units": 1,
    "labor_unit_costs": 0,
    "lastUpdate": "2026-10-01T23:49:02.202Z",
    "length": 0,
    "length_unit": "Millimeter",
    "link": "",
    "locale": "de_DE",
    "locked": false,
    "long_description": "",
    "long_description2": "",
    "long_description2_en": "",
    "long_description_en": "",
    "lotNumber": "",
    "margin": 0,
    "material": [],
    "materialCheckSum": 0,
    "materialCheckSumSimulation": 1,
    "materialQtyInPercent": false,
    "materialSimulationSum": 1,
    "maxPurchasePrice": 0,
    "max_price": 0,
    "max_qty": 1,
    "minPurchasePrice": 0,
    "min_holding": 0,
    "min_price": 0,
    "min_production": 0,
    "min_purchase_qty": 0,
    "min_qty": 1,
    "mounting_diameter": 0,
    "mounting_diameter_unit": "Millimeter",
    "mounting_height": 0,
    "mounting_height_unit": "Millimeter",
    "mounting_length": 0,
    "mounting_length_unit": "Millimeter",
    "mounting_width": 0,
    "mounting_width_unit": "Millimeter",
    "mpn": "",
    "msrp": "",
    "needsDeposit": false,
    "needsExam": false,
    "needsIncomingGoodsInspection": false,
    "needsPawn": false,
    "needsQualityControl": false,
    "needsQuarantine": false,
    "needsResource": false,
    "needsResourceCategory": "Wagen",
    "needsSupplierFeedback": false,
    "othergroups": [],
    "outer_diameter": 0,
    "outer_diameter_unit": "Millimeter",
    "outer_radius": 0,
    "outer_radius_unit": "Meter",
    "overBookingQuota": 0,
    "ownDataSheet": false,
    "package": "",
    "package_unit": "",
    "packagingUnits": [],
    "pawn": 0,
    "paypalCategory": "",
    "paypalId": "",
    "paypalType": "DIGITAL",
    "pos": true,
    "prices": [],
    "primaryColor": "#000000",
    "procurement": "purchase",
    "product_location": "",
    "product_status": [],
    "production": [],
    "production_country": "",
    "production_time": 0,
    "provenance": {
      "source": "order-import",
      "provider": "amazon",
      "importedAt": "2026-10-01T23:49:02.196Z"
    },
    "purchase_amount": 0,
    "purchase_unit": "",
    "qualityControlTemplates": [],
    "quota": 0,
    "quotaUnit": "days",
    "radius": 0,
    "radius_unit": "Meter",
    "references": [],
    "remarks": "",
    "requirements": [],
    "restrict": false,
    "restrictions": {
      "users": []
    },
    "scanID": "UJYSNZFQ",
    "secondaryColor": "#ffffff",
    "sell_price": 0,
    "sell_price_effective_date_end": "",
    "sell_price_effective_date_start": "",
    "seo": {
      "description": "",
      "title": ""
    },
    "serialNumber": "",
    "shares": [],
    "shoplinks": [],
    "shops": [],
    "short_description": "",
    "short_description2": "",
    "short_description2_en": "",
    "short_description_en": "",
    "sku": "amz-B0BEISPIEL2",
    "special_treatment": [],
    "sponsored": false,
    "staggering": 1,
    "status": "Entwurf",
    "stemm": false,
    "stock_status": "",
    "stocks": [],
    "supportCredit": 0,
    "surcharge": 0,
    "surchargePercent": 0,
    "tags": [],
    "taric": "",
    "tax": 19,
    "themas": [],
    "title": "Beispielartikel: Etikettendrucker-Rolle (Prüfer-Testdaten)",
    "title2": "",
    "title2_en": "",
    "title3": "",
    "title3_en": "",
    "title4": "",
    "title4_en": "",
    "title_en": "",
    "title_slug": "",
    "totalTime": 0,
    "totalTimeDays": 0,
    "totalTimeHours": 0,
    "totalTimeMonths": 0,
    "totalTimeWeeks": 0,
    "total_costs_unit": 0,
    "type": "Ware",
    "unit": "Stück",
    "unit_costs": 0,
    "upc": "",
    "updatedAt": "2026-11-20T03:30:29.947Z",
    "upsellProducts": [],
    "useCalculation": false,
    "useLots": false,
    "useSerials": false,
    "uvp": "",
    "variant": false,
    "variant_fields": [],
    "volume": 0,
    "volume_unit": "Kubikdezimeter",
    "wageExternal": 0,
    "wageGlobal": 0,
    "wageInternal": 0,
    "wageSubcontractor": 0,
    "wageTimeHours": 0,
    "wallThickness": 0,
    "wallThickness_unit": "Millimeter",
    "warranty": 2,
    "weight": 0,
    "weight_unit": "Kilogramm",
    "width": 0,
    "width_unit": "Millimeter"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://pim-api.ayoune.app/products/6abef16e3e4ac8da65834a69",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [],
    "debugId": "6affc6bb14bfc4db5f53fe55",
    "errors": [],
    "actions": [],
    "version": {
      "host": "2026.33.0",
      "core": "2026.388.0"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9995",
      "reset": "1795151051",
      "resetDate": "Fri Nov 20 2026"
    },
    "responseTime": 504.522506,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

MethodPathDescriptionRight
GET /products List with filters/pagination pim.products.view
GET /products/:id Single record pim.products.view
POST /products Create new record pim.products.new
PUT /products Update record pim.products.edit
DELETE /products/:id Delete record pim.products.delete

SDK

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

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

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

// Create
const created = await ay.pim.products.create({ name: 'Foo' });

See also