Retrieve a customer by id
GET
/rest/v1/customers/{id}
Request
Authorization
Add parameter in header
api-key
Example:
api-key: ********************
Path Params
id
string
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.logictrade.cloud/rest/v1/customers/' \
--header 'api-key;'
Responses
🟢200OK
application/json
Body
id
integer
read-onlyrequired
number
string
read-onlyoptional
gender
string
optional
title
string
optional
initials
string
optional
firstName
string
optional
infix
string
optional
lastName
string
optional
companyName
string
optional
cocNumber
string
optional
vatNumber
string
optional
phoneNumber
string
optional
phoneNumber2
string
optional
mobileNumber
string
optional
email
string
optional
remark
string
optional
address
object
optional
name
string
optional
street
string
optional
houseNumber
string
optional
zipCode
string
optional
city
string
optional
country
string
optional
phoneNumber
string
optional
invoiceAddress
object
optional
name
string
optional
street
string
optional
houseNumber
string
optional
zipCode
string
optional
city
string
optional
country
string
optional
phoneNumber
string
optional
deliveryAddress
object
optional
name
string
optional
street
string
optional
houseNumber
string
optional
zipCode
string
optional
city
string
optional
country
string
optional
phoneNumber
string
optional
newsLetter
boolean
optional
externNumbers
object
optional
number1
string
optional
number2
string
optional
number3
string
optional
birthdate
string <date>
optional
modifiedDate
string <date-time>
optional
createdDate
string <date-time>
optional
Example
{
"id": 14,
"number": "R0000016",
"gender": "male",
"title": "Dhr.",
"initials": "J.",
"firstName": "Jan",
"lastName": "Jansen",
"mobileNumber": "06-12345678",
"email": "jan@jansen.com",
"remark": "Niet beschikbaar op maandag en dinsdag!",
"address": {
"street": "Wethouder Buitenhuisstraat",
"houseNumber": "2B",
"zipCode": "7951 SM",
"city": "Staphorst",
"country": "NL"
}
}
🟠401Unauthorized
🟠404Record Not Found
Modified at 2024-08-08 07:49:09