Customers
Responses
200Success
application/json
get
GET /v1/crm/customers HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"users": [
{
"firstName": "text",
"lastName": "text",
"email": "text",
"phone": "text",
"phoneCountry": "text",
"phoneCountryCalling": "text",
"number": "text",
"cityId": "text",
"birthDate": "text",
"gender": {},
"unsubscribed": true,
"internalNote": "text",
"archivedAt": "text",
"archivedBy": "text",
"archivedVia": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text"
}
],
"next": "text",
"query": {}
}
}
Body
Responses
200Success
application/json
post
POST /v1/crm/customers HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 227
{
"params": {
"firstName": "text",
"lastName": "text",
"email": "text",
"phone": "text",
"phoneCallingCode": "text",
"cityId": "text",
"birthDate": "text",
"gender": 1,
"passcode": "text",
"number": "text",
"unsubscribed": true,
"internalNote": "text"
}
}
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"succeed": true,
"id": "text"
}
}
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /v1/crm/customers/{id} HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"user": {
"firstName": "text",
"lastName": "text",
"email": "text",
"phone": "text",
"phoneCountry": "text",
"phoneCountryCalling": "text",
"number": "text",
"cityId": "text",
"birthDate": "text",
"gender": {},
"unsubscribed": true,
"internalNote": "text",
"archivedAt": "text",
"archivedBy": "text",
"archivedVia": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text"
}
}
}
Path parameters
idstringRequired
Body
Responses
200Success
application/json
patch
PATCH /v1/crm/customers/{id} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 213
{
"params": {
"id": "text",
"firstName": "text",
"lastName": "text",
"email": "text",
"phone": "text",
"cityId": "text",
"birthDate": "text",
"gender": 1,
"passcode": "text",
"number": "text",
"unsubscribed": true,
"internalNote": "text"
}
}
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"succeed": true
}
}
Path parameters
updatedSincestringRequired
offsetstringRequired
Responses
200Success
application/json
get
GET /v1/crm/customers/export HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"items": [
{
"firstName": "text",
"lastName": "text",
"email": "text",
"phone": "text",
"phoneCountry": "text",
"phoneCountryCalling": "text",
"number": "text",
"cityId": "text",
"birthDate": "text",
"gender": {},
"unsubscribed": true,
"internalNote": "text",
"archivedAt": "text",
"archivedBy": "text",
"archivedVia": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text"
}
],
"next": "text"
}
}
Was this helpful?