API · REST/JSON

API documentation

With the interface (API) you can manage your shop automatically: create and maintain products, retrieve and process orders, create invoices – for example from your inventory management system, your own program, or an automation tool such as Zapier or Make.

Version 1.0 https://medrioux.com/api/v1 11 endpoints As of 05.12.2026

1 · Overview

All endpoints

All requests and responses use JSON. The field names are in German and match exactly what you see in the platform.

MethodPathPurpose
POST /api/v1/clearing/nachrichten Submit EDI file
GET /api/v1/websites List your own websites
GET /api/v1/websites/{website_id}/artikel List a website's products
POST /api/v1/websites/{website_id}/artikel Create product
PATCH /api/v1/artikel/{artikel_id} Edit product
DELETE /api/v1/artikel/{artikel_id} Delete product
GET /api/v1/websites/{website_id}/bestellungen List orders
GET /api/v1/bestellungen/{bestellung_id} Retrieve an order
PATCH /api/v1/bestellungen/{bestellung_id} Edit order
POST /api/v1/bestellungen/{bestellung_id}/rechnung Create invoice from order
GET /api/v1/websites/{website_id}/rechnungen List invoices

2 · Basics

Authentication & keys

Every request needs your personal API key in the request header:

X-API-Key: your-key

You create and manage your key in the platform under Menu → Account → My Data → API Access. Treat it like a password: anyone who has the key can act on your behalf. If you suspect misuse, simply generate a new one – the old key becomes invalid immediately.

Via the API you can only view and edit your own websites and data. Up to 1000 requests per hour are permitted.

3 · Basics

Errors & status codes

Errors are always returned as JSON with an easy-to-understand message:

{"ok": false, "fehler": "Artikel 123 nicht gefunden"}

The most important status codes: 200 (all good), 201 (created), 400 (invalid input), 401 (key missing or incorrect), 403 (not yours), 404 (does not exist), 429 (too many requests – wait a moment).

Endpoints

Clearing Center

Submit EDI file

POST /api/v1/clearing/nachrichten

Submits an EDI file to the Clearing Center (channel “api”). The message type is detected automatically – for EDIFACT it is taken bindingly from the UNH segment. Only for accounts that are enabled as clearing participants.

Field / ParameterRequiredMeaning
file Required The file as a multipart field (XML, CSV, JSON, TXT or EDIFACT)
type optional Specify the message type (PRICAT, DESADV, INVOIC, SLSRPT, INVRPT …)
recipient_gln optional GLN of the recipient; empty = global (for PRICAT)
curl -X POST https://medrioux.com/api/v1/clearing/nachrichten \
  -H "X-API-Key: your-key" -F "[email protected]"

Endpoints

Websites

List your own websites

GET /api/v1/websites

Returns all your websites with their shop status. You need the id for all further calls.

{"ok": true, "daten": [{"id": 9, "titel": "B&W Haarliebhaber", "slug": "b-w-haarliebhaber-f57612", "domain": "", "shop_aktiv": true, "shop_modus": "shop"}]}

Endpoints

Product

List a website's products

GET /api/v1/websites/{website_id}/artikel

All items, including hidden ones.

{"ok": true, "daten": [{"id": 12, "name": "Herrenhaarschnitt", "preis": 24.9, "kategorie": "Herren", "aktiv": true, …}]}

Create product

POST /api/v1/websites/{website_id}/artikel

Creates a new product. Only name is required.

Field / ParameterRequiredMeaning
name Required Item name
preis optional Number in euros, e.g. 19.9
beschreibung / einheit / kategorie / bild_url optional as in the Item object
compare_at_price / sku / brand / tags / stock optional as in the Item object
ust_satz / bilder / aktiv / sortierung optional as in the Artikel object; bilder as a list of URLs
aktiv optional true/false, default true
sortierung optional Number, default 0
curl -X POST https://medrioux.com/api/v1/websites/9/artikel \
  -H "X-API-Key: dein-schluessel" -H "Content-Type: application/json" \
  -d '{"name": "Haarwachs", "preis": 12.9, "kategorie": "Produkte"}'

Edit product

PATCH /api/v1/artikel/{artikel_id}

Only changes the fields you send – everything else stays as it is.

Field / ParameterRequiredMeaning
any item fields optional z. B. nur {"preis": 14.5}
{"ok": true, "daten": {"id": 31, "preis": 14.5, …}}

Delete product

DELETE /api/v1/artikel/{artikel_id}

Endgültig – zum bloßen Verstecken lieber PATCH mit {"aktiv": false}.

{"ok": true}

Endpoints

Orders

List orders

