Skip to main content
POST
/
v2
/
mobility
/
customers
Kunde erstellen
curl --request POST \
  --url https://api.business-os.de/v2/mobility/customers \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "Mustermann GmbH",
  "street": "Musterstraße 1",
  "postal_code": "50667",
  "city": "Köln"
}
'
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "mobilitybox_customer_id": "mb_cust_abc123",
  "name": "Mustermann GmbH",
  "address_lines": {
    "street": "Musterstraße 1",
    "postal_code": "50667",
    "city": "Köln"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Dein Business OS API Key. Erstelle einen unter app.business-os.de → API Keys.

Body

application/json
name
string
required

Name des Unternehmens

Example:

"Mustermann GmbH"

street
string

Straße und Hausnummer

Example:

"Musterstraße 1"

postal_code
string

Postleitzahl

Example:

"50667"

city
string

Stadt

Example:

"Köln"

Response

Kunde erstellt

Ein Kunde (Unternehmen) für die Ticket-Zuordnung

id
string<uuid>

Kunden-ID

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

organization_id
string<uuid>

Organisations-ID

mobilitybox_customer_id
string | null

Mobility Box Kunden-ID

Example:

"mb_cust_abc123"

name
string

Name des Unternehmens

Example:

"Mustermann GmbH"

address_lines
object

Adressdaten

created_at
string<date-time>

Erstellungszeitpunkt

updated_at
string<date-time>

Letzter Änderungszeitpunkt