Clients

Update a client

put/clients/{id}

Request

  • Base URL: https://api.lumabill.ch/v1
  • URL: https://api.lumabill.ch/v1/clients/{id}
  • Auth: HTTP bearer

Request body

namestring required
emailstring email nullable
phonestring nullable
addressstring nullable
address_line2string nullable
citystring nullable
zipstring nullable
countrystring nullable
company_namestring nullable
vat_numberstring nullable

Example request

{
  "name": "Müller AG",
  "email": "info@mueller-ag.ch",
  "phone": "+41 44 123 45 67",
  "address": "Bahnhofstrasse 10",
  "city": "Zürich",
  "zip": "8001",
  "country": "CH",
  "company_name": "Müller AG",
  "vat_number": "CHE-123.456.789 MWST"
}

Response

Updated client

idstring uuid required
namestring required
emailstring email nullable
phonestring nullable
addressstring nullable
address_line2string nullable
citystring nullable
zipstring nullable
countrystring nullable

ISO 3166-1 alpha-2 country code

company_namestring nullable
vat_numberstring nullable
created_atstring date-time required

Example response

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "name": "Müller AG",
  "email": "info@mueller-ag.ch",
  "phone": "+41 44 123 45 67",
  "address": "Bahnhofstrasse 10",
  "address_line2": "c/o Treuhand Partner GmbH",
  "city": "Zürich",
  "zip": "8001",
  "country": "CH",
  "company_name": "Müller AG",
  "vat_number": "CHE-123.456.789 MWST",
  "created_at": "2025-01-15T10:30:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.