Vendors

Create a vendor

post/vendors

Request

  • Base URL: https://api.lumabill.ch/v1
  • URL: https://api.lumabill.ch/v1/vendors
  • Auth: HTTP bearer

Request body

namestring required
emailstring email nullable
addressstring nullable
citystring nullable
zipstring nullable
countrystring nullable
vat_numberstring nullable

Example request

{
  "name": "Bürobedarf Meier GmbH",
  "country": "CH"
}

Response

Vendor created

idstring uuid required
namestring required
emailstring email nullable
addressstring nullable
citystring nullable
zipstring nullable
countrystring nullable
vat_numberstring nullable
created_atstring date-time required

Example response

{
  "id": "d4e5f6a7-4567-89ab-def0-123456789012",
  "name": "Bürobedarf Meier GmbH",
  "email": "rechnung@meier-buero.ch",
  "address": "Industriestrasse 5",
  "city": "Bern",
  "zip": "3001",
  "country": "CH",
  "vat_number": "CHE-987.654.321 MWST",
  "created_at": "2025-02-01T08:00:00Z"
}

Changes

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