GET /api/v1/websites/{website_id}/bestellungen

Newest first. Use ?status=neu (or in_arbeit, erledigt, storniert) to filter.

Field / ParameterRequiredMeaning
status optional Filter by a status
curl https://medrioux.com/api/v1/websites/9/bestellungen?status=neu \
  -H "X-API-Key: your-key"

Retrieve an order

GET /api/v1/bestellungen/{bestellung_id}

All details including line items.

{"ok": true, "daten": {"id": 4, "positionen": [{"name": "Herrenhaarschnitt", "preis": 24.9, "menge": 2}], …}}

Edit order

PATCH /api/v1/bestellungen/{bestellung_id}

Set the status, mark a payment as received, or write the internal note.

Field / ParameterRequiredMeaning
status optional neu, in_arbeit, erledigt or storniert
bezahlt optional true/false
interne_notiz optional Text, visible only to you
curl -X PATCH https://medrioux.com/api/v1/bestellungen/4 \
  -H "X-API-Key: dein-schluessel" -H "Content-Type: application/json" \
  -d '{"status": "erledigt", "bezahlt": true}'

Endpoints

Invoices

Create invoice from order

POST /api/v1/bestellungen/{bestellung_id}/rechnung

Creates the invoice for your buyer. If one already exists, you get the existing one back (a duplicate is never created). If a sevDesk token is stored, it is automatically transferred to your sevDesk as a draft.

{"ok": true, "daten": {"id": 2, "nummer": "S9-0002", "summe": 49.8, "status": "offen", …}}

List invoices

GET /api/v1/websites/{website_id}/rechnungen

All invoices for this website, newest first.

{"ok": true, "daten": [{"id": 2, "nummer": "S9-0002", "status": "offen", …}]}

Reference

Objects & fields

Product

FieldTypeMeaning
idNumberUnique number (assigned by the system)
website_idNumberWhich website the item belongs to
nameTextProduct name (required when creating)
beschreibungTextShort text below the name
preisNumberPrice in euros, e.g. 19.9 – 0 means “on request”
einheitTextPrefix before the price, e.g. “from” or “per hr.”
kategorieTextFree category (legacy) – groups items without a catalog
katalogTextName of the assigned catalog (product group; read-only – assignment is done via the interface)
compare_at_priceNumber“Before” price (RRP) – if it is higher than the price, the shop displays a sale
skuTextItem number
brandTextBrand / manufacturer
tagsTextKeywords, comma-separated – these are picked up by the shop search
stockNumberUnits in stock; empty/null = stock is not tracked. At 0 the shop shows “sold out”, orders are deducted automatically
bild_urlTextImage URL of the main image (https://…)
bilderListAdditional image URLs for the gallery on the item page
ust_satzNumberVAT rate in percent (19, 7 or 0) – controls how VAT is shown on invoices
aktivYes/Nofalse = hidden in the shop
sortierungNumberLower numbers appear higher up

Order

FieldTypeMeaning
idNumberOrder number
website_idNumberWebsite on which the order was placed
nameTextName of the buyer
firmaTextCompany of the buyer (optional)
kaeufer_idNumberThe buyer's customer account on the website (empty for guest orders)
emailTextBuyer's email address
telefonTextPhone number of the buyer
lieferartTextabholung or lieferung
adresseTextDelivery address (for deliveries)
wunschterminTextBuyer's preferred date
nachrichtTextMessage from the buyer
positionenListOrdered items: id, name, preis, menge, ust (tax rate in %)
summeNumberTotal amount in euros (including shipping, less voucher)
versandNumberCalculated shipping costs in euros
rabattNumberVoucher amount deducted, in euros
gutschein_codeTextRedeemed voucher code (empty = none)
sendungsnummerTextTracking number – as soon as it is set in the admin area, the shipping e-mail is sent out automatically
zahlungsartTextabholung, ueberweisung, paypal or absprache
statusTextneu, in_arbeit, erledigt or storniert
bezahltYes/NoPayment marked as received?
interne_notizTextYour internal note – the buyer never sees it
erstellt_amTextTime of the order (ISO format)

Invoice

FieldTypeMeaning
idNumberInternal number
nummerTextInvoice number, e.g. S9-0001
website_idNumberAssociated website
bestellung_idNumberAssociated order (if any)
kunde_nameTextInvoice recipient
summeNumberInvoice amount in euros
statusTextoffen, bezahlt or storniert
sevdesk_idTextID of the sevDesk draft (if transferred)
erstellt_amTextInvoice date (ISO format)

Questions about the API?

We'll help you get set up – also directly with your developer or service provider.