Diese Ressource erstellt einen Kunden.

Request

POST https://api.mittwald.de/v1/customers

Request-Body

The request body takes a complete CreateCustomerRequest resource, containing the following writable properties:

{
    "billingAddress": {
        "vat": "string"
    },
    "contactPerson": {},
    "contractPartner": {
        "city": "string",
        "company": "string",
        "country": "string",
        "emailAddress": "email",
        "fax": "string",
        "firstName": "string",
        "houseNumber": "string",
        "lastName": "string",
        "phone": "string",
        "salutation": "string",
        "street": "string",
        "title": "string",
        "zip": "string"
    },
    "paymentSettings": {}
}

Properties

Name Typ Beschreibung Weiteres
billingAddress object OptionalContactWithTaxID Optional
billingAddress.vat string

Umsatzsteuer-ID

Optional
contactPerson object OptionalContactWithPhone Optional
contractPartner object ContactWithPhone
contractPartner.city string
contractPartner.company string Optional
contractPartner.country string

iso country short code (ISO 3166-1 alpha-2)

contractPartner.emailAddress email
contractPartner.fax string Optional
contractPartner.firstName string
contractPartner.houseNumber string
contractPartner.lastName string
contractPartner.phone string
contractPartner.salutation string

Mögliche Werte sind:

  • Herr
  • Frau
  • Mr.
  • Ms.
contractPartner.street string
contractPartner.title string Optional
contractPartner.zip string of integer
paymentSettings object PaymentSettings Optional

Response

Diese Operation kann mit den folgenden HTTP-Statuscodes antworten:

Statuscode Beschreibung Ressource
201 Created

Die Logindaten des Kunden

CreateCustomerResponse

Explore this API

customerData

The request

Request Content-Type
Response Content-Type
Try it out!