Skip to main content

Update a customer profile

PUT /v2/customers/{customerId}/
v2
PUT
customer-update-customer

Request

  • customerIdstring
    required

Responses

application/json

Name and id of the updated customer

  • customerIdstring
    required
  • customerNumberstring
    required
  • namestring
    required

Usage examples

$ curl \
--fail \
--location \
-X PUT \
-d '{"customerId":"string","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/string