Skip to main content
GET
/
customers
/
{id}
Get customer
curl --request GET \
  --url http:localhost:3000/v2/customers/{id} \
  --header 'x-API-Key: <api-key>'
{
  "_id": "<string>",
  "number": 1001,
  "companyId": "<string>",
  "status": {
    "status": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "lastModifiedAt": "2023-11-07T05:31:56Z",
    "lastModifiedBy": "<string>"
  },
  "chatId": "<string>",
  "name": "ABC Cleaning Services GmbH",
  "contactPerson": "John Doe",
  "address": {
    "street": "<string>",
    "zip": "<string>",
    "city": "<string>",
    "country": "<string>",
    "co": "<string>",
    "state": "<string>"
  },
  "contact": {
    "telephone": "+1-555-123-4567",
    "mobile": "+1-555-987-6543",
    "email": "contact@company.com",
    "sms": "+1-555-111-2222",
    "smsCount": 5,
    "smsChatCount": 12,
    "smsSendDate": "2024-01-15T10:30:00Z",
    "smsSendBy": "user123",
    "website": "https://www.company.com",
    "lastSMSStatus": "delivered",
    "secondSmsSendDate": "2024-01-16T14:45:00Z"
  },
  "contract": {},
  "invoiceRecipientId": "<string>",
  "invoiceCCRecipientIds": [
    "<string>"
  ],
  "hideRecipientOnDocuments": false,
  "buyerReference": "04011000-1234512345-12",
  "orderReferenceId": "SUP-12345",
  "vatNumber": "DE123456789",
  "debitorNumber": "DEB-001",
  "paymentTermId": "<string>"
}

Authorizations

x-API-Key
string
header
required

Path Parameters

id
string<objectid>
required

Customer ID

Response

Customer details

Customer entity representing a client company or individual who receives services Base class for all entities that can have a chat associated with them. Base class for all entities in the system, providing common properties and methods.

number
integer
required

Customer number (auto-generated if not provided) Unique number of the entity, used for identification

Example:

1001

name
string
required

Customer name or company name

Example:

"ABC Cleaning Services GmbH"

_id
string<objectid>

Unique identifier for the customer Unique identifier of the entity

contactPerson
string

Main contact person name

Example:

"John Doe"

address
object

Address

contact
object

Contact information structure containing phone numbers, email, SMS details, and website

contract
object

Contract information and terms

invoiceRecipientId
string<objectid> | null

User ID who should receive invoices

invoiceCCRecipientIds
string<objectid>[]

User IDs who should receive invoice copies

hideRecipientOnDocuments
boolean
default:false

Whether to hide recipient information on documents

buyerReference
string | null

XRechnung Leitweg-ID for electronic invoicing

Example:

"04011000-1234512345-12"

orderReferenceId
string | null

XRechnung supplier number (Lieferantennummer)

Example:

"SUP-12345"

vatNumber
string | null

Customer VAT number

Example:

"DE123456789"

debitorNumber
string | null

Custom debitor number (overwrites customer number for accounting)

Example:

"DEB-001"

paymentTermId
string<objectid> | null

Payment term ID that overwrites company default for invoices

chatId
string<objectid> | null

Chat session ID for customer communications ID of the chat associated with this entity

companyId
string<objectid>

The ID of the company this entity belongs to

status
object

Entity Status information