Zum Hauptinhalt springen

Get a customer profile

GET/customers/{customerId}/
v2
GET
customer-get-customer

Request

  • customerIdstring
    required

    The uuid of the customer to be returned

Responses

application/json

The customer object

  • activeSuspensionobject
    • createdAtstring (date-time)
      required
  • avatarRefIdstring
  • categoryIdstring
  • creationDatestring (date-time)
    required
  • customerIdstring
    required
  • customerNumberstring
    required
  • executingUserRolesarray of string (one of: owner, member, accountant)
    • Array[
    • *string (one of: owner, member, accountant)

      the role within a customer

    • ]
  • isBannedboolean
  • isInDefaultOfPaymentboolean
  • memberCountinteger (≥ 0)
    required
  • namestring
    required
  • ownerobject
    • addressobject
      required
      • streetstring
        required
      • houseNumberstring
        required
      • citystring
        required
      • zipstring
        required
      • countryCodestring
        required

        ISO 3166-1 alpha-2 country code

      • addressPrefixstring
    • companystring
    • emailAddressstring (email)
    • firstNamestring
    • lastNamestring
    • phoneNumbersarray of string
      • Array[
      • *string
      • ]
  • salutationstring (one of: mr, ms, other)
    required
  • titlestring
  • useFormalTermboolean
  • projectCountinteger (≥ 0)
    required
  • vatIdstring
  • vatIdValidationStatestring (one of: valid, invalid, pending, unspecified)
  • Usage examples

    $ curl \
    --fail \
    --location \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    https://api.mittwald.de/v2/customers/string