curl --request GET \
--url https://api.light.inc/rest/ext/v1/customers
{
"total": 123,
"records": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"email": "<string>",
"address": {
"country": "UNDEFINED",
"city": "<string>",
"state": "<string>",
"zipcode": "<string>",
"street": "<string>",
"street2": "<string>"
},
"status": "ACTIVE",
"description": "<string>",
"vatNumber": "<string>",
"businessRegistrationNumber": "<string>",
"easCode": "<string>",
"einvoiceAddress": "<string>",
"einvoiceNetwork": "CII",
"type": "BUSINESS",
"logoUrl": "<string>",
"domain": "<string>",
"externalId": "<string>",
"externalSource": "HUBSPOT",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"customProperties": [
{
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"values": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"internalName": "<string>",
"label": "<string>",
"context": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
]
}
]
}
List customers
curl --request GET \
--url https://api.light.inc/rest/ext/v1/customers
{
"total": 123,
"records": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"email": "<string>",
"address": {
"country": "UNDEFINED",
"city": "<string>",
"state": "<string>",
"zipcode": "<string>",
"street": "<string>",
"street2": "<string>"
},
"status": "ACTIVE",
"description": "<string>",
"vatNumber": "<string>",
"businessRegistrationNumber": "<string>",
"easCode": "<string>",
"einvoiceAddress": "<string>",
"einvoiceNetwork": "CII",
"type": "BUSINESS",
"logoUrl": "<string>",
"domain": "<string>",
"externalId": "<string>",
"externalSource": "HUBSPOT",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"customProperties": [
{
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"values": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"internalName": "<string>",
"label": "<string>",
"context": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
]
}
]
}
"amount:desc,createdAt:asc"
"state:in:IN_DRAFT|SCHEDULED|PAID,amount:gte:500"
default response
The response is of type object
.