---
title: "Search for products, customers and orders.
Type can be \"order\", \"product\" and / or \"customer\"
Term can contain lucene query syntax"
method: POST
path: "/api/v1/search"
tags: ["Products", "Customers", "Orders"]
---

# Search for products, customers and orders.
Type can be "order", "product" and / or "customer"
Term can contain lucene query syntax

`POST /api/v1/search`

## Request body

- RechnungsdruckWebAppControllersApiSearchControllerSearchModel
  - `Type` string[]
  - `Term` string
  - `SearchMode` 0 | 1 | 2 | 3 | 4

## Response `200`

OK

- RechnungsdruckWebAppControllersApiApiResultOfRechnungsdruckWebAppControllersApiSearchControllerSearchResultsModel
  - `ErrorMessage` string
  - `ErrorCode` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31
  - `ErrorDescription` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31
  - `Data` RechnungsdruckWebAppControllersApiSearchControllerSearchResultsModel
    - `Products` RechnungsdruckWebAppControllersApiSearchControllerProductResult[]
      - `Id` integer
      - `ShortText` string
      - `SKU` string
      - `Tags` string
    - `Orders` RechnungsdruckWebAppControllersApiSearchControllerOrderResult[]
      - `Id` integer
      - `ExternalReference` string
      - `BuyerName` string
      - `InvoiceNumber` string
      - `CustomerName` string
      - `ArticleTexts` string
    - `Customers` RechnungsdruckWebAppControllersApiSearchControllerCustomerResult[]
      - `Id` integer
      - `Name` string
      - `Addresses` string
      - `Number` string

---

[API](https://skmtc.dev/billbee/apis/billbee-api.md) · [All operations](https://skmtc.dev/billbee/apis/billbee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/billbee/billbee-api/revisions/e64f07f4f526/schema)
