Skip to main content
GET
/
customer
Get customer
curl --request GET \
  --url https://api.maalbar.dk/customer \
  --header 'X-Api-Key: <api-key>'
{
  "publicId": "cus_xxxxxxxxxxxx",
  "name": "<string>",
  "website": "<string>",
  "address": "<string>",
  "zip": "<string>",
  "city": "<string>",
  "country": "<string>",
  "turnover": 123,
  "turnoverYear": "<string>",
  "turnoverCurrency": "<string>",
  "vat": "<string>"
}

Authorizations

X-Api-Key
string
header
required

Response

Successful response

publicId
string
required
Required string length: 16
Example:

"cus_xxxxxxxxxxxx"

name
string
required
website
string | null
required
address
string | null
required
zip
string | null
required
city
string | null
required
country
string | null
required
turnover
number | null
required
turnoverYear
string | null
required
turnoverCurrency
string | null
required
vat
string | null
required