# Turn the Sonepar Onlineshop into an API

> Read orders from the Bestellverwaltung, Rückstände with their Liefertermine, and prices and availability by article number, one API call each. A workflow can email you changed Liefertermine each morning and post new Rechnungsnummern to accounting.

Page: https://fous.com/automate/sonepar-onlineshop
Updated: 2026-11-12

Works with your own Sonepar Onlineshop account. Fous is an independent product.

## What you can build on the Onlineshop

### Get orders from the Bestellverwaltung

Reads the Bestellverwaltung (order management) in Mein Kundenkonto for a date range: each order's dates, status, Kommission, invoice number and tracking.

- Takes: From date, to date
- Returns: Order number, order date, status, Kommission, invoice number, tracking, pickup or delivery

### List Rückstände with their Liefertermine

Reads the items in Rückstand (ordered, not yet deliverable) and the Liefertermin shown on each open position in the Bestellverwaltung.

- Takes: Nothing
- Returns: Order number, order date, Kommission, Bestellzeichen, article number, description, open quantity, delivery date

### Check prices and availability

Searches the shop for each article number or EAN, reads the price and cheapest Staffelpreis, and the availability and note shown on the product page.

- Takes: Article numbers or EANs
- Returns: Article number, description, your price, cheapest Staffelpreis, availability, availability note

### Put articles in the Warenkorb with a Kommission

Adds a list of articles and quantities to the Warenkorb, sets the Kommission and Bestellzeichen, and leaves it ready to order or send for approval.

- Takes: Article numbers and quantities, Kommission, Bestellzeichen
- Returns: Basket lines, prices, availability, basket total

## Automate the Onlineshop with a workflow

A [workflow](/product/workflows) runs your methods as one process, with nobody at the screen. A schedule or a call from your own system starts it, the steps run in order, and the result arrives in your inbox or in the systems you already use.

### Rückstände with changed Liefertermine, every morning

Starts: Every weekday at 7:00

1. List the Rückstände with their Liefertermine.
2. Keep the positions whose Liefertermin changed since the last run, or that are new.
3. Email you the list grouped by Kommission, so the site teams can plan.

### New invoice numbers, handed to accounting

Starts: Every weekday at 18:00

1. Get the orders from the Bestellverwaltung for the last 30 days.
2. Keep the orders that have a Rechnungsnummer they did not have on the last run.
3. Post order number, order date, Kommission and Rechnungsnummer to your accounting system's webhook.

### Weekly price and availability check for your core articles

Starts: Every Monday at 6:30

1. Check prices and availability for the article numbers you keep in your list.
2. Keep the articles whose price or availability changed since the last run.
3. Post the changes to your ERP's webhook.

You can run a workflow by hand on every plan, Free included. Schedules and webhook triggers come with the paid plans, from $29 a month.

## Once built, one call from your code

Once you have built a [method](/product/methods), it is one POST to /v1/runs from your backend, or a tool an AI agent calls over MCP. This is what “Get orders from the Bestellverwaltung” would look like.

Example request:

```
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "sonepar.de/get_orders",
    "input": {
      "from_date": "2026-11-02",
      "to_date": "2026-11-11"
    }
  }'
```

Example response:

```
{
  "status": "completed",
  "data": {
    "orders": [
      {
        "order_number": "4500318822",
        "order_date": "2026-11-10",
        "status": "In Bearbeitung",
        "kommission": "Northwind Lagerhalle 3",
        "invoice_number": null,
        "tracking_url": "https://tracking.example.com/00340434161094",
        "pickup_order": false
      }
    ]
  }
}
```

An example with invented data, not a ready-made endpoint. The method exists in your organization once you build it, and its name, inputs and fields follow your request.

## The Onlineshop’s own options

Sonepar connects your trade software or ERP to the Onlineshop through Shop-Schnittstellen: OCI and IDS to order from your own system, UGL and EDI to exchange orders, delivery notes and invoices, and Open Masterdata for product data. Each is set up with Sonepar's support team and your software vendor. Without one, you have the shop itself.

| Option | What it covers | What it takes |
| --- | --- | --- |
| OCI and IDS | Search, pick and order Sonepar articles from your purchasing system or trade software, with prices and availability passed over. | A system that supports OCI or IDS, set up with Sonepar's digital support and your software vendor. |
| UGL | Exchanges Preisanfragen, Angebote, Bestellungen, Auftragsbestätigungen, Lieferscheine and Rechnungen with your trade software. | Trade software that supports UGL, set up with your software vendor. |
| EDI and E-Rechnung | EDIFACT messages such as ORDERS, ORDRSP, DESADV and INVOIC for industry customers. Invoices also as PDF, ZUGFeRD or X-Rechnung. | Arranged with Sonepar's industry support, or by request for an invoice format. |
| The Onlineshop by hand | Bestellverwaltung, Rückstände, Kontoblatt, Warenkorb and the download of Rechnungen and Lieferscheine as PDF. | A Sonepar customer number and an Onlineshop login. |

