> For the complete documentation index, see [llms.txt](https://docs.premsoft.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.premsoft.de/plugins/hersteller-liste-und-detailansicht/store-api.md).

# Store API

PremsManufacturer stellt drei Store-API-Routen bereit, mit denen Hersteller-Daten in Composable Storefronts oder eigenen Frontends abgerufen werden können.

## Hersteller-Liste laden

Liefert eine paginierbare Liste der Hersteller, optional gefiltert nach Anfangsbuchstabe oder Suchbegriff.

**Endpunkt:** `POST /store-api/prems-manufacturer/list`\
**Login erforderlich:** Nein

| Parameter | Typ    | Pflicht | Beschreibung                                                 |
| --------- | ------ | ------- | ------------------------------------------------------------ |
| `page`    | int    | Nein    | Seitennummer (ab 1). Standard: 1.                            |
| `limit`   | int    | Nein    | Anzahl Hersteller pro Seite. Standard: 24.                   |
| `letter`  | string | Nein    | Anfangsbuchstabe (A–Z) oder „0-9" für numerische Hersteller. |
| `search`  | string | Nein    | Suchbegriff im Herstellernamen (Contains-Filter).            |

**Antwort:** Liefert eine Hersteller-Collection mit Total-Count und – sofern in der Advanced-Version aktiv – eine Liste der Anfangsbuchstaben mit mindestens einem Hersteller für die A-Z-Navigation.

**Fehler:**

* In der kostenlosen Version werden maximal 5 Hersteller zurückgegeben; die A-Z-Buchstabenliste ist leer.

## Hersteller-Detail laden

Liefert die Daten eines einzelnen Herstellers inklusive eines vollwertigen Produkt-Listings.

**Endpunkt:** `POST /store-api/prems-manufacturer/detail/{manufacturerId}`\
**Login erforderlich:** Nein

| Parameter                                                                                         | Typ    | Pflicht | Beschreibung                                                                        |
| ------------------------------------------------------------------------------------------------- | ------ | ------- | ----------------------------------------------------------------------------------- |
| `manufacturerId`                                                                                  | string | Ja      | Hersteller-ID im URL-Pfad.                                                          |
| `order`                                                                                           | string | Nein    | Sortierungsschlüssel (siehe `core.listing.defaultSorting`).                         |
| `p`                                                                                               | int    | Nein    | Seitennummer der Produkt-Liste.                                                     |
| `limit`                                                                                           | int    | Nein    | Anzahl Produkte pro Seite.                                                          |
| `manufacturer-filter`, `rating-filter`, `price-filter`, `shipping-free-filter`, `property-filter` | bool   | Nein    | Schaltet einzelne Listing-Filter ein/aus (entspricht den Standard-Listing-Filtern). |

**Antwort:** Liefert die Hersteller-Entity sowie das Produkt-Listing inkl. verfügbarer Sortierungen, Aggregationen, gesetzter Filter und aktuellem Filter-State.

**Fehler:**

* `404` – Hersteller mit der angegebenen ID existiert nicht.

## Hersteller-Suche (Suggest)

Liefert eine reduzierte Hersteller-Liste für die Suchvorschau im Header.

**Endpunkt:** `POST /store-api/prems-manufacturer/suggest`\
**Login erforderlich:** Nein

| Parameter | Typ    | Pflicht | Beschreibung                                            |
| --------- | ------ | ------- | ------------------------------------------------------- |
| `search`  | string | Nein    | Suchbegriff (Contains-Filter über den Herstellernamen). |
| `limit`   | int    | Nein    | Maximalanzahl Treffer (1–20). Standard: 5.              |

**Antwort:** Liefert eine kurze Hersteller-Collection inklusive Logo-Media-Association.

**Fehler:**

* Die Route ist nur in der Advanced-Version verfügbar; die kostenlose Version liefert immer eine leere Collection.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.premsoft.de/plugins/hersteller-liste-und-detailansicht/store-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
