Zum Hauptinhalt springen
Version: API v1

Vertragspartner ändern

PUT/customers/{customerNumber}/contractpartner/
v1
PUT
updateCustomerContractPartner

Über diese Operation können die Vertragspartnerdaten eines Kunden geändert werden

Request

  • customerNumberinteger
    required

    Kundennummer

Responses

application/json

Vertragspartner eines Kunden

  • firstNamestring
    required

    Vorname

  • lastNamestring
    required

    Nachname

  • titlestring

    (Akademischer) grad

  • salutationstring
    required

    Grußformel, z.B. Herr oder Frau

  • companystring

    Firmenname, oder null

  • addressobject
    required
    • streetstring
      required

      Straße

    • houseNumberstring
      required

      Hausnummer

    • zipstring
      required

      PLZ

    • citystring
      required

      Stadt

    • countryobject
      required
      • isoShortstring
        required

        2-Zeichen-ISO-Name des Landes (z.B. DE)

      • isoLongstring
        required

        Langer ISO-Name des Landes (z.B. DEU)

      • euMemberboolean
        required

        true wenn dieses Land EU-Mitglied ist

      • nameobject
        required
        • destring
          required

          Deutscher Name

        • enstring
          required

          Englischer Name

  • contactobject
    required
    • telephonestring
      required
    • faxstring
    • emailstring (email)
      required

Usage examples

$ curl \
--fail \
--location \
-X PUT \
-d '{"firstName":"string","lastName":"string","title":"string","salutation":"Herr","street":"string","houseNumber":"string","zip":"string","city":"string","emailAddress":"email@mittwald.example","phone":"string","fax":"string","country":"string","vat":"string"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v1/customers/123/contractpartner