Skip to main content

Create a new customer profile

POST /v2/customers/
v2
POST
customer-create-customer

Request

Responses

application/json

The new customer

  • customerIdstring
    required
  • customerNumberstring
    required
  • namestring
    required

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"name":"string","owner":{"address":{"street":"Königsberger Straße","houseNumber":"4-6","city":"Espelkamp","zip":"32339","countryCode":"DE","addressPrefix":"c/o Ada Lovelace"},"company":"string","emailAddress":"email@mittwald.example","firstName":"string","lastName":"string","phoneNumbers":["string"],"salutation":"mr","title":"string","useFormalTerm":true},"vatId":"string"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/customers