Read on November 12, 2026: [Shop-Schnittstellen für das Elektrohandwerk](https://www.sonepar.de/c/services-loesungen/beschaffung-lager/e-procurement/schnittstellen), [Kann ich mit Shop-Schnittstellen bei Sonepar bestellen?](https://support.sonepar.de/hc/de/articles/16118015431697), [Welche EDI-Belege unterstützt Sonepar?](https://support.sonepar.de/hc/de/articles/46891133031441).

## Signing in to the Onlineshop

The Onlineshop asks you to choose your Sonepar company and enter your Kunden-Nr., Benutzerkennung and password, or a verified email address and password. Too many wrong passwords lock the login. With Fous you sign in once through the shop's own sign-in with your own account: the login is sealed with AES-256, and an expired session is signed back in.

## Worth knowing

- **Invoice downloads are for Kunden-Admins**: Rechnungen and Lieferscheine download as PDF from the Bestellverwaltung, but Sonepar's release note gives that right to Kunden-Admins only. Sign in with an admin user if a method needs the PDFs.
- **Liefertermine update once a day**: The Liefertermin on a backordered position is refreshed daily from Sonepar's ERP, so one check a day is enough.
- **Status filter only for SAP orders**: The Bestellverwaltung can filter by Auftragsstatus for SAP orders but not for EVA orders, so build the method to read the status from each order instead of relying on the filter.
- **Invoice cadence is set per customer**: Invoices come per order, per weekly Rechnungslauf or monthly, as agreed with your Sonepar location. An Einzelrechnung for one order can be chosen in the Warenkorb.

## More in Distribution: industrial and MRO

- [Motion](https://fous.com/automate/motion.md)
- [MISUMI](https://fous.com/automate/misumi.md)
- [Rexel France](https://fous.com/automate/rexel-france.md)
- [RS](https://fous.com/automate/rs.md)
- [京东企业购](https://fous.com/automate/jd-enterprise.md)
- [Fastenal](https://fous.com/automate/fastenal.md)
- [Würth Online-Shop](https://fous.com/automate/wurth-online-shop.md)
- [Airgas](https://fous.com/automate/airgas.md)
- [McMaster-Carr](https://fous.com/automate/mcmaster-carr.md)
- [Fisher Scientific](https://fous.com/automate/fisher-scientific.md)
- [VWR (Avantor)](https://fous.com/automate/vwr-avantor.md)
- [thermofisher.com](https://fous.com/automate/thermofisher-com.md)
- [SiePortal](https://fous.com/automate/sieportal.md)
- [mySchneider](https://fous.com/automate/myschneider.md)
- [MSC Industrial Supply](https://fous.com/automate/msc-industrial-supply.md)
- [モノタロウ](https://fous.com/automate/monotaro.md)
- [震坤行](https://fous.com/automate/zkh-com.md)
- [ODP Business Solutions](https://fous.com/automate/odp-business-solutions.md)
- [Staples Business Advantage](https://fous.com/automate/staples-business-advantage.md)
- [アスクル](https://fous.com/automate/askul.md)
- [Sigma-Aldrich](https://fous.com/automate/sigma-aldrich.md)
- [Uline](https://fous.com/automate/uline.md)
- [Lyreco Webshop](https://fous.com/automate/lyreco-webshop.md)

Other industries: [Bullhorn](/automate/bullhorn), [CAQH Provider Data Portal](/automate/caqh-provider-data-portal), [PPL](/automate/ppl), [Money Claim Online](/automate/money-claim-online), [Lufthansa Cargo eServices](/automate/lufthansa-cargo-eservices), [Fidelity Plan Sponsor WebStation](/automate/fidelity-plan-sponsor-webstation).

## Frequently asked questions

### Does the Sonepar Onlineshop have an API?

Not a self-serve one. Sonepar connects your software through Shop-Schnittstellen: OCI and IDS for ordering, UGL and EDI for orders, delivery notes and invoices, and Open Masterdata for product data, each set up with Sonepar's support team. Otherwise you use the shop itself.

### Where do I download Sonepar invoices and delivery notes?

In the Bestellverwaltung under Mein Kundenkonto, as PDF. It also shows each order's date, status, invoice number and, for deliveries from the central warehouses, tracking. Sonepar gives the download right to Kunden-Admins.

### Where do I see the delivery date of a backordered item?

On the position inside the order in the Bestellverwaltung. Rückstände in Mein Kundenkonto lists everything that is ordered but not yet deliverable, and the Liefertermine refresh daily from Sonepar's ERP.

### Can I get Sonepar invoices electronically instead?

Yes. Sonepar sends invoices as PDF, via EDI (UGL, EDIFACT, XML, ZUGFeRD) or as X-Rechnung, and you switch format with the Anfrage form in its help centre.

### Is Fous affiliated with Sonepar Deutschland?

No. Fous is an independent product. You use it with your own Sonepar Onlineshop account, and a method reads and does only what that account can.

Fous is an independent product: it is not affiliated with, endorsed by or sponsored by the operator of Sonepar Onlineshop (Sonepar Deutschland). The name is used only to say which system this page is about. Something here wrong or out of date? Write to legal@fous.com.
